We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3
‘Ohio Drivers Are In For A
Big Surprise
Also: The first 5 Linux commands every new user should learn
Before | dive into these commands, know that you might never use
them. a fact wih today’s GUI desktops, the goal shouldbe to
longer have to depend onthe commandline Of course, youre
J witha server, thats a diferent story, But a8 fa sth
desktop i concerned, youl be glad you know them ithe ecasion
h that sid, ets mp to the comman
1. top
ne top command prints Out real-time list of Unux processes,
bbe important should an app or process go awry and you
o find out which one. Top prints out a columned list that is
broke
+ PID - Process ID
'+ USER - the owner ofthe ls
nice value of the process (nice determines the py
+ RES - the amount of resident memory the process is usi
+ SHR - the amount of shared memory the process is using
+ S- the status ofthe py uch as D - uninterruptable sleep,
= sleeping, T- stopped, and Z - zombie
. re of CPU time the process is using (since the
+ TIMEs - the total CPU time the process is usin,
+ COMMAND - the command associated with the process
Although you can define the content that is displayed, the d
tuations, The top command can also b
ould work for mo:
elpful when using the kill command to end a tuna
(b
cause you'll need to know the PID of the process in ques
5 20m Miro Yurrivag choees Consumer Hea Pivacy Pivacy Cooks Termsof use Adverse FeedbackAll the tools you need to
t your business. Start
ut more about fop issue the comma
pete are times when you might want to know how much of you
local storage isin use. That's where the ofcommand comes in. The df
smmand presents alist of columas b
Size, Used, Avail, Use%, and Mounted on, Cleary, dfs also useful to
find out where a particular patition is mounted, but you'll mesty use
this command to understand how much of your d
ves storage has
been used.
Also: The 6 Linux commands you need to know for user
‘management
you issue dfwithout any options, the report will be in 1K blocks,
which can be a bt ofa challenge to understand. Instead, | prefer to
fo find cut more ab
3. ps
he pscommand is rather important, as it
ris @ snapshot of the
urrent running processes. In other words, ps lists out all running
pr The thing about psis that you need to
know the right of
5 to make it useful. Ifyou simply issue the
curtent processes you are running,
All the tools you need to
tart your business. Start.
he better wi is with the
ux option (which stands
user and all processes owned by youd, That command i
hy is ps so important? Iti
ssociated with ac
locate a process
You can even
example, UbreOffice isnt responding and you need to kilt. To do
n't want to scroll th
Id issue something hike
Sama moose YurFracyCheces Consumer Heh Pvacy Pvacy & Cooks Terme of use Aerie FeedbackSama moose
ps -aux|grep libreoftice
‘This command wil Ist only the processes associated with LibreOtTice,
To find out more about ps issue the command man ps.
4, free
The command free displays the amount of free and used memory in
your system, Instead of using top, which might offer too much
information, you can use free, which only lists memory and swap (t
applicable).
‘Also: My top 5 user-friendly GUI backup tools forthe Linux.
desktop (and why you need one)
‘The output is formatted in columns of total (total installed memory),
used (total used memory), free (total unused memory), shared
(memory used by tempfs),butf/cache (sum of buffers and cache
memory in use), and available (an estimation of how much memory is
available for starting new applications without using swap).
‘The free command doesn't do anything else, but you can display the
information in a human-readable form with:
fee-h
To find cut more about about free, issue the command man free.
5. Isblk
The Isbk command comes in handy when you need to mount a
evice or see where a device (a drive) is mounted, When you issue.
the fsbik command, you'll see output Ike this
sdb 8:16 0 921.56 0 disk ‘sabi 8:17 0 931.56 0 part
‘rediayjack/MINA
This means that block device /dev/sdb1 is mounted to the folder
‘/redia/jack/MINA. One option | sometimes use is -f which add
filesystem type tothe listing
To find out more about Isbik issue the command man Ibik
‘These commands could come in handy someday. You may not need
them at fits (or ever) but knowing they exist (and their basic usage)
‘can make troubleshooting your Linux system far easier.
Open Source
GitHub vs GitLab: Wh
program is right for you?
+ The best Linux distros for beginners
+ Feren OS is a Linux distribution that's as lovely as its easy to
How to add new users to your Linux machine
YourrracyCheces Consumer Hash Pvacy Pvacy & Cooks Terme of use Aerie Feedback