２０１８年4月３日講座で使ったコマンドすべて

  ```
  1  cal
    2  cal 2018
    3  pwd
    4  cd /etc
    5  pwd
    6  ce /
    7  cd /
    8  pwd
    9  cd /etc
   10  pwd
   11  cls
   12  ls
   13  ls -l
   14  cd ..
   15  pwd
   16  cd root
   17  pwd
   18  ls
   19  cd ..
   20  pwd
   21  cd root
   22  pwd
   23  ls
   24  cd /etc
   25  ls
   26  cd ..
   27  ls
   28  pwd
   29  ls -l
   30  cd boot
   31  ls
   32  cd..
   33  ls
   34  cd..
   35  cd ..
   36  ls
   37  ls -l
   38  cd var
   39  ls -s
   40  ls -l
   41  ls
   42  cd /home
   43  ls
   44  ls -l
   45  pwd
   46  ls -l
   47  mkdir test
   48  ls -l
   49  ls
   50  ls -l
   51  cd test
   52  mkdir subtest
   53  ls -s
   54  cd subtest
   55  ls
   56  cd..
   57  cd ..
   58  ls
   59  cd ..
   60  ls
   61  cd test
   62  cd subtest
   63  ls
   64  cd /
   65  ls
   66  cd home
   67  cd /
   68  cd hoem/test
   69  cd home/test/subteest
   70  cd home/test
   71  cd /
   72  cd home/test/subtest
   73  ls
   74  cal > cal.txt
   75  ls
   76  ls -l
   77  cal 2018 > cal2018.txt
   78  ls -l
   79  cat cal.txt
   80  cat cal2018.txt
   81  less cal2018.txt
   82  cp cal.txt cal2.txt
   83  ls -l
   84  cat cal2.txt
   85  move
   86  move cal.txt ..
   87  ls -s
   88  move cal2.txt ..
   89  mv cal2.txt ..
   90  ls
   91  cd ..
   92  ls
   93  ls -l
   94  mv cal2.txt subtest
   95  ls
   96  cd subtest
   97  ls
   98  cd home
   99  cd /home
  100  ls
  101  mkdir
  102  mkdir test2
  103  ls
  104  cd test2
  105  ls
  106  mkdir subtest2
  107  ls
  108  cd subtest2
  109  cal > cal3.txt
  110  ls
  111  cat cal3.txt
  112  ls
  113  cp cal3.txt cal4.txt
  114  ls
  115  cat cal4.txt
  116  ls
  117  cat cal3.txt
  118  ls
  119  cd /test
  120  cd /home
  121  cd /test/subtest
  122  cd test/subtest
  123  ls
  124  mv cal2018.txt /home/test2/subtst2
  125  ls
  126  cd /home
  127  cd test2/subtest2
  128  ls
  129  cd /home
  130  ls
  131  cd test
  132  ls
  133  cd subtest
  134  ls
  135  ls -l
  136  cd /home
  137  cd test2/subetst2
  138  cd test2/subtest2
  139  ls
  140  cd /home
  141  cd test/subtest
  142  ls
  143  cal 2018 cal2018.txt
  144  cal 2018 > cal2018.txt
  145  ls
  146  mv cal2018.txt /home/test2/subtest2
  147  cd /home
  148  cd test2/subtest2\
  149  ls
  150  mv /home/test/subtest/cal.txt /home/test2/subtest2
  151  ls
  152  mv /home/test2/subtest2/cal.txt /home/test/subtest
  153  ls
  154  remove cal4.txt cal5.txt
  155  ls
  156  mv cal4.txt cal5.txt
  157  ls
  158  cd /home/test
  159  cd subtest/
  160  cd /home/
  161  cd /home/test/subtest/
  162  touch mydiary.txt
  163  ls
  164  mv mydiary.txt /home/test2
  165  ls
  166  cd /home/test
  167  ls
  168  cd /home/test2
  169  ls
  170  cd subtest2
  171  ls
  172  mv cal2018.txt /home/test
  173  mv home/test/subtest/mydiary.txt /home/test2
  174  mv home/test/subtest/mydiary.txt /home/test
  175  cd /home/test/subtest
  176  ls
  177  cd /home/test2
  178  ls
  179  cd /home/test/subtest
  180  mv ../cal2018.txt .
  181  ls
  182  cd /home/test2/subtest2
  183  ls -l
  184  rm cal3.txt
  185  cd..
  186  cd ..
  187  rm -r subtest2
  188  useradd kho
  189  cat /etc/shadow
  190  passwd kho
  191  su kho
  192  useradd okuno
  193  passwd okuno
  194  useradd kho nam lee
  195  useradd kho, nam
  196  useradd nam -p himitu4649
  197  su nam
  198  useradd lee -o himitu4649
  199  useradd lee -p himitu4649
  200  useradd mizukoshi -p himitu4649
  201  cat /etc/passwd
  202  cat /etc/s
  203  cd /home/okuno
  204  ls
  205  cal 1980 > calMyBirth.txt
  206  cat calMyBirth.txt
  207  cd..
  208  cp calMyBirth.txt ../kho
  209  cp calMyBirth.txt ../lee
  210  cp calMyBirth.txt ../nam
  211  cp calMyBirth.txt ../mizukoshi
  212  cd /home/kho
  213  ls
  214  history
  215  cat
  216  ifconfig
  217  153.126.191.255153.126.191
  218  s
  219  ss lee@153.126.171.255
  220  ssh lee@153.126.171.255
  221  cd ..
  222  cd lee
  223  ssh mizukoshi@153.126.139.255
  224  uname
  225  export
  226  echo $PWD
  227  cd /home/kho
  228  cd 2020 > cal2020.txt
  229  cal 2020 > cal2020.txt
  230  ls -l
  231  chmod 0 -r cal2020.txt
  232  chmod o -r cal202.txt
  233  chmod o-r cal2020.txt
  234  ls -l
  235  chmod g+w cal2020.txt
  236  ls -l
  237  su kho
  238  chmod o+r cal2020.txt
  239  ls -l
  240  su kho
  241  touch myFile.txt
  242  ls
  243  chmod 740 myFile.txt
  244  ls
  245  ls -l
  246  chmod 744 myFile.txt
  247  ls -l
  248  cd/user/bin
  249  cd
  250  cd /
  251  cd /usr/bin
  252  ls -l
  253  ls -l|grep pwd
  254  mkdir -p test2/subtest2
  255  cd
  256  dir
  257  cd /
  258  cd /home/subtest2
  259  cd /home
  260  /test2
  261  cd /test2
  262  cd test2
  263  cd subtest2
  264  ls
  265  mkdir -p subtest2
  266  cd subtest2
  267  ls
  268  cal > cal6.txt
  269  cal > cal7.txt
  270  cal > cal8.txt
  271  touch sample.txt
  272  cp cal6.txt ../test/subtest
  273  cp cal6.txt /home/test/subtest
  274  cp cal7.txt /home/test/subtest
  275  cp sample.txt /home/test/subtest
  276  cd /home/test/subtest
  277  ls -l
  278  mv cal6.txt ll
  279  ls -l
  280  mv ll cal6.txt
  281  ls -l
  282  mv cal6.txt ..
  283  rm cal7.txt
  284  ls -l
  285  cd ..
  286  ls
  287  clear
  288  ls
  289  cp /etc/sysctl.conf .
  290  ls
  291  mv sysctl.conf /subtest
  292  ls
  293  cd subtest
  294  ls
  295  cd ..
  296  ls
  297  cd subtest
  298  ls
  299  cp /etc/sysctl.conf
  300  cd ..
  301  cp /etc/sysctl.conf
  302  cd subtest
  303  cp /etc/sysctl.conf .
  304  ls
  305  cat sysctl.conf
  306  wc -l sysctl.conf
  307  ls -l
  308  rm sysctl.conf
  309  ls
  310  cd ..
  311  ls
  312  date cal6.txt
  313  date > cal6.txt
  314  ls
  315  date > cal6.txt
  316  cat cal6.txt
  317  cd subtest
  318  ls
  319  clear
  320  ls
  321  vi sample.txt
  322  ls
  323  cat sample.txt
  324  wc -l sample.txt
  325  vi sample.txt
  326  cat sample.txt
  327  ls
  328  wc -l sample.txt
  329  vi sample.txt
  330  ca /etc/sysctr.conf .
  331  cp /etc/sysctr.conf .
  332  cp /etc/sysctrl.conf .
  333  cp /etcsysctl.conf .
  334  cp/etc/sysctl.conf .
  335  cp /tec/sysctl.conf .
  336  cp /etc/sysctl.conf .
  337  clear
  338  cat sysctl.conf
  339  vi sysctl.conf
  340  wc -l sysctl.conf
  341  /net
  342  vi sysctl.conf
  343  ls -l
  344  su kho
  345  chmod 444 sysctl.confg
  346  chmod 444 sysctl.con
  347  chmod 444 sysctl.conf
  348  ls
  349  ls -l
  350  vi sysctl.conf
  351  cat sysctl.conf
  352  cd ..
  353  cd /home
  354  ls
  355  userdel okuno
  356  ls
  357  ls /etc/passwd
  358  cat /etc/passwd
  359  groupadd tennis
  360  wc -cat /etc/group
  361  cat /etc/group
  362  wd -l tennis
  363  wc -l tennis
  364  clear
  365  wc /etc/group
  366  wc -l /etc/group
  367  usermod -G tenis okuno
  368  usermod -G tennis okuno
  369  userdel okuno
  370  ls -l
  371  ls -l /home
  372  usermod -G tennis okuno
  373  usermod -G tennis kho
  374  usermod -G tesnis nam
  375  usermod -G tennis nam
  376  usermod -G tennis mizukoshi
  377  usermod -G tennis lee
  378  if okuno
  379  id okuno
  380  id nam
  381  id muzukoshi
  382  id mizukoshi
  383  groupadd soccer
  384  cat /etc/group
  385  usermod -G soccer kho
  386  cat /etc/group
  387  userdel
  388  clear
  389  cd /
  390  cd home
  391  ls
  392  clear
  393  mkdir newDir1
  394  ls -l
  395  cd newDir1
  396  ls -l
  397  mkdir subNewDir1
  398  ls -l
  399  cd..
  400  cd ..
  401  mkdir -p newDir2/subNewDir2
  402  ls -l
  403  cd newDir1
  404  cal > cal1.txt
  405  ls -l
  406  cat cal1.txt
  407  ls -l
  408  cp ca1.tex cal2.txt
  409  cp cal1.txt cal2.txt
  410  cat cal2.txt
  411  mv ca1.txt /subNewDir1
  412  ls
  413  mv cal1.txt /subNewDir1
  414  cd subNewDir1
  415  ls -l
  416  cd ..
  417  ls
  418  cd subNewDir1
  419  ls
  420  cd ..
  421  ls
  422  cp cal2.txt cal1.txt
  423  mv cal2.txt subNewDir1
  424  cd subNeWDir1
  425  cd subNewDir1
  426  ls
  427  history
```