Samba

Samba provides file and print services on Linux for Windows computers. To install Samba: The configuration file for Samba is located at /etc/samba/smb.conf, edit samba configuration: Share example: Password protected share example: System user’s password must be added to Samba: For changes to take effect, you must restart samba: (stop, start)

Rsync

Copies files from a source to destination. Syncs directories without copying already existing files and updating modified files. Works over SSH. remote -> local: local -> local: local -> remote: Options/flags: -a -a equals to use of following options -rlptgoD recursively copy files and directories copy symlinks as symlinks preserve permissions preserve group preserve modification … Read moreRsync

LS (List) command

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

setfacl – Set File Access Control List

Sets Access Control Lists (ACLs) – adds permissions to files and directories for a user that is not a member of a group owning them. 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, user gets both … Read moresetfacl – Set File Access Control List

Tested on Ubuntu & Pop OS