These days, you can usually use Linux just as easily as Windows. The differences are mostly felt when working on the command line. If you need to use it, we have compiled a list of important commands for basic tasks.
Changes the current directory. Either cd directory to change into the directory named directory or just cd to change into the home directory.
Print working directory. Shows where you currently are.
Copies and moves files, respectively. Warning: The target may be overwritten without confirmation!.
Examples:
cp Source Target | Copies fileSource into file target |
mv Source Target_directory/ | Moves fileSource into the directory Target_directory |
Copies the contents of the directory Source_dir into the directory Target_dir |
Removes files and directories. Warning: The files deleted that way cannot be easily restored and there is no confirmation. Check your input carefully
Example: rm File — Deletes file File.