MV Commands Cheat Sheet

Here is a cli commands cheat sheet for MV command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is MV command?

Add some data here

        # To move a file from one place to another:
mv  

# To move a file from one place to another and automatically overwrite if the destination file exists:
# (This will override any previous -i or -n args)
mv -f  

# To move a file from one place to another but ask before overwriting an existing file:
# (This will override any previous -f or -n args)
mv -i  

# To move a file from one place to another but never overwrite anything:
# (This will override any previous -f or -i args)
mv -n  

# To move listed file(s) to a directory
mv -t  ...
    

Check out the MV command documentation .


You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list