Available languages

Useful links
Читать на русском

Monday, May 28, 2012

Linux Hardware or Hardware Supported By Linux: ch. 2

Today computer is a necessary attribute of our life. Computers are evolving rapidly and we cannot keep it up-to-date. Hardware, software, new technologies and operating systems. One thing we want is to use our computer and its hardware fully and with all the advantages.

It's nice if you have money and can buy apple or Microsoft products and if you really enjoy them - I don't worry about you. But there are other operation systems mainly based on the Linux kernel: GNU/Linux, Unix and BSD families.

If you try using them, you may have another problem: hardware support. Not everyone writes Linux drivers for his nice devices. What a pity...

So, the best(only) way to use all the advantages of your computer's hardware under Linux is to buy one with already supported hardware. It's clear for everyone, I suppose. But HOW!? can I know that computer will work for sure before buying it?
Google may help us, but it's not that good... It's pretty difficult to be 100% sure. They say: "Almost All new laptops work fine with Ubuntu."

IMHO, The keyword here is almost. I shan't be excited if you have one or another problem with running Linux on your computer. I will be incredibly glad to hear all your hardware is working fine! May I ask you of sharing your experience with me?

A piece of my own experience
+ I own an old Acer Extensa 5220.
 - I remember I had a problem with the card reader, I was not able to use a Sony Memory Stick even after installing a third-party driver.
 - I had a problem with the microphone, it produced a lot of noise.

+ I bought an HP 625 this summer cause I found it here with "five TUXs" rating.
 - Microphone is still producing some noise, but it is much better.

+ I have also a custom desktop computer.
 - I have no sound.

+ I know people having great problems with
 - having two graphical cards and being not able to use both of them
 - having no sound

I must admit that the things are getting better each day
And my last search session was very fruitful.
Google or DuckDuckGo "linux computer", "linux laptop".

Check it out for sure! http://linuxpreloaded.com/

Very useful links:
Ubuntu Certified hardware Homepage
Ubuntu Desktop/Laptop/Netbook certified hardware
Component catalog, parts certified by Ubuntu
Linux Laptops on LinuxCertified.com
Hettes.nl Open Source Webshop

Perhaps useful links:
Linux-drivers.org - Linux Hardware Compatibility Lists & Linux Drivers
Linux Hardware Compatibility HOWTO
Hardware Devices that Support GNU/Linux — Free Software Foundation — free as in freedom
Is my hardware Linux-compatible? Find out here | Linux.com
Supported Hardware | Linux Journal

PS: If you want a Linux laptop, I would advice Dell, Lenovo or HP. But! there is so much new to try in this world! Be brave to check out something new and share it with the others!

Saturday, April 14, 2012

How to disable alt drag Ubuntu Unity

With Unity-2D, this is controlled using the /apps/metacity/general/mouse_button_modifier GConf key. To disable Alt+Click dragging, run
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string disabled
To re-enable it, run
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string ''
Note that this GConf key controls several mouse shortcuts:
  • Alt+Click: Move windows
  • Alt+Middle Click: Resize windows
  • Alt+Right Click: Open a generic window menu
N.B: Disabling the modifier in this way can lead to the Alt+Drag behavior when no modifier keys are pressed (Every drag behaves like Alt+drag) Setting the modifier to '' makes the Super/Windows key the modifier. Alt+Drag can then be used by applications, and Super+Drag to move the window.
gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string '
 
Link:
http://askubuntu.com/questions/80623/how-to-disable-altclick-from-moving-windows 

Ubuntu Sublime Text 2 as default text editor | Ubuntu Notepad++ Replacement | Bash script can handle filenames with spaces

Short description:
We install "Sublime Text 2" in steps 1 to 4.
We set "Sublime Text 2" as default text editor in step 5.

1. Download Sublime Text 2 from its official site or from my mirror.

2. Extract obtained archive somewhere. Rename the folder you've got to "SublimeText2".

3. Open terminal in the directory where "SublimeText2" folder is located and run the following command: 
sudo mv SublimeText2 /usr/lib/

4. Download sublimetext and sublimetext.desktop from my mirror. Open terminal in the directory where these files are located and run the following commands: chmod +x sublimetext sublimetext.desktop
sudo mv sublimetext /usr/bin/
sudo mv sublimetext.desktop /usr/share/applications/

