Monday, December 26, 2016
Friday, December 23, 2016
Updating existing software on linux from command line
These commands will upgrade all existing software packages on linux and remove any no longer used packages/dependencies
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo
apt-get autoclean
sudo
apt-get autoremove
Monday, December 19, 2016
Using new formatted paritions on linux
When setup linux on my system, I created several new partitions other than home
Once I finished installation, I found out I could only view these partitions, but not copy to them or remove from them
The reason is because these partitions were formatted by a filesystem owned exclusively by root
To change that, change the owner of the partition
Once I finished installation, I found out I could only view these partitions, but not copy to them or remove from them
The reason is because these partitions were formatted by a filesystem owned exclusively by root
To change that, change the owner of the partition
mount /dev/sda4 /mnt/
chown -R khaled:khaled /mnt/
umount /dev/sda4
Subscribe to:
Posts (Atom)