Birmingham mumbai


Viewing the contents of files



Download 15,21 Mb.
Pdf ko'rish
bet157/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   153   154   155   156   157   158   159   160   ...   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)

Viewing the contents of files
The Linux filesystem contains many directories and files. In the case of files, we need 
to learn how to read and manipulate them to round out our knowledge. We'll cover 
more topics surrounding file management in the next chapter. For now, we can 
benefit by taking a look at how to view the content of existing files.
We can print the contents of a file to the screen with the 
cat
 command, along with a 
filename as an argument. The following command, for example, can be used to view 
the contents of 
testfile.txt
 in our current working directory, which we created 
earlier in the chapter when we discussed the 
touch
 command. Sure, this exercise is 
rather pointless since that file is empty, but it offers a good first example:
cat testfile.txt


Navigating and Essential Commands

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   153   154   155   156   157   158   159   160   ...   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