Basic LINUX commands

By | 1st July 2019
pwdName and path of the current working directory.
mkdir dirnameCreates a new directory.
rmdir dirnameRemoves a directory. [directory must be empty]
rm -r dirnameRemoves a directory and its contents.
rm filenameRemoves file
mvMoves the file from one directory to another
cdChange the current directory
cd ..Go to directory level down
cd /Go to the main directory (root)
chmodChange file permission
chownChange to file owner and group
shutdownShuts down Linux

Leave a Reply

Your email address will not be published. Required fields are marked *