Linux Commands

Here is most offten used (by me) set of linux commands. That's just examples, so remember to adjust them to yours needs.
Zeroing disk
dd is very good tool for cloning, zeroing or fulfilling with random data disks. Using block size = 64KB increases performance.

Fulfilling disk with random data
You can use dd, as shown above, or this:

Root password on live CD

Display what make does
It does not compile. It only shows what commands make calls. It's usefull when you are trying to figure out why there are problems with compilation.

Make iso file (CD image)

Dump symbols from library

List shared libraries used by executable

List sblock devices
I used that when I was looking for cd-rom (/dev/sr0).

Searching for text in files.


Copy file to remote machine