Unix Essential Commands
This article explains the commands that I have learnt and used in my everyday programming life. nano editor Open a file in nano editor with softwrap and displaying line numbers nano --softwrap --linenumbers file.txt chmod command (change a file mode) Symbol and its meaning u -> user g -> group o -> others a -> all r -> read w -> write (and delete) x -> execute (and access directory) + -> add permission - -> take away/remove permission chmod go-rwx biglist To remove read write and execute permissions on the file/directory biglist for the group and others chmod a+rw biglist To give read and write permissions on the file/directory biglist to all, chmod u+rwx,g+rw,o-rwx test.file Set multiple permission in single command chmod a+rwx directory/* To give permission to all files in a directory chmod -R a+rwx directory/* To give permission to all files/directories in a directory and its sub directories cut command printf "Hello\tworld\nHi\t...