RHCSA的练习过程

    1  ipcongfig
    2  ifconfig
    3  ls
    4  ps -ef
    5  iconfig
    6  ifconfig
    7  dsa
    8  cat    /etc/redhat-release 
    9  /
   10   /
   11  //
   12  cd
   13  cd/
   14  ./
   15  ls
   16  madir aaa
   17  mkdir aaa
   18  ls
   19  rmdir aaa
   20  ls
   21  mkdir aaa bbb ccc
   22  ls
   23  rmdir aaa bbb ccc 
   24  mkdir -p /aaa/bbb/ccc
   25  mkdir -p ./aaa/bbb/ccc
   26  ls
   27  rmdir aaa
   28  cd aaa
   29  cd bbb
   30  rmdir ccc
   31  cd -
   32  rmdir bbb
   33  cd -
   34  q
   35  cd ~
   36  rmdir aaa
   37  ls
   38  mdir mycode
   39  mkdir mycode
   40  ls
   41  cd mycode
   42  touch a.txt
   43  cl
   44  ls
   45  rmdir a.txt
   46  cd ~
   47  rmdir mycode
   48  mv mycode yourcode
   49  ls
   50  mkdir aaa bbb ccc
   51  ls
   52  rmdir aaa bbb ccc
   53  ls
   54  mkdir -p ./aaa/bbb/ccc
   55  rmdir -p ./aaa/bbb/ccc
   56  rmdir -p aaa
   57  rmdir -p aaa/bbb/ccc
   58  rmdir -p aaa
   59  cd aaa
   60  cd /aaa
   61  cd ./aaa
   62  ls
   63  mkdir -p ./aaa/bbb/ccc
   64  ls
   65  rmdir -p aaa
   66  cd aaa
   67  mvdir bbb ddd
   68  ls
   69  cd bbb
   70  mvdir ccc ddd
   71  mv ccc ddd
   72  ls
   73  rmdir ddd
   74  cd -
   75  rmdir bbb
   76  cd ~
   77  rmdir aaa
   78  cs
   79  ls
   80  ls
   81  cd yourcode
   82  ls
   83  rm a.txt
   84  ls
   85  ..
   86  cd ~
   87  mv yourcode 0109
   88  ls
   89  cd 0109
   90  ls
   91  touch a.txt
   92  ls
   93  gedit aa.c
   94  cd 0109
   95  ls
   96  gedit aa.c
   97  ls
   98  gedit --encoding=UTF8 bb.txt
   99  gedit --encoding=UTF-8 bb.txt
  100  ls
  101  ls -l
  102  cat aa.c
  103  cat bb.txt
  104  cat -n aa.c
  105  cat /dev/null > bb.txt
  106  cat bb.txt
  107  touch file{1..5}txt
  108  ls
  109  rm *txt
  110  ls
  111  touch file{1..5}.txt
  112  ls
  113  ll
  114  ls
  115  cd 0109
  116  ls
  117  rm *.txt
  118  ls
  119  rmdir text1 text2 dir1
  120  cd dir1
  121  ls
  122  rm aa.c file3.txt
  123  ls
  124  ..
  125  cd -
  126  cd text1
  127  ls
  128  rm *.txt
  129  ls
  130  cd
  131  cd 
  132  cd 0109 
  133  ls
  134  cd text2
  135  ls
  136  rm *.txt
  137  ls
  138  cd -
  139  ls
  140  rm aa.c
  141  rmdir dir1 text1 text2
  142  ls
  143  cd
  144  ls
  145  rmdir 0109
  146  ls
  147  mkdir 0110
  148  cd 0110
  149  cd
  150  ll
  151  cd 0110
  152  mkdir Dir1
  153  mkdir Dir2
  154  ls
  155  ll
  156  mkdir -m 700 Dir2
  157  mkdir -m 700 Dir3
  158  ls
  159  ll
  160  mkdir Dir4 Dir5 
  161  ls
  162  ll
  163  ls -a
  164  ls /etc
  165  ls -i 
  166  ls -Sl /etc
  167  ls
  168  cd ./dir1
  169  cd ./Dir1
  170  cd ~
  171  cd /
  172  cd -
  173  cd 0110
  174  cd ..
  175  cd 0110
  176  ls
  177  cd Dir1
  178  ls
  179  touch a.txt
  180  touch c.txt d.txt
  181  ls
  182  ll
  183  mv c.txt b.txt
  184  ls
  185  mv d.txt ../Dir2
  186  ls
  187  cd -
  188  cd Dir2
  189  ls
  190  cd -
  191  mkdir Dir11
  192  ls
  193  mv Dir5 ./Dir11/Dir10
  194  ls
  195  cd Dir11
  196  ls
  197  cd -
  198  mv -f ./Dir11/*
  199  cd Dir1
  200  ls
  201  cd -
  202  ls ./Dir1
  203  mv -f ./Dir1/*
  204  ls
  205  ls Dir1
  206  ls Dir5
  207  ls Dir4
  208  rmdir Dir4
  209  ls
  210  ls Dir11
  211  rmdir -p Dir11
  212  rmdir -v Dir3
  213  ls
  214  cd ~
  215  mkdir mycode
  216  ls
  217  cd mycode
  218  touch a.txt
  219  cd~
  220  cd ~
  221  mv mycode 0110
  222  ls
  223  ls 0110
  224  cd 0110
  225  cd mycode
  226  rm a.txt
  227  ls
  228  cd -
  229  rmdir mycode
  230  ls
  231  cd
  232  cd 0110
  233  touch a.txt
  234  touch FIle{1..5}.txt
  235  ls
  236  ll
  237  touch -d "2023-05-18 15:44" b.txt
  238  ls
  239  ll
  240  stat b.txt
  241  cd -
  242  cd 0110
  243  ll
  244  cat /dev/null > a.txt
  245  ll
  246  cat /dev/cdrom > rhel.iso
  247  stat aa.c
  248  ll
  249  chmod 0775 a.txt
  250  ll
  251  chmod a+r b.txt
  252  ll
  253  ls
  254  ls Dir1
  255  ll dir
  256  ll Dir1
  257  chmod -R a+x Dir1
  258  ll Dir1
  259  chmod u+s aa.c
  260  ll
  261  chmod u-r Dir2 -R
  262  chmod u-r rhel.iso
  263  ll
  264  chmod u=r rhel.iso
  265  ll
  266  chmod u+w rhel.iso
  267  ll
  268  chmod u+x,g+w FIle1.txt
  269  ll
  270  chmod ug+x FIle3.txt
  271  ll
  272  ll Dir1
  273  chmod -R 777 Dir1
  274  ll Dir1
  275  sudo
  276  sudo root
  277  cd
  278  sudo root
  279  0110
  280  cd 0110
  281  ls
  282  rm rhel.iso
  283  ls
  284  rm -i FIle5.txt
  285  ls
  286  rm -f FIle4.txt
  287  ls
  288  rm -f *.txt
  289  ls
  290  touch File{1..5}.txt
  291  ls
  292  cp File1.txt a.txt
  293  ls
  294  ls Dir2
  295  cd Dir2
  296  ls
  297  cd -
  298  ls Dir1
  299  cp -r  Dir1 Dir3
  300  ls
  301  ll
  302  chmod 0777 File1.txt
  303  ll
  304  cp -a File1.txt b.txt
  305  ll
  306  ls
  307  cp -f b.txt /Dir1
  308  cp a.txt b.txt /Dir1
  309  cp a.txt b.txt ./Dir1
  310  ll Dir1
  311  cd
  312  ls
  313  touch cc.c
  314  ls
  315  cp ~/cc.c /mnt/hgfs/Share 
  316  ls Shar
  317  ls Share
  318  cp 0110
  319  cd 0110
  320  ls
  321  ln a.txt linka.txt
  322  ls
  323  ln -s b.txt linkb.txt
  324  ls
  325  lll
  326  ll
  327  ln -v aa.c bb.c
  328  ll
  329  pwd
  330  cd
  331  history
  332  history > mylog.txt

你可能感兴趣的:(linux,服务器,bash)