Birmingham mumbai


Understanding Bash history



Download 15,21 Mb.
Pdf ko'rish
bet192/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   188   189   190   191   192   193   194   195   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

Understanding Bash history
Speaking of history, let's dive right into that concept. By default, Bash keeps track 
of all the commands you enter during your sessions, so that if you need to recall a 
previously entered command, you can definitely do so. History also serves another 
purpose, and that is seeing what other users have been up to. However, since 
users can edit their own history to cover their tracks, it's not always useful for that 
purpose.
You may have already seen Bash's history feature in some form, if you've ever 
pressed the up and down arrows on the shell to recall a previously used command. 
If you didn't already know you can do that, go ahead and give it a try. You should 
see that by pressing the up and down arrows, you can cycle through commands that 
you've used previously.
Another trick is that you can also simply type 
history
 in the shell and see a list of 
previously entered commands, as shown in 
Figure 6.2
:
Figure 6.2: Output from the history command


Boosting Your Command-line Efficiency

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   188   189   190   191   192   193   194   195   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish