Unix Questions and Answers
The Unix operating system is a powerful, multitasking platform widely used in computing environments. Knowledge of Unix commands, file handling, and process management is vital for students and professionals preparing for programming questions and answers in technical interviews and campus placements at TCS, IBM, and Tech Mahindra. This guide includes Unix MCQs and problem-solving examples that focus on shell scripting, permissions, and file system hierarchy. Practicing these questions improves command-line fluency and builds the foundation for advanced OS and system administration roles.
Unix
Showing 10 of
49 questions
42. The second set of the three permissions (r-) indicates that
- group has read permission only
- other has read permission only
- owner has read permission only
- group has write permission only
43. Which column contains all details of the permissions of a file when you issue the ls -l command?
- second
- fourth
- third
- first
44. Which of the following commands is used to display your working directory?
- dir
- prompt $p$g
- pwd
- path
45. While working with mail command, which command is used to save mail i a separate file?
- s
- r
- w
- d
48. Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?
- -m.n
- +m.n
- + n.m+1
- +(m+l).n
49. The cp command uses:
- standard input file
- standard output file
- both input and output file
- neither standard input nor standard output file