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