Category Archives: linux

disk analyzer : how to ignore mounts

under ubuntu the default disk analyser (baobab) don’t offer ignore directories option.
In the case of we would like analyse the root folder / and ignore mounts in /media for example the easy way is to :
– create new temporary folder,
– mount the root filesystem on it,
– analyse the temporary folder
– unmount and delete it

So, first proceed like following

> sudo mkdir tmpAnalysis
> sudo mount /dev/sda1 tmpAnalysis
> baobab tmpAnalysis

Analysis is ready to explore.

> sudo umount tmpAnalysis
> sudo rm -rf tmpAnalysis

wireshark under ubuntu

1. configure network of cirtual Machine
in VirtualBox –> settings of virtualMachine(ubuntu) –> Network –> set Promiscuous Mode to allow All
2. start virtual Machine ubuntu
3. install wireshark
> sudo apt-get install wireshark
4. enable root privilege to dumpcap
> sudo setcap ‘CAP_NET_RAW+eip CAP_NET_ADMIN+eip’ /usr/bin/dumpcap
5. that’s all

share folder from ubuntu to windows

We describe here how to share folder in ubuntu within Samba:

  • host : ubuntu
  • host ip :

– Edit “smb.conf”

– Add following :

– Restart samba:

– In windows, mount new drive :
a. choose drive letter,
b. select network->ubuntu->myshared or type \
c. when request user and password, use one of valid users (here witr)