激с Linuxラ膩

maya
篁ャLinux泣若 激с ゃ荅宴

 

激с

nao
激сc鐚

maya
激с違篋

nao
篏篁ャc篋

maya
篋<罧泣潟潟ュ[Enter]若若絎茵潟潟ュ茵腓冴激с

nao
Linuxc鐚

maya
ゃ<若吾

 

 

nao
帥若Linux若腓冴筝膓鐚

maya
筝膓膺肢┳鴻罩c

nao
若c

maya
障羂篁Linux激сcс篏帥c<堺ャゃ<若御恩

 

bash

maya
激сゃ腮蕁障荀帥

 

1. 激с筝荀с腆肴

[guest@centos7 ~]$ cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin

 

maya
篁Linuxус激с筝荀с筝сLinuxф羣bash

nao
激ワ鴻宴激ャ若削鐚

maya
bash”bourne again shellャ絎篋腆肴

 

1. 激с腆肴

[guest@centos7 ~]$ ps
  PID TTY          TIME CMD
 1172 pts/0    00:00:00 bash
 1237 pts/0    00:00:00 ps

 

nao
鐚鐚鐚

maya
障障с篁鴻障Linuxс罔羣bash篏帥荀

nao

 

bash劫彰

maya
bash箴水罘純ゃх換篁

 

潟潟茖絎

maya
篁ュ膣剛罘純潟潟ュ筝[Tab]若潟潟茖絎絖紮障潟潟筝荀с茵腓冴罘純bash罘純1ゃ

 

1. 潟潟茖絎

[guest@centos7 ~]$ nmc[Tab]

[guest@centos7 ~]$ nmcli

 

2. 潟潟茖絎鐚筝荀э

[root@centos7 ~]# user[Tab][Tab]
useradd     userdel     usermod     usernetctl  users

 

maya
絖紮障潟潟1ゃ翫茖絎緇茲違翫с茖茵腓冴

nao
綽<箴水罘純

 

潟潟絮ユ

maya
bash篏潟潟絮ユ眼篆絖帥若[]若篁ュ篏潟潟障乗;腓冴

nao
篏膵違菴翫箴水

maya
history潟潟篏帥違眼潟潟絮ユ眼筝荀сц篋純

 

1. 潟潟絮ユ眼筝荀сх∈茯

[guest@centos7 ~]$ history
    1  ls
    2  pwd
    3  touch sapmle.txt
         :
         :
  141  ps
         :
         :
  155  history

 

maya
眼絮ユ眼篏帥c潟潟絎茵純箴違141絎茵帥

 

2. 潟潟絮ユ141潟潟絎茵

[guest@centos7 ~]$ !141
ps
  PID TTY          TIME CMD
 1172 pts/0    00:00:00 bash
 1291 pts/0    00:00:00 ps

 

nao
サ篏絎鴻茯粋昭

maya
障c箴”ps”cュ鴻…

nao
箴”ps”cュ鴻藥c…

maya
сс篁ャ障ャ篁激с罘純ф茯帥鴻帥

 

 

  • 激с違
  • Linuxсbash罔羣
  • 激сц蚊篋с

 

鐚鐚若祉鐚鐚