Basic Linux Command Test
Basic Linux Command Test
17- The Sample.txt file contain 100 lines and 300 words, write a Linux command to get the
following?
Number of lines in the sample file. ---
Number of 'the' word in the sample file. ----
18- How to search multiple patterns(e.g. oracle, Hadoop, mysql) in a text file. Please write a
single command.
23. How to identify 15 days old files and delete them in single command ?
24. What is the use of date, cal, whoami, pwd, cd, mkdir, cut, and sort commands ?