Need a GUI for Linux’s history command

The Linux shell’s history command is very useful. Typing ‘history’ will list you the last X commands you entered in that shell. Typing CTRL+R will pop up a prompt and allow you to search for a command by typing a section of it.
For example: Hit CTRL+R and then type ’svn’ will list the last svn [...]

Read the rest of Need a GUI for Linux’s history command

Gnome keyboard shortcuts

General Shortcut Keys

Alt + F1
Opens the Applicantions Menu .

Window Shortcut Keys

Alt + Tab
Switches between windows. When you use these shortcut keys, a list of windows that you can select is displayed. Release the keys to select a window.

Panel Shortcut Keys

Ctrl + Alt + Tab
Switches the focus between the panels and the desktop. [...]

Read the rest of Gnome keyboard shortcuts

Changing mySQL root user password

It’s a pain in the nuts if you forget your mySQL root password. Here’s an easy way to reset it:
1) Stop any running mySQL deamons
2) Open a text editor and create a new file with the follownig line in it:
SET PASSWORD FOR ‘root’@’localhost’ = PASSWORD(’<your new password>’);
3)  Run the mySQL deamon and use the –init-file [...]

Read the rest of Changing mySQL root user password

List of free Linux eBooks

linuxHaxor.net have compiled a list of free eBooks about, or relating to, Linux.
Free linux ebooks.

Read the rest of List of free Linux eBooks

Linux: count number of files in a directory

The following command will print the number of files in the current directory:

ls | wc -l

The ‘ls’ command prints the directory listing. The output of ls is piped into the wc command by the inclusion of the ‘|’. Finally, the ‘wc’ command performs a word count on the directory listing it was given, [...]

Read the rest of Linux: count number of files in a directory

Gnome keyboard shortcuts

Below are some handy keyboard shortcuts for the Gnome desktop system. Use these and give your mouse a rest!

Alt + F1
Opens the Applications Menu

Alt + F2
Displays the Run Application dialog

Print Screen
Takes a screenshot

Alt + Print Screen
Takes a screenshot of the window that has focus

Ctrl + Alt + right arrow
Switches to the workspace to the right [...]

Read the rest of Gnome keyboard shortcuts

Get current directory in Linux shell

The command “pwd” is short for (P)rint (W)orking (D)irectory and does exactly as the name suggests.
For example:
[steve@localhost stuff] pwd
/home/steve/stuff
A really simple command but also really useful and navigating around a Unix directory tree is a pain in the ass if you don’t know it!

Read the rest of Get current directory in Linux shell

Switching out of fullscreen mode in rdesktop

rdesktop is a Remote Desktop Protocol client for linux - it enables you to remote desktop to a Windows machine.
It was difficult to find the keyboard shortcut for switching rdesktop in and out of fullscreen mode so I’m blogging this here so that others may find it (and to remind myself as I’m bound to [...]

Read the rest of Switching out of fullscreen mode in rdesktop