How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh".
Appreciate your inputs.Thanks.
Answer Posted / abc
For single file, you can do following command;
mv "interview question.sh" interview-question.sh
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is gui scripting?
Where are cowrie shells found?
What are the four fundamental components of every file system on linux?
What is an inode block?
What is shell and shell script?
What happens on a system call?
What is shell company all about?
What is meant by dos operating system?
What is the fastest scripting language?
Explain about "s" permission bit in a file?
What is the use of "$#" in shell scripting?
Can you write a script to portray how set –x works?
What is the way to do multilevel if-else's in shell scripting?
How do we delete all blank lines in a file?
How to get the last line from a file using just the terminal?