DF (Disk Free) – Check free disk space
Displays available disk space in human readable format: Or you can target a specific disk:
very very slowly
Displays available disk space in human readable format: Or you can target a specific disk:
Most commonly used List command is: Example output: d rw-rw-r– 1 piroman piroman 65379 oct 12 11:11 z9a6t8j0qis51.jpg type permissions link count owner group size date time name LS options/switches: ls -a list all files including hidden file starting with ‘.’ ls –color colored list [=always/never/auto] ls -d list directories – with ‘ */’ ls … Read moreLS (List) command
Sets Access Control Lists (ACLs) – adds permissions to files and directories for a user that is not a member of a group owning them. Install ACL tools Gives a read permission to user for target directory and sub directories and files, although the target directory is owned by another user: By adding wx parameters, … Read moresetfacl – Set File Access Control List
SCP uses SSH credentials to copy files and directories between 2 computers. It can be used to copy: From your local computer to a remote computer From a remote computer to your local computer Between two remote computers from your local computer The colon : sign is used to distinguish remote computer. SCP overwrites files … Read moreSCP (Secure CoPy)
Check if there is already a public authentication key on local computer, this first step is important because if you override existing public authentication key, you will not be able to password-less login to previously set remote computers: If you already have public authentication key you can use it for password-less login but if there’s … Read morePassword-less SSH Login
DU (Disk Usage) command Lists directories with sizes in human readable format (Gb,Mb): Or you can show sizes of entire directory sub tree: Deletes directory and all files in it without prompting:
First use the fdisk with superuser privileges to list all your disk drives and partitions: Check your partitions by typing: Example output: Or you could sadly get the number of bad sectors 🙁
Changes the owner of all sub-directories and files in target directory: Changes permissions of all sub-directories and files in target directory:
In the end it was: Ubuntu, Pop OS and Garuda. I’ve tested many distributions and was using Ubuntu for about 2 years. I just got bored, I had no real complaints, so it was a time for a new distro. I really liked the looks of Deepin but it was almost useless. Garuda was a … Read moreHow & Why
Create archive from directory or a single file: tar -czvf archive.name.tar.gz /target.dir Extracts archive: tar xzvf archive.name.tar.gz Extracts archive in target directory: tar xzvf archive.name.tar.gz -C /target.dir