Linux |
These notes are my personal online notebook of useful commands and "how-to's". You are welcome to make use of them if you find them helpful. They obviously don't come with any warranty! Click on one of the category tags above for the notes in any category. |
|||
There is an excellent article here: www.makeuseof.com/tag/new-computer-old-os-how-to-migrate-linux-between-machines/
|
|||
|
|||
Many GTK based apps failed with errors like: Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons/oxygen/16x16/actions/application-exit.png' until I ran this line to regenerate the cache: gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache |
|||
This great tool enabled me to recover several hours of work. |
|||
Syntax for findfind . -name "*.php" -exec echo {} \;
To find mp3 files after 2009-01-26touch -t 0901260000 /tmp/t find /home -newer /tmp/t -name "*.mp3" To find all text files containing the word “Pressflow”find /home -name "*.txt" -exec grep -l "Pressflow" {} \;
to chmod all directories to 755 and all files to 644
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
General purpose find script
|
|||
Here is a tutorial: www.rackaid.com/resources/linux-screen-tutorial-and-how-to/ |
|||
I have spend hours searching for the answer to this problem, so now I have found it I will post it. Demonstrate problemSuppose I have a program that takes an option in the form: myprog -t "Title of Document" To test this we will create a script: #!/bin/bash echo option: «$1», title: «$2», ignore: «$3» |
|||
I am about to set up a webdav server under CentOS 6.0 |
|||
Office 971. Install package from CD Note that this crashed when I tried to open an Access form Office XP-It seems to only install into a Win98 bottle |
|||

