0% found this document useful (0 votes)
2 views1 page

Essential Shell Commands Guide

The document lists various shell commands along with their descriptions. Commands include changing directories, creating files, listing contents, and managing processes. It serves as a quick reference for users to understand and utilize these commands effectively.

Uploaded by

Anupam roy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Essential Shell Commands Guide

The document lists various shell commands along with their descriptions. Commands include changing directories, creating files, listing contents, and managing processes. It serves as a quick reference for users to understand and utilize these commands effectively.

Uploaded by

Anupam roy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

​All Commands​

​Commands​ ​Description​

​help​ ​Display supported command.​

​cd <directory>​ ​Change directory.​

​mkdir <dir_name>​ ​Make a directory/folder.​

​ls​ ​List current directory file and folder.​

​pwd​ ​Show current directory path.​

​history​ ​Show history.​

​!n​ ​Run n’th number history command.​

​echo “message”​ ​Display any message on the shell.​

​echo “message” > [Link]​ ​Create and replace output​

​echo “message” >> [Link]​ ​Append output​

​cat < [Link]​ ​Input content from a text file.​

​sleep 15 &​ ​Create a background process.​

​kill <p_id>​ ​Kill any running process.​

​copy [Link] [Link]​ ​Copy text file1 to file2​

​copyfile </path/[Link]> </path>​ ​Copy anything from anywhere​

​makepdf <[Link]> <filecontent>​ ​Create a pdf file with content.​

​makedocx <[Link]> <filecontent>​ ​Make docx file with content.​

​readpdf <[Link]>​ ​Read content from [Link] file.​

​readdocx <[Link]>​ ​Read content from [Link] file.​

​makefile <[Link]>​ ​Create any file​

​deletefile <file_name>​ ​Delete any file.​

​script <script_name.sh>​ ​Run script on the shell from a script file.​

​cat <file_name.txt> | grep hello​ ​Filter line containing hello from the text file.​

You might also like