Linux Commands - jude-lindale/Wiki GitHub Wiki
chown - change owner
umount - demount disk
ping -c 1
exit
/
- root directory
>
- redirect file/text or another file and will overwrite previously there
>>
- redirect file/text and add to another file without overwriting
sha256sum
- generates hash for files and directories
sh526sum
sudo
- allows for admin abilities
nano
- create a file
mkdir/rmdir
- make and delete directories
ls
- list directories of the cd /current or desired location
cat
- reads file content
echo
-is the equivalent to print in python
whoami
- tells who the logged-in user is
cd
- change directory
cp
- copy
wc
- word count
mv
- move
chmod
- change permissions of file
fdisk
- disk and partitons
lsblk
- lists all block devices like disks and partitions
mksf
- create file system/partitions
lshw
- generate a quick overview of the examiner workstation hardware
mount
- mount disk
dd
- copies blocks from input and output can be a file, disk, or partition/volume (bit by bit copy)
netcat
-
dmesg
- print or control the kernel ring buffer
blockdev
- call block device ioctls from the command line
mmls
- Display the partition layout of a volume system (partition tables)
udevadm
- udev management tool