In a Bash pipeline, if you must ensure a command failure inside the pipe is detected, which shell option is
Continue readingCategory: 0. BLOG
Your blog category
Chapter 8: Unix and Linux Operating Systems (Set-9)
When you need to search inside many files under a directory tree for a word like “error”, which approach is
Continue readingChapter 8: Unix and Linux Operating Systems (Set-8)
In Linux, which command shows the full path to the current user’s home directory variable quickly A echo $PATH B
Continue readingChapter 8: Unix and Linux Operating Systems (Set-7)
In Unix/Linux, what term best describes a command-line interface program that reads commands and runs them A Shell program B
Continue readingChapter 8: Unix and Linux Operating Systems (Set-6)
On a Linux terminal, which key usually auto-completes commands and file names to reduce typing A Enter key B Tab
Continue readingChapter 8: Unix and Linux Operating Systems (Set-5)
When a script must discard both normal output and error output safely, which special device file is most appropriate A
Continue readingChapter 8: Unix and Linux Operating Systems (Set-4)
In Linux file management, which command safely removes a directory and all its contents recursively A rm -r B rmdir
Continue readingChapter 8: Unix and Linux Operating Systems (Set-3)
In a Linux long listing, which command option commonly shows permissions, owner, group, and size together A ls -a option
Continue readingChapter 8: Unix and Linux Operating Systems (Set-2)
In Linux, which command quickly shows the currently logged-in username in the terminal A uname command B whereis command C
Continue readingChapter 8: Unix and Linux Operating Systems (Set-1)
In Linux, which core component directly manages hardware resources and provides basic system services to programs A GNOME desktop B
Continue reading