Byexamples - linux.byexamples.com - Linux by Examples
General Information:
Latest News:
copy files and create the directories if it doesn’t exist 3 Jun 2011 | 09:01 pm
It always have a need for this simple operation. I wanna copy certain files to a destination, but I wanna preserved the sub directories structure, any cp option to set? For examples, I wanna copy my_...
copy files and create the directories if it doesn’t exist 3 Jun 2011 | 05:01 pm
It always have a need for this simple operation. I wanna copy certain files to a destination, but I wanna preserved the sub directories structure, any cp option to set? For examples, I wanna copy my_p...
Your XML friend XPATH command line xmllint 5 Mar 2011 | 04:23 pm
Do you have a large XML to analyze? to query for info? Maybe you are using a XML viewer, a string search for that. But if your XML have a proper structure and you have understand enough for the struct...
Your XML friend XPATH command line xmllint 5 Mar 2011 | 11:23 am
Do you have a large XML to analyze? to query for info? Maybe you are using a XML viewer, a string search for that. But if your XML have a proper structure and you have understand enough for the struct...
export environment variable from a bash script 1 Feb 2011 | 04:31 pm
You may want to create a bash script that export some environment variable for your shell, but infect every execution of bash script is a unique session, where the variable export within it can’t be c...
export environment variable from a bash script 1 Feb 2011 | 11:31 am
You may want to create a bash script that export some environment variable for your shell, but infect every execution of bash script is a unique session, where the variable export within it can’t be c...
Why ‘export’ if i could just direct assign the variables in bash? 25 Jan 2011 | 06:51 am
I can direct assign value to a variable in my bash shell why I still need the command ‘export’ ? What is the different between them? If you have doubts about this, please continue to read on it. Let...
Why ‘export’ if i could just direct assign the variables in bash? 25 Jan 2011 | 01:51 am
I can direct assign value to a variable in my bash shell why I still need the command ‘export’ ? What is the different between them? If you have doubts about this, please continue to read on it. Lets ...
config file for your bash script 22 Jan 2011 | 06:48 am
Sometime you may wish to create a bash script to do something based on a config file, what actually was in your mind? How to implement the config file for your bash script? First I think of using com...
config file for your bash script 22 Jan 2011 | 01:48 am
Sometime you may wish to create a bash script to do something based on a config file, what actually was in your mind? How to implement the config file for your bash script? First I think of using comm...