File-System Commandos

A A A
100%Reset
Create file:
# touch new.file


Create Directories:
# mkdir


Remove file:

# rm -f < forced delete
# rmdir


Remove Files:

Use the mv command to rename a file or move it to another directory, like so:
# mv stuff junk
# mv junk trashcan


The first example renames the file stuff as junk, and the second moves the file junk into a
directory called trashcan.

Note: The mv command will wipe out files without warning. To be prompted before
overwriting, use the -i flag, like so:
# mv -i stuff junk
mv: overwrite junk (y/n)?

Powered by Proxied.com & Anosim.net