• Open the partition manager:
fdisk # Avoid cfdisk on SSD disk as it doesn’t align partitions
• Check the filesystem integrity:
fsck.<filesystem> <device>
• Mount an ISO file:
mkdir /mnt/iso # Create a path to mount the ISO
mount <file>.iso /mnt/iso # Mount the ISO
# Once completed, umount the ISO: umount /mnt/iso
• Access a Samba/CIFS share (you can browse or mount the share):
o By browsing:
apt-get install samba-common-bin # Install Samba
smbclient '\\<server>/share name ' –U 'domain\user '
# Password will be prompted.
# Use smbclient with the regular ftp commands.
o By mounting:
apt-get install cifs-utils # Install the tool
mkdir /mnt/server # Create a path to mount the share
mount.cifs '\\<server>/share' /mnt/server –o username='domain\user '
# Once completed, umount the share: umount /mnt/server.
• Unmount a path
Umount <path>
• Group and compress files with gzip:
tar cpzf <file.tar.gz> <directory>
• Decompress a tar.gz/tgz file in the current directory (use -C to specify a different one):
tar xpzf <file.tar.gz>