/l3/users/16-10-2018/NT-Ladm/debian3.net.nt/root :1 :2 :3 :4 :5 |
|
#chmod u=rx g= o= file1
![]() chmod: cannot access `g=': No such file or directory chmod: cannot access `o=': No such file or directory |
#chmod u=rx g= o= file1ls
![]() chmod: cannot access `g=': No such file or directory chmod: cannot access `o=': No such file or directory chmod: cannot access `file1ls': No such file or directory |
#chmod u=rx g= o= file1ls
![]() chmod: cannot access `g=': No such file or directory chmod: cannot access `o=': No such file or directory chmod: cannot access `file1ls': No such file or directory |
#ls -alt
![]() total 8 drwxr-xr-x 2 root root 4096 Oct 18 16:45 . -r-xr--r-- 1 root root 0 Oct 18 16:45 file1 -rw-r--r-- 1 root root 0 Oct 18 16:45 file2 -rw-r--r-- 1 root root 0 Oct 18 16:45 file3 drwx------ 8 root root 4096 Oct 18 16:44 .. |
#ls -alt
total 8 drwxr-xr-x 2 root root 4096 Oct 18 16:45 . -r-xr--r-- 1 root root 0 Oct 18 16:45 file1 -rw-r--r-- 1 root root 0 Oct 18 16:45 file2 -rw-r--r-- 1 root root 0 Oct 18 16:45 file3 drwx------ 8 root root 4096 Oct 18 16:44 .. |
#ls -alt
![]() total 8 drwxr-xr-x 2 root root 4096 Oct 18 16:45 . -r-x---r-- 1 root root 0 Oct 18 16:45 file1 -r-xr-xr-x 1 root root 0 Oct 18 16:45 file2 -rw-r--r-- 1 root root 0 Oct 18 16:45 file3 drwx------ 8 root root 4096 Oct 18 16:44 .. |
#ls -alt
total 8 drwxr-xr-x 2 root root 4096 Oct 18 16:45 . -r-x---r-- 1 root root 0 Oct 18 16:45 file1 -r-xr-xr-x 1 root root 0 Oct 18 16:45 file2 -rw-r--r-- 1 root root 0 Oct 18 16:45 file3 drwx------ 8 root root 4096 Oct 18 16:44 .. |
#ls -l
![]() total 8 drwxrwx---+ 2 root devel 4096 Oct 18 16:00 project drwxrwxrwt 2 root root 4096 Oct 18 16:10 public -rw-r--r-- 1 root root 0 Oct 18 16:14 ROOT |
#ls -l
total 8 drwxrwx---+ 2 root devel 4096 Oct 18 16:00 project drwxrwxrwt 2 root root 4096 Oct 18 16:10 public -rw-r--r-- 1 root root 0 Oct 18 16:14 ROOT |
#ls -l
![]() total 12 drwxrws---+ 2 root devel 4096 Oct 18 16:00 project drwxrwx--- 2 root root 4096 Oct 19 09:43 project3 drwxrwxrwt 2 root root 4096 Oct 18 16:10 public -rw-r--r-- 1 root root 0 Oct 18 16:14 ROOT |
#ls -l
total 12 drwxrws---+ 2 root devel 4096 Oct 18 16:00 project drwxrwx--- 2 root root 4096 Oct 19 09:43 project3 drwxrwxrwt 2 root root 4096 Oct 18 16:10 public -rw-r--r-- 1 root root 0 Oct 18 16:14 ROOT |
#fdisk -l
![]() Disk /dev/xvda: 17.2 GB, 17179869184 bytes 255 heads, 63 sectors/track, 2088 cylinders, total 33554432 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000e4875 Device Boot Start End Blocks Id System /dev/xvda1 2048 32088063 16043008 83 Linux Disk /dev/xvdb: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/xvdb doesn't contain a valid partition table |
#fdisk -l
Disk /dev/xvda: 17.2 GB, 17179869184 bytes 255 heads, 63 sectors/track, 2088 cylinders, total 33554432 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000e4875 Device Boot Start End Blocks Id System /dev/xvda1 2048 32088063 16043008 83 Linux Disk /dev/xvdb: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/xvdb doesn't contain a valid partition table |
#аfdisk /dev/xvdb
![]() Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x3722d9cc. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): p Disk /dev/xvdb: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes ... I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x3722d9cc Device Boot Start End Blocks Id System /dev/xvdb1 2048 4884860 2441406+ 83 Linux /dev/xvdb2 4884861 10485759 2800449+ 83 Linux Command (m for help): ц Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. |
#аfdisk /dev/xvdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x3722d9cc. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): p Disk /dev/xvdb: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes ... I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x3722d9cc Device Boot Start End Blocks Id System /dev/xvdb1 2048 4884860 2441406+ 83 Linux /dev/xvdb2 4884861 10485759 2800449+ 83 Linux Command (m for help): ц Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. |
#fdisk -l
![]() Disk /dev/xvda: 17.2 GB, 17179869184 bytes 255 heads, 63 sectors/track, 2088 cylinders, total 33554432 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000e4875 Device Boot Start End Blocks Id System /dev/xvda1 2048 32088063 16043008 83 Linux Disk /dev/xvdb: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x3722d9cc Device Boot Start End Blocks Id System /dev/xvdb1 2048 4884860 2441406+ 83 Linux /dev/xvdb2 4884861 10485759 2800449+ 83 Linux |
#fdisk -l
Disk /dev/xvda: 17.2 GB, 17179869184 bytes 255 heads, 63 sectors/track, 2088 cylinders, total 33554432 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000e4875 Device Boot Start End Blocks Id System /dev/xvda1 2048 32088063 16043008 83 Linux Disk /dev/xvdb: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x3722d9cc Device Boot Start End Blocks Id System /dev/xvdb1 2048 4884860 2441406+ 83 Linux /dev/xvdb2 4884861 10485759 2800449+ 83 Linux |