Tag Archives: bash

How can I determine if my CPU supports PAE?

While in your (GNU/Linux) shell, simply type:

grep pae /proc/cpuinfo

If PAE extensions are available, you’ll see a string for each core available:

flags : fpu vme de pse tsc msr PAE mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
flags : fpu vme de pse tsc msr PAE mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
flags : fpu vme de pse tsc msr PAE mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
flags : fpu vme de pse tsc msr PAE mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr

(the capital PAE is due to my editing, for visibility reasons)

This becomes useful if you need to install RedHat/CentOS 6 on your hardware to support >3GB of RAM on 32bit CPU and more…

how to use users-admin remotely on Ubuntu

Lately I had the necessity to create an account and modify another one on an Ubuntu box at work. I’ve regularly logged on via a ssh -X shell and gave the command

sudo users-admin

resulting in a “blocked” window … I mean one on which I wasn’t able to unlock the command via an administrative password input.

After a little diggin’ on the web I found that the solution is in giving this command:

sudo ck-launch-session users-admin &

which will ask you the administrative password and make the commands on the appearing window

Ubuntu_users-admin

in Command Line defence

With this close connection, learning about the command line makes more sense in GNU/Linux than in many operating systems. You do not need to be full of command line macho, believing that the only real computing goes on at a command prompt, to appreciate the connection. While the command line is in many ways the opposite of the desktop, in that it is thorough and encourages the gaining of expertise, the two interfaces are complementary. For simple, routine tasks, the desktop is often preferable, especially if you are viewing graphics. If you want to administer your system or fine-tune performance, then the command line is the interface you need.

 
 
via The GNU/Linux Desktop and Borrowed Assumptions about Usability | datamation.com

 
Do you agree ???