UP TO 80% DISCOUNT ON AMAZON LIMITED TIME ...

Sunday, 2 August 2015

Linux Terminal Commands-3

Linux Terminal Commands-3


Compression commands:

DescriptionShortcut key
Create a tar named file.tar containing filestar cf file.tar files
Extract the files from file.tartar xf file.tar
Create a tar with Gzip compressiontar czf file.tar.gz files
Extract a tar using Gziptar xzf file.tar.gz
Create a tar with Bzip2 compressiontar cjf file.tar.bz2
Extract a tar using Bzip2tar xjf file.tar.bz2
Compresses file and renames it to file.gzgzip file
Decompresses file.gz back to filegzip -d file.gz

Printing commands:

DescriptionShortcut key
Start the print daemon/etc/rc.d/init.d/lpd start
Stop the print daemon/etc/rc.d/init.d/lpd stop
Display status of the print daemon/etc/rc.d/init.d/lpd status
Display jobs in print queuelpq
Remove jobs from queuelprm
Print a filelpr
Printer control toollpc
Print the manual page called subject as plain textman subject | lpr
Print the manual page called subject as Postscript outputman -t subject | lpr
Start X printer setup interfaceprinttool

Network commands:


DescriptionShortcut key
List IP addresses for all devices on the local machineifconfig
Used to set the parameters of the network interface which are specific to the wireless operation (for example: the frequency)iwconfig
used to display some additional information from a wireless network interface that is not displayed by iwconfigiwlist
Ping host and output resultsping host
Get whois information for domainwhois domain
Get DNS information for domaindig domain
Reverse lookup hostdig -x host
Download filewget file
Continue a stopped downloadwget -c file

No comments:

Post a Comment