Get that main directory had the biggest sizesudo du -h --max-depth=1 /
Once you know you can look inside the folders to know the in-depth locationsudo du -h /var/ | sort -rh | head -5
- Ubuntu –
sudo apt-get install build-essential
- CentOS –
sudo yum groupinstall ‘Development Tools’
When the android phone is not detected to the linux system – expecially developer mode. we need to do the few steps to add the permission to the system.
lsusb
this is list all the usb devices- Add new file
sudo vi /etc/udev/rules.d/51-android.rules
- insert content with adjusting of the
9091
and05c6
to the number from lsusb.SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", ATTR{idProduct}=="9091", MODE="0666", GROUP="plugdev"
- After saving of the file please restart udev by
sudo udevadm control --reload-rules
To install google chrome via terminal in Ubuntu please do this 3 steps
- Add Key:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- Set repository:
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
- Install package:
sudo apt-get update
sudo apt-get install google-chrome-stable
Every Linux System has three options to clear cache without interrupting any processes or services.
1. Clear PageCache only.
# sync; echo 1 > /proc/sys/vm/drop_caches
2. Clear dentries and inodes.
# sync; echo 2 > /proc/sys/vm/drop_caches
3. Clear PageCache, dentries and inodes.
# sync; echo 3 > /proc/sys/vm/drop_caches
Recent Comments