Question
Named pipes (FIFOs) are created
using:Solution
mkfifo filename creates a FIFO special file.
Which operator is used to append output to a file?
If a program needs to read data from a file, which system call would it typically use?
How do you access the value of a variable named `USERNAME` in a shell script?
Which construct allows embedding a block of text in shell scripts as input?
Which operator is used for string equality comparison within `test` or `[` commands in shell scripting?
Which command is used to read user input from the keyboard and store it in a variable?
Which symbol is used to make a script executable in Linux?
In shell scripting, $1 represents:
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
Which statement correctly defines a variable in shell scripting?