Q1. command for finding the number of files in /usr/sbin. The output must be single integer.
Q2. List the misspelled words in /usr/share/doc/HTML/en_US/index.html file.
Q3. How many times does each misspelled word appear?
Q4. Print /etc/passwd line for any account that starts with the letter g
Q5. Print number of lines in /etc/passwd file
Q6. Print only the list of user only from /etc/passwd file
Q7. Print the /etc/passwd line for any account that is using a bash shell
Q8. Print all accounts from /etc/passwd not using bash shell
Q9. Print a list of files in /etc/ that contain the word root. Display only the file names, not the matches, do not print any errors.
Q10. Print the shell being used by user root. only print the shell.
Q11. Display the first 3 lines of /etc/passwd file
No comments:
Post a Comment