Question
In shell scripting, which symbol is used to redirect the standard output to a file, overwriting its contents?
More Shell Scripting Questions
- On a Linux system the umask is set to 027. What permissions will a newly created regular file have (the default creation mode for files is 666)?
- Which command is used to display the last 10 lines of a file in Linux?
- Which command will read input line-by-line from a file in a shell script?
- Which command is used to change file permissions in Linux?
- A Here-Document in shell is denoted by:
- Which command is used to find the number of lines, words, and characters in a file?
- In shell scripting, $1 represents:
- Which command is used to display the contents of a file in Linux?
- Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
- Extended globbing in bash allows:
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)