Add new FAQ
Questions in Linux
How to get summarized sizes of folders including their subfolders?
Well there are few ways to achieve this, here are two: du -sh /* This will spit out a summary for the
How to duplicate / copy GPT partition table?
sfdisk doesn´t do the trick on GPT tables, so this will not work. This is also easy, we need to install aptitude
How to skip or bypass fsck on reboot / system startup?
There are a few ways to make this happen, the simplest way is to reboot the machine with this command: shutdown
How to clean drives from software raid (mdadm)?
Software raid is really great in Linux, but once you need to repurpose old drives,or lets say some other implementation
How to restart network card auto-negotiation?
This might be necessary some times, here the line to do it with ethtool: ethtool -r eth1 And here with mii-tool: mii-tool -r
How to change speed / duplex setting of a network connection?
Well, you can do this with mii-tool or ethtool, both should be working nicely. On Debian to install those, run
How to display environment variables?
This is also pretty simple: printenv
How to edit a very large file?
I had to remove one line of a 20GB MySQL dump file and was wondering how I could do this. Actually
How to fix mdadm / mdraid resync=PENDING or auto-read-only?
This happend to me when I created a new md device and checked for the status in /proc/mdstat.The problem is
How to repair GRUB with a live cd?
There are many things that could go wrong with a GRUB installation and one way to get the system booting
How to change crontab email setting ( MAILTO ) ?
This is quite easy, just add the MAILTO line to your crontab, preferable to the top, so config parameters stay
How to duplicate / copy partition table?
In Linux there is a small helpful tool for this, called sfdisk. It is able to diplays and manipulate the
How to fix "Internal error: Berkeley DB error for filesystem"?
After working with the subversion system pretty flawlessy for years (as standalone service and within apache), I had this problem
How do I upgrade from Debian Lenny to Squeeze?
Here you go: (please do that in textmode and not in your GUI, so KDE or whatever can be restarted without
How to convert an ext3 partition to ext4?
Well, this is actually not too hard and ext4 gives better performance in various cases, so an update to ext4
How to undelete removed/deleted files on an ext3 / ext4 fs?
Here is a new tool that will help you with recovering files from an ext3 or ext4 partition:http://extundelete.sourceforge.net/
How to install Debian Lenny from a USB stick?
Hi there,the only hard thing here is preparing the USB stick, but actually the Debian guys took care of most
How to stop ssh brute force attacks?
well, there are a few way, the way of my choosing is to just use the recent module from iptables: iptables
How do I convert an ext2 to an ext3 file system?
first of all: check if your kernel supports ext3!(most kernels since 2006 do that anyhow, so you should be fine) optional
How to undelete removed/deleted files on an ext3 fs?
Well, there are three ways I know and have succeeded so far: Follow this instructions: http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html the other way is to scan
everything about Linux