Showing headlines posted by petur
Speed up your Internet browsing on Linux with a DNS Cache server
Most Linux distributions, unlike OpenSuSE, OS X and Windows, do not have a DNS Cache service installed by default. Your computer will need to lookup a website’s IP address every time you visit it. The lookup request is passed on to the DNS server(s) specified in the /etc/resolv.conf file. It will take the server a few ms (milliseconds) at best to respond. It can take a ‘long’ time if your using a slow Internet connection (or a wireless LAN).
Linux Is Vulnerable to Malicious USB Devices.
"A bug in the Caiaq USB driver, which could be used to execute arbitrary at the kernel level has been reported by Rafael Dominguez Vega of MRW InfoSecurity. The device drivers are vulnerable to buffer overflow condition when an USB device with an unusually long name (over 80 characters) is connected to the machine."
5 Things OS X does better than Linux
Linux is, without doubt a good operating system, although I feel more needs to be done to de-alienate it for the average user. I’ve been using Linux as my primary OS for the last 12 years. A few months ago I decided to give OS X a try and since then I’ve been spending more and more time using it.
Read more at Petur.eu
Read more at Petur.eu
Using the /proc filesystem
The proc filesystem is a special filesystem found on most UNIX-based systems.
It holds a great deal of information, in ASCII format, most of which is not very friendly to the average user.
How to properly redirect the output of command executed with sudo.
Alot of people seam to be having problems with proper redirection of 'sudo command' to a file. So many would rather 'sudo -s' than understand why 'sudo command > output' does not work.
Wait no more, I shall tackle this problem and explain it to you!
Change to your Favorite directories on the bash shell by scripting ‘cd’.
I’m sick and tired of having to remember and ‘cd’ long paths. I decided to create my own console based Favorites-script which makes use of a definitions file which is easy to change. “cd /home/petur/Documents/school/2010/fall/chemistry” becomes “cdf chemistry” and “cd /var/log” becomes “cdf log”
Howto download ISO files directly to a CDDVDBLU-RAY
It is possible to download .iso files “almost” directly onto a cddvdblu-ray disk. “almost” because only a few KiB at most will be used as a buffer on the drive during the process. The following process is especially ideal for users running Linux from RAM or small USB sticks.
Build your own super computer using Ubuntu 10.04.
I show step-by-step how you can setup your own using Ubuntu 10.04 super-computer. A student should be able to setup and play with a computer cluster system at home without spend days reading through Linux systems-administrators books and manuals.
"Shifting" to another keyboard layout in GNOME.
The Danish language makes use of two letters [åÅ] and [øØ] which are not on my Icelandic keyboard. Having to switch permanently between keyboard layouts all the time with key combinations (Windows way of doing things) such as alt+shift is tiresome! It turns out that there’s a very easy way to switch between layout in GNOME.