Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet153/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   149   150   151   152   153   154   155   156   ...   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)

[
 108 
]
Another foundational command that's good to know is 
touch
, which actually serves 
two purposes. First, assuming you have permission to do so in your current working 
directory, the 
touch
 command will create an empty file if it doesn't already exist. 
Second, the 
touch
 command will update the modification time of a file or directory if 
it does already exist:
Figure 4.4: Experimenting with the touch command
To illustrate this, in the related screenshot, I ran several commands. First, I ran the 
following command to create an empty file:
touch testfile.txt
That file didn't exist before, so when I ran 
ls -l 
afterward, it showed the newly 
created file with a size of 0 bytes. Next, I ran the 
touch testfile.txt
 command 
again a minute later, and you can see in the screenshot that the modification time 
went from 
15:12
 to 
15:13
.
When it comes 
to viewing the contents of a file, we'll get to that later on in this 
chapter. And there are definitely more commands that we'll need to learn to build 
the basis of our foundation. But for now, let's take a break from the foundational 
concepts to understand the Linux filesystem layout better, which is pretty much 
mandatory for some of the commands we'll learn later.

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   149   150   151   152   153   154   155   156   ...   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