Basic Shell Commands
Practice how to use the shell in Linux
Practice how to use the shell in Linux
-
- 1 / 58
-
Lernkarten
Burn file to device with a block size of 4MB
dd if=file of=device bs=4M
Backup disk and compress it
dd if=disk | pbzip2 > disk.pbzip
List all possible settings of screens
xrandr
Merge PDF1 and PDF2 to a single PDF
pdfunite PDF1 PDF2 PDF
Disassemble PDF pagewise
pdfseparate PDF page%d.pdf
Find out in which package a program can be found
cnf program
Extract files of file.tar.gz (Hint for the options: extract verbose zip file)
tar -xvzf file.tar.gz
Get help for command
man command
Delete all files starting with "docu-" and declare it
rm -v docu-*
Delete all files that contain "word" in their names
rm *word*
Repeat infinitely
yes
Display block devices
lsblk
Print the calendar of the year 1999, month December on the screen
cal 12 1999
Search in which directory file is located
find -name file
Print the status of running processes
top
Kill the process with pid 1
kill 1
Change password
passwd
Search for a word inside a file
grep word file