Question
Which command is used to display the first few lines of a file?
More Shell Scripting Questions
- What does $# represent in a shell script?
- In bash, what does trap 'echo Exit' EXIT do?
- Which construct allows embedding a block of text in shell scripts as input?
- Which Linux command is used to change the read, write, and execute permissions of a file or directory?
- Which command will read input line-by-line from a file in a shell script?
- In a POSIX shell script, which construct correctly tests whether variable x is an empty string?
- In Bash, which syntax is used for arithmetic expansion?
- Which command is used to display the current working directory?
- Which operator is used to append output to a file?
- 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...
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)