Give Command that will move a single file
called "unix.txt"

Answers were Sorted based on User's Feedback



Give Command that will move a single file called "unix.txt"..

Answer / kunal bariar

the above 2 answers are for renaming the file from unix.txt
to unix1.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

Give Command that will move a single file called "unix.txt"..

Answer / jaga

mv single.txt single1.txt

Is This Answer Correct ?    7 Yes 2 No

Give Command that will move a single file called "unix.txt"..

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 ?    3 Yes 1 No

Give Command that will move a single file called "unix.txt"..

Answer / yuvaevergreen

mv

Is This Answer Correct ?    1 Yes 0 No

Give Command that will move a single file called "unix.txt"..

Answer / abani_mahana

mv filename dest_location --> to move the file to other location
mv filename filename1 --> to rename the file

Is This Answer Correct ?    0 Yes 0 No

Give Command that will move a single file called "unix.txt"..

Answer / snjsngh15

MVP -v fil1 fil2

Is This Answer Correct ?    0 Yes 0 No

Give Command that will move a single file called "unix.txt"..

Answer / dhurai

mv unix.txt unix1.txt

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Unix Commands Interview Questions

in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?

6 Answers  


What is the size of time_t?

0 Answers  


What is the different between UNIX command and UNIX shell script?

2 Answers  


How can you change the owner or group of a file?

1 Answers  


What are grep patterns?

0 Answers  


29. How to display top 10 users Who | head -10 | wc –w

4 Answers   TCS,


what is the use of "fg" command ?

5 Answers   PSU, Sail,


Which is the command used to find out currently executing Process in UNIX?

6 Answers   Amazon,


What is the basic difference between unix and windows operating systems?

43 Answers   Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,


boot process?

2 Answers   Atos Origin, Wipro,


What is grep and how do you use it?

0 Answers  


what is the use of "grep" command?

6 Answers   HCL,


Categories