Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet190/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   186   187   188   189   190   191   192   193   ...   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)

Zsh

Fish
, and 
ksh
, but Bash is the default command shell for the majority of Linux 
distributions. It's even available on macOS (although the default on that platform 
is Zsh nowadays), as well as in Windows by installing the Windows Subsystem 
for Linux. Therefore, by understanding the basics of Bash, your knowledge will be 
compatible with other distributions and platforms. While it's fun to learn other shells 
such as Zsh, Bash is definitely the one to focus the most attention on if you're just 
starting.
You may wonder, then, where you configure the shell that your user account will 
use. If you recall from 
Chapter 2

Managing Users and Permissions
, we looked at the 
/etc/passwd
 file. As I'm sure you remember, this file keeps a list of user accounts 
available on the system. Go ahead and take a look at this file to refresh yourself by 
entering the following command:
cat /etc/passwd
This will produce an output like the one shown in 
Figure 6.1
:
Figure 6.1: The last several lines of a sample /etc/passwd file
See the last field in every entry? That's where we configure which shell is launched 
when a user logs in or starts a new terminal session. Unless you've already changed 
it, the entry for your user account should read 
/bin/bash
. You'll see other variations 
in this file, such as 
/bin/false
 or 
/usr/sbin/nologin



Chapter 6

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   186   187   188   189   190   191   192   193   ...   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