mount /dev/sda9 "$games"
As mentioned, always quote variable dereferences. Otherwise, the shell confuses the spaces in the variable’s value as spaces separating multiple values.
More Related Contents:
- How to reload .bashrc settings without logging out and back in again?
- How to trick an application into thinking its stdout is a terminal, not a pipe
- How do I edit $PATH (.bash_profile) on OS X?
- Can colorized output be captured via shell redirect? [duplicate]
- VSCode Change Default Terminal
- How to delete and replace last line in the terminal using bash?
- How to remove (base) from terminal prompt after updating conda
- What does it mean in shell when we put a command inside dollar sign and parentheses: $(command)
- How to Batch Rename Files in a macOS Terminal?
- How do I make this file.sh executable via double click?
- LINES and COLUMNS environmental variables lost in a script
- How to send email from Terminal?
- Error message on Terminal launch [duplicate]
- Signals received by bash when terminal is closed
- Temporarily change current working directory in bash to run a command [duplicate]
- Why doesn’t my terminal output unicode characters properly?
- Input data to a shell script [closed]
- How to escape single quotes within single quoted strings
- How can I add numbers in a Bash script?
- How to append output to the end of a text file
- Why does my Bash counter reset after while loop
- How do you run a command eg chmod, for each line of a file?
- How do I use a file grep comparison inside a bash if/else statement?
- Value too great for base (error token is “08”) [duplicate]
- How to do a logical OR operation for integer comparison in shell scripting?
- What expands to all files in current directory recursively?
- Looping through all files in a directory [duplicate]
- sed replace with variable with multiple lines [duplicate]
- How can I shortern my command line prompt’s current directory?
- How to redirect a program that writes to tty?