Folder | Your secret spy resident for Linux, web server and hardware

Posts tagged ‘folder’

Linux folder size

I love linux systems, but some aspects of using of this system and lack of appropriate tools will always make me irritated. One of the thing I always missing is the analog of Norton Commander (like in MS DOS). The good but definitely not the total alternative is Midnight commander. If ever used both products you definitely know how Midnight Commander (even latest 4.8.2) is very simplified in comparison with old Norton Commander 3.0 which is almost 12 years old (and I’m not talking about 5.5 version of NC).

So as you see the most advanced file manager for Linux console available still cannot perform such a simple task like show size of specified folder.

There are many separate Linux utills but I will bring the example which I like most. First change the folder you wish to check size for:

cd /yourfoldername

after type

du -h | tail -n 1

It will show the size of the folder including the files in sub-folders. See the screen shot below.

Show folder size of folder in linux system

How to mount or add DVD or CD media in Linux

Mounting in Linux is operated by mount command. This is simple way to get access to devices other than currently available on your system. Please note that mounting will be lost after your system restart. To know how to save your mounting after restart, read this post until the end. 

Continue reading ‘How to mount or add DVD or CD media in Linux’ »