Question
Which command is used to display the first few lines of a file?
More Shell Scripting Questions
- Which symbol is used for variable substitution in shell scripting?
- Which operator is used to append output to a file?
- How do you check the exit status of the last executed command in a shell?
- Given that exactly 4 'httpd' processes are currently running on a Linux system, what will the command 'ps aux | grep httpd | wc -l' most likely output, and...
- Which command is used to display the last few lines of a file?
- Which command displays the manual page for another command?
- Which command is used to search text patterns in files?
- In Bash, which syntax is used for arithmetic expansion?
- In shell scripting, which command is used to read input from the user?
- Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)