Question: 1 . When you give Linux commands like cat ( to read a file ) , the dash - is interpreted to signify a flag.
When you give Linux commands like cat to read a file the dash is interpreted to signify a flag. ie ls l
So how do you read a file named Try giving the absolute path to the file.
If you try to use the command:
cat spaces in this filename
Linux will think you're trying to read four separate files: spaces, in this, and filename.
Your task is to figure out how to tell Linux that this is just one single file name, even though it has spaces.
Hint: Use quotes or escape the spaces to let Linux know the entire phrase is the name of one file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