5. Create an empty file without extension, ie: Open your home directory in nautilus, select menu item File -> Create New Document -> Empty Document, press Enter. Right-click on just created "Untitled Document" -> Properties -> tab "Open with" -> Show other applications -> find "sublimetext" in the list -> Set as default. Close. Now, you may delete "Untitled Document".

That's it.

UPD: You can also just edit ~/.local/share/applications/mimeapps.list to set default applications. See an example of mimeapps.list under the cut.

Wednesday, April 11, 2012

Ubuntu Touchpad Synaptics Multitouch HP625

I own an hp625 and I run Ubuntu 11.10 on it (it will be 12.04 very soon).
Nowadays you should know very much things in order to do simple things with your hardware if you're running GNU/Linux distribution.

I have noticed that my Synaptics Touchpad has very much possibilities and a very nice Windows tool to configure them. But for GNU/Linux there are not so much graphical tools to do it and they do not cover all the options. It's a real adventure to configure it a little bit. :D

Now, my touchpad is able to simulate
"next" button if I click in the right-top corner
"prev" button if I click in the left-top corner
middle button if I click with two thingers
right button if I click in the right-bottom corner
circular scrolling
scrolling with two fingers
edge scrolling (continuous)
show move/resize window dialog if I click with 3 fingers
move if I click with 3 fingers and move with 3 fingers

Maybe I'll try to set up some more features.
Maybe there will be a nice graphical tool in the future.

I have already tried
 - standard Mouse and Touchpad configuration tool
 - gpointing-device-settings
 - synclient (manual configuration)

For me this combination was just fine(it could be better).
I should run some commands in order to get some keys to work as I want them.

synclient TapButton1=1 TapButton2=2 TapButton3=3
After this command middle and right buttons are fine (see above).

synclient VertEdgeScroll=1 HorizEdgeScroll=1
After this command edge scrolling works much better.

synclient LTCornerButton=8 RTCornerButton=9
After this command "Next" and "Previous" buttons are fine (see above).

Related links:
Finding the Mouse Button Codes Navigate in Ubuntu Nautilus Using the Mouse Back/Forward Buttons :: Chris Jean
Touchpad Synaptics - ArchWiki
Touchpad Synaptics (Русский) - ArchWiki
Touchpad Synaptics/10-synaptics.conf example - ArchWiki
Synaptics Touchpad - Gentoo Linux Wiki
Synaptics Touchpad/Xorg 7.3 - Gentoo Linux Wiki

Problematic things:
 - /etc/rc.local does not start at boot time
   Do no try to fix it. You'd better write a bash script and add it to StartUp Applications (graphical ubuntu tool).
 - xbindkeys does not work. I did not even need it. I did not fixed it.

Tuesday, April 10, 2012

/* NO COMMENTS */

MY BIG NOTE : THIS SCRIPT IS NEVER EXECUTED at boot time IN UBUNTU 11.10. NO MATTER WHAT YOU DO.

/etc/rc.local

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
RETURNVALUE=0
synclient TapButton2=2 TapButton3=3
RETURNVALUE=$(($RETURNVALUE + $?))
echo $RETURNVALUE > /home/ted/rc.local.executed
exit $RETURNVALUE

Saturday, March 31, 2012

Compare files and directories in Ubuntu |or| Nautilus Meld Integration

I compare files and directories very often.
One day it seemed to me to be "too much" to open Meld and to copy-paste 2 paths into it to compare 2 files/directories.

So, I have written some scripts(and associated shortcuts with them) to make it easier and faster.
Download nautilus-meld-integration.tgz. It's free.
You'll find the scripts and all necessary information in the README.
Follow the README and you'll get it working(after about 2 minutes).

Feedback is always welcome.
Have a good day.

Tuesday, March 13, 2012

Create custom Unity launcher / Menu entry

There are quite a few applications, which don’t integrate directly with Ubuntu’s Unity shell by default. They either won’t get kept in the launcher or their icon is not displayed.

General Workaround

Type gnome-desktop-item-edit ~/Desktop/ --create-new
Create launcher. Place it into /usr/share/applications directory.

Taken from http://shuffleos.com/3274/how-to-create-desktop-launchers-in-ubuntu-11-10-oneiric-ocelot/

Workaround 1
Type gksudo gedit /usr/share/applications/.desktop
 

