Saturday, April 26, 2014

mv

  •   mv command examples


Rename file1 to file2. if file2 exists prompt for confirmation before overwritting it.
$ mv -i file1 file2


Note: mv -f is just the opposite, which will overwrite file2 without prompting.
mv -v will print what is happening during file rename, which is useful while specifying shell metacharacters in the file name argument.
$ mv -v file1 file2



Related Posts:

  • Common Myths Busted - For Anti-Linux Users (Must Read) Introduction When it comes to operating systems people have always hailed Windows and Mac OS X as the two front-runners of the OS battle. However, due to recent efforts of the ever-growing Linux community, this scenario h… Read More
  • Group Management in Linux Group Management :   A user can be participated to more than one group at the same time. A user who is member of a group can change to that group without password but a user NOT member can … Read More
  • User Management in Linux This article will try to cover basics of Linux user management through command line tools. Linux provides 5 different alternatives to choose the accessibility. They are as listed below. Super User or … Read More
  • Vim Editor Commands Vim ?? What's that ??   Vim is an editor to create or edit a text file.   There are three modes in vim. Insert mode - Adding text Command mode - Modifying text Last line mode - Save & quit Inse… Read More
  • Introduction & Basic Concepts of Linux What is Linux ? Linux open source operating system, or Linux OS, developed by Linus Torvalds is a freely distributable, cross platform operating system based  on UNIX that can be installed on PCs, la… Read More

0 comments:

Post a Comment