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
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
Why should we use shell scripts?
What will happen to my current process when I execute a command using exec?
What language is used in terminal?
What is meant by $1 in shell script?
How to print pid of the current shell?
How do I save a powershell script?
What are the default permissions of a file when it is created?
What is a file basename?
How do I run a bin bash script?
What are the 3 standard streams in linux?
What is a shell environment?
What is shell application?
What is the significance of the shebang line in shell scripting?
Explain about non-login shell files?