After entering the password, gedit will open in root mode.
Paste the following into the file:

[Desktop Entry]
Version=1.0 #or whatever version the software is
Type=Application
Terminal=false
StartupNotify=true
Icon=<> # fill in path to logo
Name=
Comment=<> # any description
Exec=env UBUNTU_MENUPROXY=0 <> # fill in path to the executable
Categories=Application; # add as many categories as you see fit
After filling in the required data in the file, save it and close it.

Next time you search for the application in the dash, it will be found with logo and all. You can drag&drop it on the launcher, or start it and right click then ‘Keep in launcher’.

Some of the software I have used this for are: Eclipse and Skrooge.


Taken from http://ubuntutechnical.wordpress.com/2011/11/10/create-custom-unity-launcher/


Workaround 2
Just do the following
wget  http://dl.dropbox.com/u/47950494/Create-Launcher
cp Create-Launcher ~/.gnome2/nautilus-scripts
chmod +x ~/.gnome2/nautilus-scripts/Create-Launcher
mv ~/.gnome2/nautilus-scripts/Create-Launcher ~/.gnome2/nautilus-scripts/”Create Launcher”
"Create-Launcher" is just a bash script, you can create it self. Do not forget to do "chmod +x Create-Launcher" afterwards. Its contents:
#!/bin/bash
gnome-desktop-item-edit --create-new ~/Desktop
Taken from http://shuffleos.com/3708/how-to-create-desktop-launchers-right-click-context-menu-ubuntu-11-10/

I hope everybody can do it now. (including me)

Friday, January 20, 2012

Top Coder SRM strategies & Kawigi Edit plugin

Top Coder SRM strategies - it's just a copy of this thread.
Top Coder Arena - Java Web Start Application or just Java Applet.
You can find all information about KawigiEdit here.
View all arena plugins.
How to Compete in SRM Algorithm Competitions - articles.

Tuesday, January 3, 2012

Split a big image in some smaller - Image Magick - Ubuntu Linux - Note 1

I have always been thinking and I'm still thinking that everything in Linux is very easy...

One small correction: if you know how.

Today I wanted to split one big screen-shot in some smaller parts so that they fit my screen...

Solution (is very easy)

convert big.png -crop '100x6.66%' small.png
 
This command splits a big image into an appropriate number
of smaller ones, each of following size: 100% of big width,
6.66% of big height. It was a good solution in my case.
 
More info at imagemagick.org

Wednesday, October 5, 2011

Acer Iconia Tab Linux Driver

There is no need to install any driver to browse/manage/control your Acer Iconia Tab from you laptop/desktop PC running Ubuntu (or any other Linux distribution, probably).
You only need to follow the instructions here to install and configure the latest Android SDK and here to let Android SDK know the rules needed to measure with your tablet.

That's it. See you next time.

Tuesday, August 2, 2011

Adding REAL Firefox to Debian Lenny

it's a copy of original post:

Adding REAL Firefox to Debian Lenny

December 26, 2008
I realize it’s a touchy subject, but some of us prefer unmodified Firefox — including the standard Firefox icon — to Debian’s Iceweasel alternative. Here’s a three-step way to substitute Firefox for Iceweasel on a fresh Lenny install.

This procedure assumes you’ve downloaded and installed the latest Debian Lenny (aka “testing,” currently) GNU/Linux distribution, along with its standard GNOME desktop environment.
  • Using Iceweasel for the last time, download Firefox to your home directory. Let’s assume the name of the file you downloaded is “firefox-3.0.5.tar.bz2″ (the current version as of this writing).
  • Open up a terminal window and, as root, type the following commands (following each by hitting Enter):
      apt-get remove iceweasel mv firefox-3.0.5.tar.bz2 /usr/lib/ cd /usr/lib/ tar -jxvf firefox-3.0.5.tar.bz2 ln -s /usr/lib/firefox/firefox /usr/bin/firefox
    If you prefer, you can simplify the above commands by copying/pasting the following text onto your terminal command line:
      apt-get remove iceweasel; mv firefox-3.0.5.tar.bz2 /usr/lib/; cd /usr/lib/; tar -jxvf firefox-3.0.5.tar.bz2; ln -s /usr/lib/firefox/firefox /usr/bin/firefox
  • Finally, you’ll need a launch icon on your desktop. You can create that the standard way GNOME allows, or simply save this file to your GNOME desktop.
