Beruflich Dokumente
Kultur Dokumente
Page 1
Linux Basic Commands and Functions continued: Screen:
Loop devices are virtual HDDs. They have disk and Command Description
partition representations screen ls Displays all running screens
What do loop devices look like? /dev/loop1p1 screen S [name of Creates a new screen with a
This means that there is a virtual disk (loop1) and a screen] specified name
partition on that virtual disk (p1) screen r [PID or Name of screen]
How are loop devices used on a Datto unit? Resumes a screen
-Loop devices are used to create a virtual disk to mount CTRL + A + D Simultaneously press the CTRL A
in Linux for a file restore D to exit a screen without killing
-Loop devices are used to merge the COW images into the screen
the Datto images to create a bootable sparse image for
virtualization SAMBA:
Note: These should get destroyed after the HIR process is An open source implementation of the SMB file sharing
complete before the virtualization protocol that provides file and print services to SMB/CIFS
clients. Samba allows a non-Windows server to
Command Description communicate with the same networking protocol as the
losetup f [files] Associates a loop device to a Windows products.
.datto sparse image
Command Description
losetup a Displays any running loop service smbd [status, Get a status, start, stop or
devices and what files are start, stop, restart] restart SAMBA
being used with them nano Where to edit SAMBA
losetup d Disassociates a loop device /etc/samba/smb.conf configurations
/dev/loop[loopNumber] from a .datto sparse image smbstatus Notifies what SAMBA is using at
a point in time
Ifconfig:
Command Description
ifconfig Displays all the networking
information for all active NICs
ifconfig eth1 up Turns on the second NIC of
the Datto
ifconfig eth1 down Turns off the second NIC of
the Datto
Page 2