Type something to search...

File Manipulation Commands

File Manipulation Commands

Manipulating files is a common task in Linux. Here are some basic commands:

  1. cp: Copies files or directories.
    cp source_file destination_file
  2. mv: Moves or renames files.
    mv old_name new_name
  3. rm: Removes files or directories.
    rm file_name
  4. touch: Creates an empty file.
    touch new_file

Next: Viewing File Content →