Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Dec 312009
 

How to restart a frozen Linux System?

Answer:

Try the following two simple methods first:

  1. Hold down Ctrl+Alt+Backspace if you are in graphic mode
  2. if not work, then hold down "Ctrl+Alt+F1" to get into the shell and use the "reboot" command to reboot

If still not work, do the following:

  1. Hold down the Alt and SysRq (Print Screen) keys
  2. While holding those down, type the following in order: REISUB
  3. You computer will reboot now
Dec 312009
 

How to run multiple commands at once in Linux?

Answer:

You can separate the commands by a semicolon ;

e.g.

cat foo.txt; cat bar.txt

Two commands will be executed one by one.

However, if you want to execute a command if and only if previous command is executed successfully, then you can use && to separate them

e.g.

make && make install

So if make failed, make install will not be executed.

Dec 262009
 

Should I install 32-bit or 64-bit Linux?

Answer:

Quote from AMD, the company who created the AMD64-architecture-that-your-64-bit-Linux-is-using.

Use a 64-bit system and stick to the compat layer if you have the need of running certain 32-bit applications.

Is it clear?

More information, see: http://forums.amd.com/devblog/blogpost.cfm?threadid=93648&catid=317