Basic Shell Commands

Practice how to use the shell in Linux

Practice how to use the shell in Linux


M. S.
This flashcard set covers basic shell commands for managing files, directories, and system processes, suitable for users at an intermediate level. It focuses on essential commands like searching within files, manipulating directories, handling packages, and managing devices. Ideal for those looking to enhance their command-line skills, the set provides practical examples for tasks such as deleting files, changing permissions, and executing scripts. Users will learn to navigate directories, manage system updates, and perform basic system administration tasks efficiently.
Flashcards
58
Students
23
Language
English
Category
Computer Science
Level
Other
Created / Updated
11.02.2017 / 12.02.2026

Flashcards

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

Study