≡ Menu

command prompt

Linux Load USB Driver

How do I load USB driver under Linux operating system using the command prompt?
[click to continue…]

Linux: Resetting a user’s password

Q. How do I reset a user's password under any Linux distribution from command prompt?

A. To reset a user's password, use passwd command. You have to change it to a different password.

Login as the root user

Open terminal or shell prompt

Type the following command:
# passwd username
For example, reset a tom's password, enter:
# passwd tom
Type a new password twice.

How to: Stop X.Org Server

Q. How do I start or stop X.Org from a command prompt?

A. X.org is open-source implementation of the X11 system. It is an open source X11-based desktop infrastructure. Xorg provides an interface between your hardware and the graphical software you want to run. Besides that, Xorg is also fully network-aware, meaning you are able to run an application on one system while viewing it on a different one.

Start X.Org Server

There are two ways, just type startx:
$ startx
Alternatively, run init script such as /etc/init.d/gdm
# /etc/init.d/gdm start
$ sudo /etc/init.d/gdm start

Ctrl+Alt+Backspace - to stop server

Press Ctrl+Alt+Backspace to immediately kill the server - no questions asked.

Agian, you can use init script to stop session:
# /etc/init.d/gdm stop
$ sudo /etc/init.d/gdm stop

Upgrade WHM / cPanel Linux server to EDGE release

Q. How do I upgrade my CentOS Linux 5.0 dedicated server to WHM / cPanel edge release?
[click to continue…]

Ubuntu Linux: How Do I install .deb Packages?

I am a new Ubuntu Linux user. I need to install a package called package.deb. I know I can use Synaptic front-end package management tool to install packages from the CD or Internet. But, I would like to install a special .deb file. How can I install .deb package from the terminal using command line option in Ubuntu Linux or Debian Linux?
[click to continue…]