User Tools

Site Tools


public:linuxpermition

This is an old revision of the document!


You could also do

chown -R username:groupname .

, which would change the permissions on the current directory, and then recurse down inside of it and all subfolders to change the permissions.

chmod -R 666 /var/www

will give read, write permissions for everyone.

Pack:

tar czf name_of_archive_file.tar.gz name_of_directory_to_tar

Unpack:

tar -xzvf file.tar.gz

SCP:

scp [OPTION] [user@]SRC_HOST:]file1 [user@]DEST_HOST:]file2

Scan network:

sudo nmap -sn 192.168.52.0/24
public/linuxpermition.1730210677.txt.gz · Last modified: 2024/10/29 14:04 by lukas