Basic Linux Commands Pdf

Today we are going to share with you the Basic Linux Commands Pdf. This file contains Basic Linux Commands in the English language. So download this Pdf for free on your mobile or laptop to read it anytime or anywhere.

Basic Linux Commands Pdf
Basic Linux Commands Pdf

Basic Linux Commands Pdf Free Download or Read Online.

NOTE – Download The Basic Linux Commands Pdf Free Using the below Download button at the bottom of this article.

PDF Details

PDF NameBasic Linux Commands
Free PDFAvailable
LanguageEnglish
FormatsPDF
Size458 KB
Pages4

Linux/Unix File Commands

Sr. No.CommandsUses
1lsDirectory listing
2ls -alFormatted listing with hidden files
3ls  -ltSorting the Formatted listing by time modification
4cd dirChange directory to dir
5cdChange to the home directory
6pwdShow the current working directory
7mkdir dirCreating a directory dir
8cat >filePlaces the standard input into the file
9more fileOutput the contents of the file
10head fileOutput the first 10 lines of the file
11tail fileOutput the last 10 lines of the file
12tail -f fileOutput contents of the file as it grows, starting with the last 10 lines
13touch fileCreate or update the file
14rm fileDeleting the file
15rm -r dirDeleting the directory
16rm -f fileForce to remove the file
17rm -rf dirForce to remove the directory dir
18cp file1 file2Copy the contents of file1 to file2
19cp -r dir1 dir2Copy dir1 to dir2;create dir2 if not present
20mv file1 file2Create or update the file
21ln -s file linkCreate a symbolic link to the file

Linux/Unix Process Management Commands

Sr. No.CommandsUses
1psTo display the currently working processes
2topDisplay all running process
3kill pidKill the process with given pid
4killall procKill all the processes named proc
5pkill patternWill kill all processes matching the pattern
6bgused to place foreground jobs in the background
7fgBrings the most recent job to foreground     
8fg nBrings the job n to the foreground

Linux/Unix File Permission Command

Sr. No.CommandsUses
1chmod octal fileChange the permission of the file to octal, which can be found separately for user, group, and world by adding –> 4-read(r), 2-write(w), 1-execute(x)

Linux/Unix Searching Commands

Sr. No.CommandsUses
1grep pattern fileSearch for a pattern in the file
2grep -r pattern dirSearch recursively for patterns in the dir
3command | grep patternSearch pattern in the output of a command
4locate fileFind all instances of file
5find . -name filenameSearches in the current directory (represented by a period) and below it, for files and directories with names starting with the filename
6pgrep patternSearches for all the named processes, that matches with the pattern and, by default, return their ID

Linux/Unix System Info Commands

Sr. No.CommandsUses
1dateShow the current date and time
2calShow this month’s calendar
3uptimeShow current uptime
4wDisplay who is online
5whoamiWho you are logged in as
6finger userDisplay information about a user
7uname -aShow kernel information
8cat /proc/cpuinfoCpu information
9cat proc/meminfoMemory information
10man commandShow the manual for command
11dfShow the disk usage
12duShow directory space usage
13freeShow memory and swap usage
14whereis appShow possible locations of the app
15which appShow which applications will be run by default

Linux/Unix Compression Commands

Sr. No.CommandsUses
1tar cf file.tar fileCreate tar named file.tar containing file
2tar xf file.tarExtract the files from file.tar
3tar czf file.tar.gz filesCreate a tar with Gzip compression
4tar xzf file.tar.gzExtract a tar using Gzip
5tar cjf file.tar.bz2Create tar with Bzip2 compression
6tar xjf file.tar.bz2Extract a tar using Bzip2
7gzip fileCompresses file and renames it to file.gz
8gzip -d file.gzDecompresses file.gz back to file

Linux/Unix Network Commands

Sr. No.CommandsUses
1ping hostPing host and output results
2whois domainGet whois information for domains
3dig domainGet DNS information for the domain
4dig -x hostReverse lookup host
5wget fileDownload file
6wget -c fileContinue a stopped download

Linux/Unix Shortcuts Commands

Sr. No.CommandsUses
1ctrl+cHalts the current command
2ctrl+zStops the current command, resume with fg in the foreground or bg in the background
3ctrl+dLogout the current session, similar to the exit
4ctrl+wErases one word in the current line
5ctrl+uErases the whole line
6ctrl+rType to bring up a recent command
7!!Repeats the last command
8exitLogout the current session

How to Download Basic Linux Commands Pdf

Follow these steps to download the Basic Linux Commands Pdf for Free!

STEPS:

  • First Go-To bottom of Content
  • You can see there is 30 Sec. timer showing
  • You need to wait 30 Sec. for ready the PDF download link
  • After 30 Sec. the download link will be ready to download the PDF
  • Now click on the Download button to download the PDF on your device.

Congratulations You’re successfully downloaded your PDF File! Enjoy It!

Download Here – Basic Linux Commands Pdf

IMPORTANT:

If the download link of the Basic Linux Commands Pdf is not working or you feel any other problem with it, please Comment on Your Problem in Below comment section. If Basic Linux Commands Pdf Download is copyright material we will not provide its PDF or any source for downloading at any cost. CONTACT US if it is protected by copyright laws.

Leave a Comment