Live Chat!

Run multiple commands consequently

          0 votos

October 3rd, 2006 mysurface

By specified terminator ( ; ) like in C/C++ programming, you can run multiple commands consequently. We usually want to do this when we want to compile and install source code for certain packages.
./configure;make;make install
Bash first execute the configure, then make , consequently will install the package. But bare in mind, bash have no intelligent, [...]

Posted in Symbol, du, read, terminator, while | Hits: 14469 | 3 Comments »

checking disk space using df and du

* * * *   1 votos

August 31st, 2006 mysurface

The common way to check for all partition disk space, how much is still remain, you can simple use
df -h
Usually I will put -h to make it size human readable.
Another good tools to check the disk space for directories, we use du. You may realized that when you type ls -l, the size of every [...]

Posted in Common, df, du | Hits: 12194 | 3 Comments »