That’s all there is to it!
Well, one other point. To make use of browser plugins that have already been set up by your Debian installation, you’ll want to create a symlink from /usr/lib/firefox/plugins/ to /usr/lib/mozilla/plugins/, using this two-part command (as root):
    rm -rf /usr/lib/firefox/plugins; ln -s /usr/lib/mozilla/plugins /usr/lib/firefox/plugins
Incidentally, on my installation, the default flash plugin that came with Lenny (flash-mozilla.so) required me to click a large play button (shown at right) each time I visited a web page that used flash. So, I went to Adobe’s flash plugin download page and downloaded the flash plugin for debian, then installed it with the command “dpkg -i install_flash_player_10_linux.deb” (as root). That plugin (flashplugin-alternative.so) works much better.

Saturday, July 9, 2011

Driver for Canon Pixma MP280 printer-scanner

The driver is officially released by Canon
Printer driver: http://support-in.canon-asia.com/con...100301402.html
Extract the archive and find the .deb packages in the extracted folder... install the deb file that has "common" word in the name first, then the mp280 deb file.
Similarly download and install the scanner package: http://support-in.canon-asia.com/con...100302702.html
The same concept.
Download the scanner instructions from here: http://support-in.canon-asia.com/con...300410501.html
Solution of http://ubuntuforums.org/showthread.php?t=1582497 by dhayfule.

Saturday, April 23, 2011

Converting MP3s to M4B audiobooks, and M4B to MP3

Here’s how to convert M4B audiobooks (used by Apple iPod) to MP3, and how to create an M4B from one or more MP3s.
The easy bit first: M4B to MP3
For a single file:
ffmpeg -i -acodec libmp3lame -ar 22050
For a bunch of M4B files:
for m4b in $(ls -1 *.m4b); do ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done

The more involved bit is to create an M4B audiobook from a bunch of MP3 files, so I have an automated script.
First thing is to ensure all the MP3 files you want to include in ONE M4B have sequentially numbered names:
filename-01.mp3
filename-02.mp3
or, if you want to create the M4B from more than 100 M4B files:
filename-001.mp3
filename-002.mp3
etc.
Copy and save the script below to the file create_audiobook and make it executable:
chmod 755 create_audiobook
For each M4B audiobook optionally set the tags using environmental variables:
export AUTHOR="The Author"
export TITLE="Some Book"
export YEAR="2007"

Make sure you’ve got plenty of free space on the mount point the source files are on. If you need to have the HUGE temporary files put on another mount point with plenty of space (Allow for more than 3GB of free space) then set the TMP environmental variable to point to a location that has plenty of space and allows users to create/delete files:
export TMP=/tmp
By default, TMP is set to the current directory if not specified like this.
Now run the script, passing the output filename and the input file mask. Here’s two possible usages:
create_audiobook "Terry Pratchett - Colour of Magic" "Terry Pratchett - Colour of Magic - *.mp3"
create_audiobook "Terry Pratchett - Colour of Magic" *.mp3
Note the quotes around the two parameters that allows spaces in filenames.
#!/bin/bash
# create ipPod audiobook from group of sequentially named MP3 files
# Set environmental variables for track ID3 tags
# AUTHOR, TITLE, YEAR
# usage: create_audiobook
#
# Pass output filename on command-line with no extension, and use quotes if there are spaces in filenames
# e.g. create_audiobook "Terry Pratchett - Colour of Magic" *.mp3
# e.g. create_audiobook "Terry Pratchett - Colour of Magic" "Terry Pratchett - Colour of Magic - *.mp3"

