L in u X ba sics for h acke rs g e t t I n g s t a r t e d w I t h




Download 7.3 Mb.
Pdf ko'rish
bet7/115
Sana27.11.2023
Hajmi7.3 Mb.
#106243
1   2   3   4   5   6   7   8   9   10   ...   115
Bog'liq
linuxbasicsforhackers
mashinali o\'qitishga kirish, 1698393090

PROCESS MANAGEMENT 
61
Viewing Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Filtering by Process Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Finding the Greediest Processes with top . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Managing Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Changing Process Priority with nice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Killing Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Running Processes in the Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Moving a Process to the Foreground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Scheduling Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

MANAGING USER ENVIRONMENT VARIABLES 
71
Viewing and Modifying Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Viewing All Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Filtering for Particular Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Changing Variable Values for a Session . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Making Variable Value Changes Permanent . . . . . . . . . . . . . . . . . . . . . . . . . 74
Changing Your Shell Prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Changing Your PATH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Adding to the PATH Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
How Not to Add to the PATH Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Creating a User-Defined Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79



Download 7.3 Mb.
1   2   3   4   5   6   7   8   9   10   ...   115




Download 7.3 Mb.
Pdf ko'rish

Bosh sahifa
Aloqalar

    Bosh sahifa



L in u X ba sics for h acke rs g e t t I n g s t a r t e d w I t h

Download 7.3 Mb.
Pdf ko'rish