Questions and Answers
Which command is used to create a new session in Tmux?
$ tmux new-session
What is the shortcut to exit a Tmux session?
Ctrl+B, D
Which plugin is used to restore a Tmux session after a restart?
tmux-resurrect
Which command is used to edit multiple files simultaneously with sed?
Signup and view all the answers
What is the purpose of the -n option in sed?
Signup and view all the answers
Which command is used to delete lines containing a specific pattern in sed?
Signup and view all the answers
Which command is used to search for lines that start with 'apple' in a file using grep?
Signup and view all the answers
What does the metacharacter '.' represent in regular expressions?
Signup and view all the answers
Which command is used to print the second column of a space-separated file using awk?
Signup and view all the answers
Which command is used to delete blank lines in a file named 'old.txt'?
Signup and view all the answers
Which command is used to remove a file named '*'?
Signup and view all the answers
What is the default delimiter in awk?
Signup and view all the answers
Which operator in awk is used for exponentiation?
Signup and view all the answers
Which awk variable refers to the entire record?
Signup and view all the answers
What is the basic format of a conditional statement in awk?
Signup and view all the answers