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
Explain about login shell?
What exactly is a shell?
What is shell variable?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
Is shell scripting difficult?
How do I run a shell script on a mac?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
How to get the first line from a file using just the terminal?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
What is c in shell script?
What is shell terminal?
What is a shell environment?
What are zombie processes?
Why is used in shell scripting?
What is meant by $1 in shell script?