'mv' command in linux

 

 

   mv – renames and move files
 
   Format mv [options] source directory

   Eg: mv –f file1 /data/

   Here it moves the file1 to the directory /data evenif the file1 exists in data.

   Eg2: mv /data1/ /data2/

   Here it moves the directory data1 into the directory data2

  • 59 istifadəçi bunu faydalı hesab edir
Bu cavab sizə kömək etdi?

Uyğun məqalələr

what is the command 'ls' used for?

       ls – list directory contents.    ...

for what the command 'tail' is used for?

  tail – print the last 10 lines of the named file.If more than one file is specified...

for what purpose the commad 'du' is used for?

      du- estimates the file space usage.   Format: du [options] [file]...

what is the use of command 'grep'?

    grep- search one or more files that matches a regular pattern  Format:...

'cp' command in linux

    cp - copy files and directories.  Format: cp [options] source...