The _________ special variable in a shell script provides an option for random number generation.
- $RANDOM
- $PID
- $USER
- $HOME
The $RANDOM special variable in a shell script provides an option for random number generation. You can use $RANDOM to generate random integers within a specific range. It's commonly used for tasks like creating random passwords or simulating randomness in scripts.
Loading...
Related Quiz
- Which command is used to load kernel modules manually?
- What is the primary function of kernel modules in Linux?
- In the context of disk partitions, what does LVM stand for?
- To see the history of commands executed in the terminal, you would use the ________ command.
- Which component of the Linux boot process loads the main system kernel?