Podcast
Questions and Answers
Which command is used to start a new tmux session?
Which command is used to start a new tmux session?
- $ tmux kill-session -t
- $ tmux attach -t
- $ tmux new-session (correct)
- $ tmux ls
What is the purpose of using sed in the UNIX environment?
What is the purpose of using sed in the UNIX environment?
- To automate edits (correct)
- To list terminal sessions
- To clear the screen
- To install tmux
What does the command 'sed -i 's/old/new/g' *.txt' do?
What does the command 'sed -i 's/old/new/g' *.txt' do?
- Creates a new file named '*.txt'
- Lists all files with the extension '.txt'
- Deletes all files with the extension '.txt'
- Replaces the word 'old' with 'new' in all files with the extension '.txt' (correct)
Which command is used to list files that don't match filea, fileb, or filec?
Which command is used to list files that don't match filea, fileb, or filec?
What is the purpose of using quotes in shell scripting?
What is the purpose of using quotes in shell scripting?
Which command is used to substitute a pattern with a replacement in a file using sed?
Which command is used to substitute a pattern with a replacement in a file using sed?
Which command is used to delete lines containing a specific pattern in a file using sed?
Which command is used to delete lines containing a specific pattern in a file using sed?
Which command is used to obtain command arguments from another command's output?
Which command is used to obtain command arguments from another command's output?
Which command is used to append text after lines containing a specific pattern in a file using sed?
Which command is used to append text after lines containing a specific pattern in a file using sed?
What is the purpose of the '$$' special variable in shell scripting?
What is the purpose of the '$$' special variable in shell scripting?
Which command is used to insert text before lines containing a specific pattern in a file using sed?
Which command is used to insert text before lines containing a specific pattern in a file using sed?
Which command is used to terminate a process with a specified pid?
Which command is used to terminate a process with a specified pid?
What does the SIGHUP signal indicate?
What does the SIGHUP signal indicate?
What does the 'disown' command do?
What does the 'disown' command do?
What is the default behavior for the SIGHUP signal?
What is the default behavior for the SIGHUP signal?
Which command is used to create a new window in tmux?
Which command is used to create a new window in tmux?
What is the purpose of the 'sed' command in the UNIX environment?
What is the purpose of the 'sed' command in the UNIX environment?
What is the purpose of the 'tmux-resurrect' plugin?
What is the purpose of the 'tmux-resurrect' plugin?
Which command is used to assign input to variables in shell scripting?
Which command is used to assign input to variables in shell scripting?
What is the purpose of the 'expr' command in shell scripting?
What is the purpose of the 'expr' command in shell scripting?
What is the purpose of the 'bg' command in UNIX?
What is the purpose of the 'bg' command in UNIX?
What is the purpose of the 'time' command in UNIX?
What is the purpose of the 'time' command in UNIX?
Which command is used to run a command in the background in a shell script?
Which command is used to run a command in the background in a shell script?
What is the purpose of the 'nice' command in Unix-like OS?
What is the purpose of the 'nice' command in Unix-like OS?
What is the default niceness value in Unix-like OS?
What is the default niceness value in Unix-like OS?
What is the effect of having a higher niceness value on a process's CPU time?
What is the effect of having a higher niceness value on a process's CPU time?
Which command is used to delete empty lines in a file using sed?
Which command is used to delete empty lines in a file using sed?
What does the command 'grep '^apple' file.txt' do?
What does the command 'grep '^apple' file.txt' do?
What does the command 'awk '{print $2}' file.txt' do?
What does the command 'awk '{print $2}' file.txt' do?
What is the purpose of using the '-n' option with sed?
What is the purpose of using the '-n' option with sed?
Which command is used to start a new tmux session?
Which command is used to start a new tmux session?
Which command is used to terminate a tmux session with a specified session name?
Which command is used to terminate a tmux session with a specified session name?
Which command is used to create a new window in tmux?
Which command is used to create a new window in tmux?
Which command is used to assign input to variables in shell scripting?
Which command is used to assign input to variables in shell scripting?
What is the purpose of using quotes in shell scripting?
What is the purpose of using quotes in shell scripting?
What does the command 'grep' do in the UNIX environment?
What does the command 'grep' do in the UNIX environment?
What is the purpose of the 'bg' command in UNIX?
What is the purpose of the 'bg' command in UNIX?
Which command is used to delete lines containing a specific pattern in a file using sed?
Which command is used to delete lines containing a specific pattern in a file using sed?
Which command is used to append text after lines containing a specific pattern in a file using sed?
Which command is used to append text after lines containing a specific pattern in a file using sed?
What is the purpose of using quotes in shell scripting?
What is the purpose of using quotes in shell scripting?
What does the command 'grep '^apple' file.txt' do?
What does the command 'grep '^apple' file.txt' do?
Which command is used to run a command in the background in a shell script?
Which command is used to run a command in the background in a shell script?
What is the purpose of the 'nice' command in Unix-like OS?
What is the purpose of the 'nice' command in Unix-like OS?
What does the SIGHUP signal indicate?
What does the SIGHUP signal indicate?
What is the effect of having a higher niceness value on a process's CPU time?
What is the effect of having a higher niceness value on a process's CPU time?
Which command is used to change the priority of a running process in Linux?
Which command is used to change the priority of a running process in Linux?
What is the range of niceness values in UNIX for representing process priority?
What is the range of niceness values in UNIX for representing process priority?
What is the default behavior of the SIGHUP signal in UNIX?
What is the default behavior of the SIGHUP signal in UNIX?
What is the purpose of the 'disown' command in UNIX?
What is the purpose of the 'disown' command in UNIX?
Flashcards are hidden until you start studying