Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Unix Questions
On Unix/Linux systems, which command prints the absolute path of your current working directory in the shell?
Which ls option lists files ordered by modification time (most recent first) in the current directory?
With grep, which anchor matches the literal pattern 'pat' only at the beginning of a line in a text file?
In Unix/Linux, what is the name of the interface that sits between the user and the operating system kernel, interpreting commands and launching programs?
Which chmod command removes read permission on the file 'note' for both the group and others, without changing any other bits?
In Unix/Linux, when using the long listing format (ls -l), which column shows the complete file permission string and file type indicator?
On Unix/Linux, which command compares two files byte by byte to report the first difference or confirm they are identical?
In the vi editor, what does pressing the % key do during text navigation and code editing?
UNIX Text Sorting Basics Which command sorts the lines of a text file into ascending (alphabetical) order by default?
vi Editor: Replace Text from the Cursor Forward In the standard vi editor, which command puts you into overwrite (replace) mode so that typing replaces existing text from the cursor to the right?
UNIX Filters: Identifying Stream-Processing Commands Which of the following is not a filter (i.e., a command commonly used in pipelines to read from standard input and write to standard output)?
UNIX Copying Multiple Files to a Sibling Directory From inside the programs directory, which command copies the three files wb, collect, and mon into the sibling directory ../misc while keeping their names?
Where Core UNIX User Commands Reside In a typical UNIX filesystem layout, where are common commands such as date, ls, and cat stored?
Listing Files: Indicators and Multi-Column Output Which ls invocation displays file names in multiple columns and appends indicators to classify entries (e.g., / for directories, * for executables)?
Navigating Up One Directory Level in UNIX Shells Which command changes the current working directory to its parent (one level up)?
UNIX vi editor: Which :set option enables on-screen line numbers for every line while editing (for example, to assist with navigation and referencing specific lines)?
Linux/UNIX file listing: Which command lists all files whose names end with the extension “.lst”, showing a detailed long listing for each match?
UNIX shells history: Which shell was the earliest and became the most widely used default shell on classic UNIX systems?
vi/vim search navigation: In the vi editor, which single-character command initiates a forward search for a text pattern from the current cursor position?
Multi-user UNIX: Which command displays information about all users who are currently logged in to the system (terminals or sessions)?
1
2
3
4
5
6
7