Atelier SysRes SE4 2024/2025 E14
Aller à la navigation
Aller à la recherche
vi /etc/hostname
18 hostname -h
19 hostname -h$
20 host `cat /etc/hostname`
21 hostname `cat /etc/hostname`
22 cat /etc/hostname
23 reboot
24 lsblk
25 cat /etc/fstab
26 mkfs -t ext4 /dev/xvda3
27 mkfs -t ext4 /dev/xvdb1
28 mount /dev/xvdb1 /mnt
29 mv /var/* /mnt
30 umount /mnt
31 mount -a
32 mkfs -t ext4 /dev/xvda3
33 mkfs -t ext4 /dev/xvda3
34 mount -a
35 vi /etc/fstab
36 mount -a
37 df -h