August 19th, 2010 at 12:30am |
In order to verify that two copies of a directory are equivalent there are different options: 1) diff – the easiest way diff -qr dir1 dir2 reports any differences in file contents in a similar way to md5sum. For more methods read on here:
Read the rest of verify and compare two directories differences
June 17th, 2010 at 7:27pm |
“There was a problem with the command for this terminal: Text was empty (or contained only whitespace)” Today I tried Gnome Conduit synchronizer and the result was f*up my gnome-terminal profile. If you get this error you have to close the error window and then click on
Read the rest of gnome-terminal empty
October 8th, 2009 at 11:17am |
In order to list hardware devices of you computer in a human readable format type: sudo lshw -html > ~/hardware_info.html && firefox ~/hardware_info.html
Read the rest of list hardware devices in a human readable format
September 24th, 2009 at 10:27am |
There are filenames that are so weird that cannot be deleted by neither GNOME/KDE/etc. nor the rm shell command. This how to explains you different ways to cope with those files often dropped there simply by accident but sometimes actually being rootkits.
Read the rest of How to delete undelatable files and folders in linux
March 28th, 2009 at 2:25pm |
These are two examples on how to write an interactive shell script, either with a YES/NO prompt and with a LIST among which the user has to choose.
Read the rest of How to write an interactive shell script
February 10th, 2009 at 1:31am |
mirror from: http://www.tu-harburg.de/rzt/tuinfo/oberflaechen/linux/sfx.html How to build a self-extracting installation package for Microsoft Windows with your lovely GNU/Linux box — thanks to 7-zip! 7-Zip is free software distributed under the GNU LGPL.
Read the rest of Building a self-extracting Windows archive under GNU/Linux
December 9th, 2008 at 10:52pm |
in order to ease work on the terminal shell linux enables you to set aliases of complex commands. this can be done in different ways – temporary alias pico=’pico -w’ or alias pico=”pico -w” – permanent editing $HOME/.bashrc or $HOME/.bash_aliases and write down the alias strings at the bottom ot the files – to show [...]
Read the rest of aliases
December 9th, 2008 at 2:24pm |
concept: only 1 foreground program can be running on a shell terminal, however several can run in the background. Here’s how.
Read the rest of shell Jobs
December 8th, 2008 at 8:55pm |
this is how to use the find command to search for files on a time basis, i.e. to search for files more recent than a certain date or time create an empty file with an arbitrary date and time (which will correspond to t0 of our search) touch -t yyyymmddhhmm [filename] find -newer [filename] you [...]
Read the rest of find on time basis
December 8th, 2008 at 8:23pm |
You may need to set a maximum disk quota per user, so that one user cannot fill up the whole system with his documents/garbage. A disk quota is a limit set by a system administrator that restricts certain aspects of file system usage on modern operating systems. There are two basic types of disk quotas. [...]
Read the rest of Disk quota management