public:linuxpermition
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:linuxpermition [2024/10/29 09:25] – lukas | public:linuxpermition [2026/10/24 08:01] (current) – lukas | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| </ | </ | ||
| will give read, write permissions for everyone. | will give read, write permissions for everyone. | ||
| + | |||
| + | Partitions: | ||
| + | < | ||
| + | lsblk -f | ||
| + | </ | ||
| + | or: | ||
| + | < | ||
| + | # file -sL /dev/sd* | ||
| + | </ | ||
| + | result: | ||
| + | < | ||
| + | /dev/sda1: Linux rev 1.0 ext4 filesystem data, UUID=63fa0104-4aab-4dc8-a50d-e2c1bf0fb188 (extents) (large files) (huge files) | ||
| + | /dev/sdb1: Linux rev 1.0 ext2 filesystem data, UUID=b3c82023-78e1-4ad4-b6e0-62355b272166 | ||
| + | /dev/sdb2: Linux/i386 swap file (new style), version 1 (4K pages), size 4194303 pages, no label, UUID=3f64308c-19db-4da5-a9a0-db4d7defb80f | ||
| + | </ | ||
| + | Check ext2 ,ext3, ext4 partition: | ||
| + | < | ||
| + | sudo umount /dev/sdXN | ||
| + | sudo e2fsck -f -n /dev/sdXN | ||
| + | </ | ||
| + | -n reports issues without making changes. If you want e2fsck to repair errors interactively, | ||
| + | < | ||
| + | sudo e2fsck -f /dev/sdXN | ||
| + | </ | ||
| Pack: | Pack: | ||
| Line 25: | Line 49: | ||
| </ | </ | ||
| + | Rsync to NTFS filesystem (rsync have to be installed on boths machines) | ||
| + | < | ||
| + | rsync -rtv --modify-window=1 [user@]SRC_HOST: | ||
| + | </ | ||
| + | |||
| + | Password less SSH | ||
| + | http:// | ||
| + | < | ||
| + | cat .ssh/ | ||
| + | </ | ||
| + | |||
| + | [[https:// | ||
| + | < | ||
| + | sudo nmap -sn 192.168.0.0/ | ||
| + | </ | ||
| + | |||
| + | https:// | ||
| + | |||
| + | Add PPA Debian: | ||
| + | < | ||
| + | sudo apt -y install software-properties-common python3-launchpadlib | ||
| + | </ | ||
| + | |||
| + | Hex Editors for Linux | ||
| + | < | ||
| + | sudo apt install hexedit | ||
| + | </ | ||
public/linuxpermition.1730193945.txt.gz · Last modified: by lukas
