unix command
1. to display total number of word and line of files which file name started with m in cygwin find /path/to/directory -type f -name "m*" | xargs wc -w -l 2. to remove all leading space from a file f1 sed -i 's/^ *//' f1 to display line number before each line nl -ba f1 write shell script to print number in reverse order it should support following requirement -script should input from command line and if you don't input any data then display error message to execute the script correctly if [ $# -eq 0 ]; then echo "Error: Please provide numbers as command line arguments." echo "Usage: $0 <number1> <number2> ..." exit 1 fi echo "Numbers in reverse order:" for ((i=$#; i>0; i--)); do echo "${!i}" done AWK How to see column 2 or 3? awk '{print $2}' file_name How to see multiple coulumns? awk '{print $2,$3}' file_name How to see last column? awk '{print $NF}' file_name H...