Professional Documents
Culture Documents
Its mainly used for showing up all params. This show all parameter values passed in shell script
Export LANG=C
will make the variable LANG the global variable, put it into the global environment. All other processes can
use it.
LANG=C
will change the value only in the current script.
How will you list only the empty lines in a file (using
grep)?
grep “^$” filename.txt
This command will find all the files under root, which is ‘/’, with file type is file. ‘-atime -30′
will give all the files accessed less than 30 days ago. And the output will put into a file call
December.files.