To Print the specified files
$ lpr files
Tuesday, 31 August 2010
Monday, 30 August 2010
How to print the entries of the print queue
To print the entries of the print queue.
$ lpq
$ lpq
Saturday, 28 August 2010
How to locate files with names containing the specified pattern
To locate files with names containing the specified pattern.
$ locate pattern
$ locate pattern
Friday, 27 August 2010
How to Check the spelling of the contents of the file
To check the spelling of the content of the specified files.
$ ispell files
$ ispell files
Monday, 23 August 2010
How to display all background jobs
To Display all background jobs.
$ jobs
$ jobs
How to load a module dynamically
Dynamically loads the specified module .It requires root privileges
$ insmod module
$ insmod module
Saturday, 21 August 2010
How to launch the GNU Text info help system
To launch the GNU Text info help system
$ info
$ info
Friday, 20 August 2010
How to display the name of the host
To display or sets the name of the host
$ hostname
$ hostname name
$ hostname
$ hostname name
Thursday, 19 August 2010
How to print the first several lines of the file
To print the first several lines of each specified file.
$ head filename
$ head filename
Wednesday, 18 August 2010
Make a pdf of a manual page
make a pdf of a manual page
~$ man -t man | ps2pdf - > man.pdf
~$ man -t man | ps2pdf - > man.pdf
How to expand the specified files
To expand the specified files. Generally, a compressed file has the same name as the original file, followed by . gz
$ gunzip filename
$ gunzip filename
Tuesday, 17 August 2010
How to compress the specified files
To compress the specified files,generally a compressed file has the same name as the original file, followed by . gz
$ gzip files
$ gzip files
Monday, 16 August 2010
How to format the media inserted in the specified drive
To format the media inserted in the specified floppy disk drive. The command performs a low-level format only. it does not create a filesystem. To create a filesystem, issue the mkfs command after formatting the media.
$ fdformat device
$ fdformat device
Sunday, 15 August 2010
How to search the specified files for text matching
To search the specified files for text matching the specified pattern and print matching lines. The -i option specifies that matching is performed without regard to case. The -n option specifies that each line of output is preceded by the file name and line number. The -v option reverses the matching, causing non-matched lines to be printed.
$ grep pattern files
$ grep -i pattern files
$ grep -n pattern files
$ grep -v pattern files
$ grep pattern files
$ grep -i pattern files
$ grep -n pattern files
$ grep -v pattern files
How to open a FTP connection to the specified host
To open a FTP connection to the specified host
$ ftp hostname
$ ftp hostname
Thursday, 12 August 2010
How to display the amount of used and free system memory
To display the amount of used and free system memory
$ free
$ free
How to print descriptions of the specified users
To print descriptions of the specified users.
$ finger users
$ finger users
Monday, 9 August 2010
How to search the specified path for files with specified pattern
To search the specified path for files with names matching the specified pattern (usually enclosed in single quotes) and prints their names.
$ find path -name pattern -print
$ find path -name pattern -print
How to run a jar file ?
To run a jar file
$ java -jar filename.jar
$ java -jar filename.jar
Wednesday, 4 August 2010
Brings the current jobs to the foreground.
To bring the current job (or the specified jobs) to the foreground.
$ fg
$ fg job
$ fg
$ fg job
Subscribe to:
Comments (Atom)