To compare two files, reporting all discrepancies.
$ cmp file1 file2
Tuesday, 27 July 2010
How to compare two files ?
To compares two files, reporting all discrepancies. Similar to the cmp command, though the output format differs.
$ diff file1 file2
$ diff file1 file2
How to place the current job in the background ?
To place the current job (or, by using the alternative form, the specified jobs) in the background, suspending its execution so that a new user prompt appears immediately. Use the jobs command to discover the identities of background jobs.
$ bg
$ bg jobs
$ bg
$ bg jobs
How to cancel the execution of a job scheduled ?
To cancel the execution of a job scheduled via the 'at' command. Use the atq command to discover the identities of scheduled jobs.
$ atrm job
$ atrm job
Which are the jobs pending ?
Prints descriptions of jobs pending via the 'at' command.
$ atq
$ atq
How to search the manual pages of the specified keyword?
To search the manual pages for occurrences of the specified keyword and prints short descriptions from the beginning of matching manual pages.
$ apropos keyword
$ apropos keyword
Sunday, 11 July 2010
Wednesday, 7 July 2010
How to find the disk space used by the current directory
To print the amount of the disk space used by the current directory
~$ du /directory
~$ du /directory
How to find free disk space in each mounted filesystem
To print the amount of free disk space in each mounted file system
~$ df
~$ df
Subscribe to:
Comments (Atom)
