What is the purpose of having individual accounts for Linux technicians instead of using root?
Accountability
Individual accounts allow tracking of actions performed by each technician.
In Linux, does the file extension hold the same relevance as it does in Windows?
No
The key aspect is generating a hash value to verify file system contents.
To access the contents of the USB drive, which command is used to mount the partition?
mount /dev/sdd1 /ext_drive
This command mounts the first partition of the USB drive to the specified directory.
What must be created prior to mounting a Linux file system?
Mount point directory
In Linux, what is a mount point?
Mount point a subdirectory used to access file systems
Unlike Windows, Linux does not use drive letters.
What command is used to mount the USB drive to a directory?
mount /dev/sdd1 /ext_drive/
This command mounts the first partition of the USB drive to the specified directory.
What command would you use to list mass storage devices in Linux?
ls /dev/sd
This command shows references to mass storage devices like sda, sdb, etc.
What command is used to list the files in the mounted directory?
ls /extdrive
This command displays the files and directories within the mounted USB drive.
What command is used to list the contents of the mounted USB drive?
ls /ext_drive/
This command displays the files and directories within the mounted directory.
What command shows the IP addressing and network interfaces in Linux?
ip a
This command displays the hardware address (MAC) and IP addresses of network interfaces.
What is the purpose of the /dev directory in Linux?
/dev directory = contains device files for hardware communication
The Linux kernel interacts with hardware through these device files.
What does the /proc directory represent in Linux?
The /proc directory contains details about running processes and system hardware
What file in the /proc directory contains information about the CPU?
cpuinfo
This file includes details such as processor number, model, speed, and cache.
What command would you use to view details about a specific process in Linux?
ps -aux | grep [PID]
Replace [PID] with the process ID to get information about that process.
What command is used to view the contents of the file containing the original hash value?
cat /sdb1_orig_hash
This command displays the original hash for comparison.
What command provides details about input devices on a Linux machine?
cat /proc/input/devices
This command lists the input devices recognized by the system.
What command would you use to list PCI devices in Linux?
lspci -v
This command provides verbose information about PCI devices.
What command lists USB devices in Linux?
lsusb -v
This command shows detailed information about USB devices connected to the system.
What command is used to list block devices in Linux?
lsblk –scsi
This command shows the devices known by the Linux host.
What does the sudo command do in Linux?
sudo allows a user to run commands with elevated privileges
Users in the sudoers file can execute commands that require higher permissions.
What command requires elevated privileges to list all partitions on a device?
sudo fdisk -l
This command lists the partitioning for all devices.
What command retrieves BIOS Information in Linux?
sudo dmidecode | more
This command requires elevated privileges to access BIOS details.
The command dmidecode is used to retrieve information about _______.
BIOS and hardware
It provides details about the system’s BIOS and hardware components.
What does the sda device represent in the context of Linux file systems?
sda a small device, approximately 4 GB, with no partitions
If there were partitions, they would be numbered such as sda1, sda2, etc.