Give Command that will move a single file
Answers were Sorted based on User's Feedback
Answer / kunal bariar
the above 2 answers are for renaming the file from unix.txt
the answer is
mv unix.txt "pat name where unix.txt is to be moved"
eg:- mv unix.txt /user1/ins/
|Is This Answer Correct ?||15 Yes||0 No|
Answer / jaga
mv single.txt single1.txt
|Is This Answer Correct ?||7 Yes||2 No|
Answer / krishna
Yes the first two answers are not true!
That command and format is used to renaming a file or folder!
If the source and destination is same then it is renameing..
Eg : mv krishna krishna2
That is ranaming the krishna file to krishna2
Moving a file is something destination and source are diff!
Eg: mv /tmp/krishna.txt /home/
In that krishna.txt is moved from /tmp file system to /home file system!
|Is This Answer Correct ?||2 Yes||1 No|
Answer / yuvaevergreen
|Is This Answer Correct ?||1 Yes||0 No|
Answer / dhurai
mv unix.txt unix1.txt
|Is This Answer Correct ?||0 Yes||2 No|
What does 'mkdir' command do in UNIX?
What is pipe command in unix?
distinguish between user mode and kernel mode?
what are filters?
Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.
which command is used to identify the type of the file?
In UNIX, what is the command to edit contents of the file?
How do I clear my terminal history?
how many internal commands is there in UNIX?
Write a command to kill the last background job?
What is the command to check ports active in UNIX?
why unix operating system provides more security than other operating systems?