blog.up-link.ro android bsd linux unix & open-source world

15Mar/100

How To extract a single file from an archive

To extract a single file from an archive, do the following:
# tar zxf archfile.tgz –include=”filetoextract”

You can use patterns as well:
# tar zxf archfile.tgz –include=”filetoextract*”

‘filetoextract’ should contain the full path.

To check file’s full path, do the following:

# tar tf archfile.tgz

Print This Post Print This Post
15Feb/100

How To Improve the Speed of Firefox 3 in Linux

We all know Firefox is a memory hog. To speed things up, do the following:

Open Firefox and type about:config in the address bar.
Click the “I’ll be careful, I promise“ button
Use the search bar above to look for network.http.pipelining and double click on it to set it’s value to True.
Create a new boolean value named network.http.pipelining.firstrequest and set it to True.
Find network.http.pipelining.maxrequests and change its value to 8.
Look for network.http.proxy.pipelining and set it to True.
Create two new integers named nglayout.initialpaint.delay and content.notify.interval, set them to 0.
Restart your browser.

Enjoy!

Print This Post Print This Post
12Feb/100

10 Linux Tips and Tricks

Here you will find a collection of usefull tips and tricks for Linux-based Operating Systems.

1. How to remove a file with a dash as first character?

If you accidentally created a file with a "-" in the beginning then you want to remove it, you have to do :

# rm ./-filename

or

# rm -- -filename

2. How to set-up nice welcome messages?

It's not actually a tip, it's just a nice thing that will make every login more cooler.
Go to http://www.fi

Print This Post Print This Post