Tweeter buttonFacebook buttonLinkedin button

Archive for the 'BASH' Category

BASH inter field separator (IFS)

Example: export IFS=$’\n’ for i in $(find .); do echo LEXO$i done It work better for me under GNU/Linux Slackware, but is reported that under GNU/Linux Ubuntu it doesn’t work and the change for it is: Example: export IFS=$’ ‘ # in the second line, generating the newline for i in $(find .); do echo [...]

BASH I/O stdout, stdin, and stderr

Some times we don’t want that command print out messages, and we need to clean all out messages (error or standard out) that it generates. For to solve this, we are going to use the I/O facility provided by BASH. BASH provide 3 file descriptors, and they are: 0 – stdin – Used for get [...]


Slideshow

Get the Flash Player to see the slideshow.

 

July 2010
M T W T F S S
« May    
 1234
567891011
12131415161718
19202122232425
262728293031