Shell scripting prerequisite #4
Different was of inputting , outputting , redirecting ,concatenation of commands and there o/p's.
These are so mandatory , i need not write more about it .
{ My friends said don't write, the "abc" of anything , try to reach the"xyz" }
Never the less , my creativity can be shared with you when it comes to hard core coding.
Most common symbols you come across are : "","|"
"<" ===>Used to redirect output to a file .
">" ===>Used to read input from a file.
"|" ===>Used to input the output of the command chain.
">>"==>Used to append to a file.
In depth :
standard input 0<
standard output 1>
standard error 2>
Special files: /dev/null and /dev/tty
/dev/null ,takes in everything,usd to get the commands exit status but not the output .
/dev/tty , useful for reading input from keyboard.
These are so mandatory , i need not write more about it .
{ My friends said don't write, the "abc" of anything , try to reach the"xyz" }
Never the less , my creativity can be shared with you when it comes to hard core coding.
Most common symbols you come across are : "","|"
"<" ===>Used to redirect output to a file .
">" ===>Used to read input from a file.
"|" ===>Used to input the output of the command chain.
">>"==>Used to append to a file.
In depth :
standard input 0<
standard output 1>
standard error 2>
Special files: /dev/null and /dev/tty
/dev/null ,takes in everything,usd to get the commands exit status but not the output .
/dev/tty , useful for reading input from keyboard.
Recent blog posts
- watir-webdriver web inspector
- gem list to gemfile
- Packing ruby2.0 on debian.
- Made it into The Guinness Book!
- to_h in ruby 2.0
- Filter elements by pattern jQuery.
- Better HTML password fields for mobile ?
- Grayscale image when user offline
- nth-child CSS pseudo-class Christmas colors
- EventEmitter in nodejs