Advertisement
sandervanvugt

linfun june22 day1

Jun 7th, 2022
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. [student@localhost ~]$ history
  2. 1 ls
  3. 2 ls /root
  4. 3 sudo ls /root
  5. 4 id
  6. 5 sudo ls /root
  7. 6 history
  8. 7 LS
  9. 8 ls
  10. 9 ls /
  11. 10 ls/
  12. 11 sudo dnf install openssh
  13. 12 sudo systemctl status sshd
  14. 13 ip a
  15. 14 history
  16. 15 sudo systemctl stop sshd
  17. 16 sudo systemctl start sshd
  18. 17 ls --help | less
  19. 18 ls --help
  20. 19 ls --help | less
  21. 20 ls -l -r -t
  22. 21 ls -lrt
  23. 22 ls --lrt
  24. 23 ls --help | less
  25. 24 history
  26. 25 vim countdown
  27. 26 countdown
  28. 27 ./countdown
  29. 28 ls -l countdown
  30. 29 chmod +x countdown
  31. 30 ./countdown 13
  32. 31 vim countdown
  33. 32 ./countdown 13
  34. 33 history
  35. 34 nano countdown
  36. 35 echo $PATH
  37. 36 pwd
  38. 37 ls -l countdown
  39. 38 ./countdown 1
  40. 39 countdown 1
  41. 40 cp countdown /usr/bin/
  42. 41 sudo cp countdown /usr/bin/
  43. 42 countdown 1
  44. 43 history
  45. 44 whoami
  46. 45 id
  47. 46 whereami
  48. 47 hostname
  49. 48 hostname --help
  50. 49 hostname -a
  51. 50 date
  52. 51 timedatectl
  53. 52 date +%d-%m-%y
  54. 53 date +%d-%m-%Y
  55. 54 date +%d-%M-%Y
  56. 55 man date
  57. 56 date +%d-%b-%Y
  58. 57 man date
  59. 58 date +%a %d-%b-%Y
  60. 59 date +"%a %d-%b-%Y"
  61. 60 passwd
  62. 61 touch helo
  63. 62 ls -l
  64. 63 cd /var
  65. 64 touch hello
  66. 65 cd
  67. 66 pwd
  68. 67 touch helo
  69. 68 ls -l
  70. 69 last
  71. 70 w
  72. 71 sudo loginctl list-users
  73. 72 sudo loginctl list-sessions
  74. 73 sudo loginctl kill-session 4
  75. 74 sudo loginctl list-sessions
  76. 75 history
  77. 76 ps fax
  78. 77 countdown 1
  79. 78 man passwd
  80. 79 man lvcreate
  81. 80 man man
  82. 81 man -k user
  83. 82 man -k user | wc
  84. 83 man -k user
  85. 84 man -k user | grep 8
  86. 85 man useradd
  87. 86 id
  88. 87 countdown 13
  89. 88 man -k user
  90. 89 man -k sander
  91. 90 history
  92. 91 man man
  93. 92 man apropos
  94. 93 man mandb
  95. 94 mandb
  96. 95 history
  97. 96 sudo mandb
  98. 97 man ls
  99. 98 pinfo '(coreutils) ls invocation
  100. '
  101. 99 ls /etc
  102. 100 cat /etc/hostname
  103. 101 sudo hostnamectl set-hostname linfun.example.com
  104. 102 cat /etc/hostname
  105. 103 sudo lsblk
  106. 104 sudo ls -l /dev/sda
  107. 105 pwd
  108. 106 ls
  109. 107 ls -a
  110. 108 ls -la
  111. 109 ls -lat
  112. 110 ls -lart
  113. 111 less .lesshst
  114. 112 ls -l /etc
  115. 113 ls -ld /etc
  116. 114 man pwd
  117. 115 pinfo '(coreutils) pwd invocation'
  118. 116 cd /etc
  119. 117 ls a*
  120. 118 ls -d a*
  121. 119 ls -d a????*
  122. 120 ls -d a[nm]*
  123. 121 ls -d a[a-e]*
  124. 122 cd
  125. 123 cd /var/log/
  126. 124 cd etc
  127. 125 mkdir blah
  128. 126 pwd
  129. 127 cd
  130. 128 mkdir blah
  131. 129 ls -l
  132. 130 rmdir blah
  133. 131 mkdir blah
  134. 132 touch blah/myfile
  135. 133 rmdir blah/
  136. 134 rm -rf blah/
  137. 135 false
  138. 136 true
  139. 137 echo $?
  140. 138 false
  141. 139 echo $?
  142. 140 cat /etc/hosts
  143. 141 tac /etc/hosts
  144. 142 man -k ulimit
  145. 143 man ulimit
  146. 144 yes
  147. 145 mkdir blah
  148. 146 cp /etc/a* blah
  149. 147 alias
  150. 148 alias rm='rm -i'
  151. 149 rm -rf blah/
  152. 150 mkdir blah
  153. 151 cp /etc/a* blah
  154. 152 rm -i blah/
  155. 153 rm -ir blah/
  156. 154 rm -ir blah/ < yes
  157. 155 man yes
  158. 156 ls /
  159. 157 man hier
  160. 158 ls /
  161. 159 man hier
  162. 160 history
  163.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement