#!/bin/bash echo "What's your name? " read Name echo "Input name: $Name"
#!/bin/bash echo "Hello World!" > temp.txt # redirect content to a file echo "`date`">> temp.txt # append content to a file
#!/bin/bash # To discard both output of a command and its error output # 0, STDINPUT # 1, STDOUTPUT # 2, STDERR ls > /dev/null 2>&1
#!/bin/bash ls | wc -l