Home | Last Updated on |
Linux Tips
Linux Frequently Used Commands
Linux Utilities
Linux Tips
1)Lost password?
LILO
If you forgotten your root password, type 'linux single' at the LILO boot prompt to
start Linux in single user mode, skiping the login prompt. Then edit the
password list /etc/passwd(/etc/shadow if you enabled shodow passwords) remove
the encrypted text between the first two colons in the entry for root. Back at
the prompt, type 'init3' to switch to the normal start up program (or 'init5' if
you want graphical login).(If you are using the graphical LILO, you must press [Ctrl]-[x] to exit the graphical screen and go to the boot prompt)
GRUB
1.If you have a GRUB password configured, type p and enter the password.
2.Select Linux with the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you just selected.
3.Select the line that starts with kernel and type e to edit the line.
4.Go to the end of the line and type single as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode.
5.Back at the GRUB screen, type b to boot into single user mode.
2)Listen Music.
To configure your sound card, switch to root login and type 'sndconfig'. This utility helps
to configure Sound Card.(RedHat only)
3)Configure Screen Resolution.
To configure your Screen Resolution and Setting Diaplay Card, switch to root login and type 'Xconfigurator'.(RedHat only)
4)Multiple X Servers.
If you want two graphical X Servers running at once, start the first server, then switch to some virtual console,
login agin and type startx -- /user/X11R6/bin/X :1 use Ctrl+Alt+F7
and Ctrl+Alt+F8 to switch between the two.
Linux Frequently Used Commands.
Linux Utilities This is short list of most frequenly used Linux Tools.