if [ "x$TMP" == "x" ]; then
TMP=.
fi
echo “Args: $@”
echo “Author: $AUTHOR”
echo “Title : $TITLE”
if [ "x$1" != "x" ]; then
filename=$1
if [ "x$2" != "x" ]; then
echo “Output: $filename”
filelist=”$(echo “$2″ | sed -e ‘s/ /\\ /g’)”
echo “Filelist : $filelist”
echo “Writing HUGE temporary files to $TMP”
# Use a sub-shell to preserve spaces in filenames passed to mp3wrap
sh -c “mp3wrap -v \”${TMP}/${filename}\” ${filelist}”
if [ $? = 0 ]; then
mplayer -vc null -vo null -ao “pcm:nowaveheader:fast:file=${TMP}/${filename}.pcm” “${TMP}/${filename}_MP3WRAP.mp3″ 2>&1 | tee ${TMP}/create_audiobook_mp.log
# example from log
# AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AUDIO=”$(egrep ‘AO:’ ${TMP}/create_audiobook_mp.log)”
echo “Audio Format: $AUDIO”
RATE=$(expr “$AUDIO” : ‘AO: .* \(.*\)Hz.*’)
CHANS=$(expr “$AUDIO” : ‘AO: .* .*Hz \(.*\)ch.*’)
SAMPLESIZE=$(expr “$AUDIO” : ‘AO: .* .*Hz .*ch s\([0-9]\+\).. .*’)
echo “ENCODING: $RATE Hz, $CHANS channels, $SAMPLESIZE bit sample size”
/usr/bin/faac -R $RATE -B $SAMPLESIZE -C $CHANS -X -w -q 80 –artist “$AUTHOR” –album “$TITLE” –title “$TITLE” –track “1″ –genre “Spoken Word” –year “$YEAR” -o “${filename}.m4b” “${TMP}/${filename}.pcm”
rm -f “${TMP}/${filename}.pcm”
rm -f “${TMP}/${filename}_MP3WRAP.mp3″
rm -f “${TMP}/create_audiobook_mp.log”
echo -e “\n\nCreated ${filename}.m4b”
fi
fi
fi


Article is token from http://intuitivenipple.net/10/converting-mp3s-to-m4b-audiobooks-and-m4b-to-mp3

Thursday, January 27, 2011

Musea in de 21ste eeuw. Ideeën Projecten Gebouwen

Datum 29/01/2011 – 30/04/2011
Vanaf 29 januari tot en met 30 april kunnen jullie de lege zalen van het Koninklijk Museum voor Schone Kunsten Antwerpen doorlopen.
Maar waarvoor!? Lege zalen. Ze zijn toch met de renovatiewerken bezig, dacht ik.
Maar het blijkt dat de echte renovatiewerken pas in mei zullen beginnen. En in het einde van 2014 zal het museum de deuren weer open doen met een grote tentoonstelling over de invloed van Rubens op de Europese schilderkunst.
Vandaag staat het museum ook niet stil en houdt een tentoonstelling over musea gebouwen.
Musea zijn brandend actueel.
Mensen richten zichzelf tot kunst. Ze weerspiegelen het verleden, heden en toekomst. En uiteraard doet het iedereen op zijn eigen manier.
Schilders – schilderen. Dichters – dichten. En architecten – bouwen.
Denk maar aan het Parijse Centre Pompidou van 1977.
De expo toont prominente en toekomstgerichte bouwprojecten uit het voorbije decennium. Het gaat om projecten die in Europa, Noord-Amerika, Azië en Australië gepland, in uitvoering of voltooid zijn. Vier thema's staan centraal: renovatie en nieuwbouw; de uitbreiding van bestaande musea; museumarchitectuur in het weefsel van de stad en musea in de natuur.
Je kan ontwerpen bewonderen van internationaal gerenommeerde architecten als Tadao Ando of Jean Nouvel.
Ook de twee Antwerpse projecten, het Museum aan de Stroom(MAS) van Neutelings Riedijk Architecten en het KMSKA van Claus en Kaan Architecten Rotterdam komen aan bod.
Het gloednieuwe Museum aan de Stroom opent op datzelfde moment wanneer het KMSKA sluit de deuren dicht voor een ingrijpende renovatie en uitbreiding die enkele jaren zal duren.
Antwerpen staat niet stil. Laten we eens kijken wat er nog gezien kan worden.

Get .ppt and .doc files about this topic here.

Thursday, December 30, 2010

Mass printing... How to print locked pdf file. Part 2: Windows.

I've already described a way to solve this problem for Linux users here.
In Windows it can be solved even easier.
Just follow the instructions:

    Download pdf2djvu.
    unpack the downloaded archive
    copy a pdf file with ban on printing to the program directory(pdf2djvu directory).
    open a terminal in the program directory and run the following command:
         pdf2djvu -o output.djvu locked_pdf_example.pdf

    output.djvu - output file in djvu format
    locked_pdf_example.pdf - input file (name of the pdf file with ban on printing)

