git for tracking and managing changes to text files.
-
cd to change folder.
-
ls to show contents of the current folder.
-
popd to return to the folder saved with
pushd. -
pushd to save the current folder and move to another.
-
pwd to print which folder you are in.
-
pwdx to print which folder a process is in.
-
find to search by file name or other attributes.
-
grep to search by file contents.
-
which to show if and where the command is installed.
-
cp to copy files.
-
ln to create a link to a file or folder.
-
mkdir to create a folder.
-
mv to rename or move a file or folder.
-
touch to create an empty file.
-
rm to delete files or folders.
-
rmdir to delete an empty folder.
-
chgrp to change the group a file or folder belongs to.
-
chmod to change permissions of a file or folder.
-
chown to change owner and group of a file or folder.
-
cat to print the full contents of files.
-
diff to get line differences between text files.
-
echo to print a line of text.
-
head to print the first 10 lines of a file.
-
less to open a file content viewer.
-
tail to print the last 10 lines of a file.
-
nanois a basic text editor. Useful for editing single files. -
tee to save a copy of the given file.
-
vimis a general text editor. Useful for editing single or multiple files.
- free to print memory usage.
- kill to send signals to processes.