User Tools

Site Tools


public:linuxpermition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:linuxpermition [2023/07/26 19:01] lukaspublic:linuxpermition [2024/11/27 09:13] (current) lukas
Line 1: Line 1:
-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.+You could also do  
 +<code> 
 +chown -R username:groupname . 
 +</code> 
 +, which would change the permissions on the current directory, and then recurse down inside of it and all subfolders to change the permissions. 
 + 
 +<code> 
 +chmod -R 666 /var/www 
 +</code> 
 +will give read, write permissions for everyone. 
 + 
 +Pack: 
 +<code> 
 +tar czf name_of_archive_file.tar.gz name_of_directory_to_tar 
 +</code> 
 + 
 +Unpack: 
 +<code> 
 +tar -xzvf file.tar.gz 
 +</code> 
 + 
 +[[https://linuxize.com/post/how-to-use-scp-command-to-securely-transfer-files/|SCP]]: 
 +<code> 
 +scp [OPTION] [user@]SRC_HOST:]file1 [user@]DEST_HOST:]file2 
 +</code> 
 + 
 +[[https://www.stationx.net/how-to-use-nmap-to-scan-a-network/|Scan network]]: 
 +<code> 
 +sudo nmap -sn 192.168.52.0/24 
 +</code> 
 + 
 +https://reintech.io/blog/setting-up-nfs-server-on-debian-12 
 + 
 +<code> 
 +sudo apt install cockpit cockpit-storaged cockpit-networkmanager cockpit-packagekit -y 
 +</code> 
public/linuxpermition.1690398094.txt.gz · Last modified: 2023/07/26 19:01 by lukas