Output.djvu has a lot of advantages: it is usually smaller and you can print it!
To view djvu files you will need WinDjVu.


Copy music from iPod to PC

I'll give iPod 0 points in this case because it's not easy to get your music back from your iPod.

It's not a secret that all the music files on iPod are in the hidden directory \iPod_Control\Music\.
To see hidden files in Windows XP:
1. On the Tools menu in Windows Explorer, click Folder Options.
2. Click the View tab.
3. Under Hidden files and folders, click Show hidden files and folders.
Note: To access Windows Explorer, click Start, point to All Programs, and then click Windows Explorer.
To see hidden files in Windows 7:
1. Open Folder Options by clicking the Start button Picture of the Start button, clicking Control Panel, clicking Appearance and Personalization, and then clicking Folder Options.
2. Click the View tab.
3. Under Advanced settings, click Show hidden files and folders, and then click OK.
Copy all files/folders from \iPod_Control\Music\ to a folder on your pc.
But our adventure does not end here: the files have wrong names.
Download Tag Scanner and rename the files using a mask. E.g.: %artist% - %title%
Program interface is intuitive.

But the mp3 files may not contain ID3-tags(optional information). In this case you should switch to the "Tag editor" in the program TagScanner and add the information you know yourself. I added authors and titles for only 16 songs(out of 367).

Alternatives:
  • Practice in programming and write a little script. For example, using id3lib.
  • Use iTunes.

OpenGL, C++ and GLUT using CodeBlocks and MinGW

Original can be found at LevelByLevel.com: OpenGL, C++ and GLUT using CodeBlocks and MinGW – Updated.

On my old blog, CodieCode, I wrote a tutorial on how to set up an OpenGL, C++ and GLUT environment using the CodeBlocks IDE and MinGW compiler on a Windows XP and Vista machine. This was a popular post which seemed to help quite a few people. However time moves on, software updates and operating systems change. I’ve decided to update this tutorial with Windows 7 (though this should still work fine on XP and Vista) and the latest version of CodeBlocks and MinGW. Hope it helps

I would like to add that if you’re serious about learning OpenGL, I think it’s a must that you own “The Red Book” (OpenGL Programming Guide by Dave Shreiner). You can buy it from Amazon (with the link on the left) or wherever you normally buy your coding books. Either way it’s a fantastic resource to have and it’s helped me countless times in the past.

———

If you’re interested in coding in OpenGL and C++, a great way to start is by using GLUT. GLUT takes care of a lot of the difficulties in setting up an OpenGL project and lets you get started on your project quick and easily. In this tutorial I will guide you through installing and setting up the software you’ll need (CodeBlocks, MinGW and GLUT).
Before you can start you’re going to need a few things:

Windows – I’ve updated the steps below to run on Windows 7, Windows XP and Vista, If you manage to get this working on other operating systems, let me know

OpenGL – I’m not going to go into how to install OpenGL in this tutorial as most people will be using Windows XP or later and OpenGL comes ready in these operating systems.

GLUT – To download the GLUT files you’ll need click here and download ‘glut.zip’.

IDE (Integrated Development Environment) – While it’s possible to use an editor (such as Notepad++) and makefiles. I find the easiest and most efficient way to code is using a good IDE (be careful there’s some not-so-good IDE’s out there). The best that I’ve come across is CodeBlocks (I’m not a fan of using Visual Studio for OpenGL but you can use that too if you wish) and it’s this IDE that we’ll be setting up today.

C++ Compiler – The compiler I’ll be using is MinGW, there are many advantages to using this but I wont go into these here.

So without further ado, lets start:

Sunday, December 26, 2010

Bash Tips for Working Faster With the Shell

"Using !! "This command is used to bring back and automatically execute the last command in history. It is the same as pressing C^P followed by Enter). Here’s an example:

debian$ cat /etc/debian_version
5.0.7
debian$ !!
cat /etc/debian_version
5.0.7

"Using !text

"Replacing ‘text’ with any command will call the last command in the history which starts with ‘text’. Example:"

Original story:
10 Bash Tips for Working Faster With the Shell (Part 1 of 2)
In addition:

Thursday, December 23, 2010

Really clear...


Do you love him?

It is a very old story that goes from 1994...
But many people come to understand only now...

http://charter97.org/en/news/2010/4/7/27925/

If you don't know these people... left to right: Hitler, Lukashenko.