Here are some simple file and folder manipulation commands for more information check out the man pages in your linux distribution.
Be careful when manipulating files in Linux because linux will allow you to remove system files. Including ones critical to the operating system.
The cp command can be used to copy files
cp [OPTION]… -t DIRECTORY SOURCE…
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
The mv command is used to move files or rename them
mv – move (rename) files
mv [OPTION]… [-T] SOURCE DEST
mv [OPTION]… SOURCE… DIRECTORY
mv [OPTION]… -t DIRECTORY SOURCE…
Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.
The rm command removed files
rm – remove files or directories
rm [OPTION]… FILE…
This manual page documents the GNU version of rm. rm removes each
specified file. By default, it does not remove directories.
pwd shows the current working directory
cat shows the content of a file
cat – concatenate files and print on the standard output
cat [OPTION]… [FILE]…
Concatenate FILE(s), or standard input, to standard output.
The ls command is like dir in windows
ls – list directory contents
ls [OPTION]… [FILE]…
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor –sort is speci‐
ls -l shows the permissions on a file permissions in linux work like this
there are three groupings of letters owner group others each grouping has some or all of the letters rwx which stands for Read Write and eXecute
You change the permissions with the chmod command you change the owner with the chown command
You can create a file with the touch command.
touch – change file timestamps
touch [OPTION]… FILE…
Update the access and modification times of each FILE to the current
A FILE argument that does not exist is created empty, unless -c or -h