To open a KDE file manager
$ konqueror --profile filemanagement
Wednesday, 29 September 2010
Tuesday, 28 September 2010
How to open a Gnome File Manager
To open a Gnome file manager
$ nautilus
$ nautilus
Monday, 27 September 2010
How to see the last fifteen lines of the files one ,two and three
To see last fifteen lines of the files one,two and three
$ tail -15 one two three
$ tail -15 one two three
Sunday, 26 September 2010
Saturday, 25 September 2010
How to add an iso image in repository
To add an iso image in repository,first you must mount the iso image then go to(generally requires root privileges)
$ nano /etc/apt/sources.list
then write this command :
deb file:/media/iso/ lenny main contrib
$ nano /etc/apt/sources.list
then write this command :
deb file:/media/iso/ lenny main contrib
Friday, 24 September 2010
How to mount an ISO image
Make a location to mount an ISO image
$ mkdir /media/iso
To mount an iso image (generally requires root privileges).
$ mount -t iso9660 -o loop filename.iso /media/iso
$ mkdir /media/iso
To mount an iso image (generally requires root privileges).
$ mount -t iso9660 -o loop filename.iso /media/iso
Thursday, 23 September 2010
How to print the number of characters, words, and lines
To print the number of lines,characters and words in the specified files.
$ wc filename
$ wc filename
Wednesday, 22 September 2010
How to print a message to each user
To print a message to each user except those who've disabled message reception.
$ wall
Type Ctrl-D to end the message.
$ wall
Type Ctrl-D to end the message.
Tuesday, 21 September 2010
How to Print the current system users
To print the current system users.
$ w
$ w
Monday, 20 September 2010
How to print the system uptime
To print the system uptime.
$ uptime
$ uptime
Sunday, 19 September 2010
How to Unmount the specified filesystem
To unmount the specified file system (generally it requires root privileges).
$ umount device
$ umount device
Saturday, 18 September 2010
How to print a network path to the host
Uses echo requests to determine and print a network path to the host.
$ traceroute host
$ traceroute host
Friday, 17 September 2010
How to print the display of system processes
To print a display of system processes that's continually updated until the user presses the q key.
$ top
$ top
Thursday, 16 September 2010
How to Open a login session on the specified host
To open a login session on the specified host.
$ telnet host
$ telnet host
Tuesday, 14 September 2010
How to launche a program that allows a chat-like
To launch a program that allows a chat-like dialog with the specified user.
$ talk user
$ talk user
Monday, 13 September 2010
How to complete all pending input/output operations
To complete all pending input/output operations (it requires root privileges).
$ sync
$ sync
Sunday, 12 September 2010
How to disables use of the specified device for swapping
To disable use of the specified device for swapping (it requires root privileges).
$ swapoff device
$ swapoff device
Saturday, 11 September 2010
How to use of the specified device for swapping
To enable use of the specified device for swapping (it requires root privileges).
$ swapon device
$ swapon device
Tuesday, 7 September 2010
How to pause the command interpreter to pause
To cause the command interpreter to pause for the specified number of seconds.
$ sleep time
$ sleep time
Monday, 6 September 2010
How to Shutdown the system after a number of minutes
To shutdown the system after the specified number of minutes elapses (requires root privileges). The -r option causes the system to be rebooted once it has shut down.
$ shutdown minutes
$ shutdown -r minutes
$ shutdown minutes
$ shutdown -r minutes
Sunday, 5 September 2010
How to reset the terminal status
To clear the terminal screen and resets the terminal status.
$ reset
$ reset
Saturday, 4 September 2010
How to Display the processes associated with the current userid
To display the processes associated with the current user id or displays a description of each process.
$ ps
$ ps -Aux
$ ps
$ ps -Aux
Friday, 3 September 2010
How to change the current user's password
To change the current user's password, or that of the specified user (requires root privileges). The command prompts for the new password.
$ passwd
$ passwd user
$ passwd
$ passwd user
Thursday, 2 September 2010
How to create a Linux swap space on the hard disk
To create a Linux swap space on the specified hard disk partition (requires root privileges).
$ mkswap device
$ mkswap device
Wednesday, 1 September 2010
How to cancel printing of the specified print queue entries
To cancel printing of the specified print queue entries. Use lpq to determine the contents of the print queue.
$ lprm job
$ lprm job
Tuesday, 31 August 2010
How to print the specified files
To Print the specified files
$ lpr files
$ lpr files
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
Tuesday, 27 July 2010
How to compare two files ?
To compare two files, reporting all discrepancies.
$ cmp file1 file2
$ cmp file1 file2
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
Saturday, 20 March 2010
how to clear the content in CDRW
To clear a CDRW
~$ cdrecord -v dev=/dev/cdrom blank=fast
~$ cdrecord -v dev=/dev/cdrom blank=fast
how to mount a cdrom image
To mount a cdrom image (read only)
~$ mount -o loop cdrom.iso /mnt/dir
~$ mount -o loop cdrom.iso /mnt/dir
To know the information of a host name or ip address
To get the information of a hostname whois
~$ whois google.com
~$ whois google.com
How to lists wireless networks in range
To lists the wireless networks in range
~$ iwlist scan
~$ iwlist scan
How to set ethernet interface speed manually
To set manually ethernet interface speed
~$ ethtool -- change eth0 autoneg off speed 100 duplex full
~$ ethtool -- change eth0 autoneg off speed 100 duplex full
Friday, 19 March 2010
How to solve screen resolution problem in Debian
To solve screen resolution problem in Debian. First you have to find the possible resolutions with xrandr -q
$ xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
VGA connected 1024x768+0+0 (normal left inverted right x axis y axis) 270mm x 200mm
1024x768 60.0*
800x600 85.1 75.0
640x480 85.0 85.0 75.0 59.9
720x400 70.1
Now you can set your resolution with command
$ xrandr -s 1024x768
More Details
$man xrandr
$ xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
VGA connected 1024x768+0+0 (normal left inverted right x axis y axis) 270mm x 200mm
1024x768 60.0*
800x600 85.1 75.0
640x480 85.0 85.0 75.0 59.9
720x400 70.1
Now you can set your resolution with command
$ xrandr -s 1024x768
More Details
$man xrandr
Subscribe to:
Comments (Atom)
