Solaris Interview Questions and Answers

By | May 31st, 2013|Operating Systems, Solaris|

List the files in current directory sorted by size ? - ls -l | grep ^- | sort -nr List the hidden files in current directory ? - ls -a1 | grep "^." Delete blank lines in a file ? - cat sample.txt | grep -v ‘^$’ > new_sample.txt Search for a sample string in [...]