Advertisement
sandervanvugt

linfun may23

May 16th, 2023
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. [student@localhost ~]$ history
  2. 1 pwd
  3. 2 sudo -i
  4. 3 history
  5. 4 sudo -i
  6. 5 useradd bob
  7. 6 sudo useradd bob
  8. 7 echo $SHELL
  9. 8 sudo useradd linda
  10. 9 echo $?
  11. 10 ls
  12. 11 ls -l
  13. 12 ls -l Videos/
  14. 13 ls kjghkughi
  15. 14 echo $?
  16. 15 echo $
  17. 16 echo $?
  18. 17 echo hello
  19. 18 ls /root
  20. 19 sudo ls /root
  21. 20 id
  22. 21 vimtutor
  23. 22 history
  24. 23 vim countdown
  25. 24 cat countdown
  26. 25 countdown
  27. 26 ./countdown
  28. 27 ls -l countdown
  29. 28 chmod +x countdown
  30. 29 ./countdown
  31. 30 ./countdown 12
  32. 31 history
  33. 32 cat countdown
  34. 33 ssh 192.168.29.181
  35. 34 cat /etc/os-release
  36. 35 ps aux | grep ssh
  37. 36 systemctl status sshd
  38. 37 sudo dnf install openssh
  39. 38 ip a
  40. 39 history
  41. 40 LS
  42. 41 ls
  43. 42 ls -l
  44. 43 ls -a
  45. 44 ls -al
  46. 45 ls --help
  47. 46 ls --help | less
  48. 47 cp --help
  49. 48 man ls
  50. 49 ls -lrt
  51. 50 whoami
  52. 51 hostname
  53. 52 date
  54. 53 ip a
  55. 54 history
  56. 55 uname
  57. 56 uname -a
  58. 57 man uname
  59. 58 timedatectl --help
  60. 59 timedatectl set-time 16:55
  61. 60 cat /etc/passwd
  62. 61 passwd linda
  63. 62 sudo passwd linda
  64. 63 su - linda
  65. 64 touch newfile
  66. 65 ls -l
  67. 66 cd /
  68. 67 touch aaa
  69. 68 pwd
  70. 69 ls
  71. 70 cd
  72. 71 ls -l newfile
  73. 72 touch newfile
  74. 73 ls -l newfile
  75. 74 cd Documents/
  76. 75 pwd
  77. 76 cd ..
  78. 77 pwd
  79. 78 last
  80. 79 history
  81. 80 man man
  82. 81 man passwd
  83. 82 man lvcreate
  84. 83 man -k partition
  85. 84 man -k user
  86. 85 man -k user | wc
  87. 86 man -k user
  88. 87 man -k user | grep 8
  89. 88 man -k sander
  90. 89 man man
  91. 90 man apropos
  92. 91 man mandb
  93. 92 mandb
  94. 93 echo $?
  95. 94 sudo mandb
  96. 95 man ls
  97. 96 pinfo '(coreutils) ls invocation'
  98. 97 man cp
  99. 98 history
  100. 99 cd /etc
  101. 100 cat passwd
  102. 101 lsblk
  103. 102 ls -l /dev/sda
  104. 103 cd
  105. 104 ls -l /etc/
  106. 105 ls -ld /etc/
  107. 106 cd /etc
  108. 107 ls -lrt
  109. 108 ls
  110. 109 ls a*
  111. 110 ls -d a*
  112. 111 ls -d a?a*
  113. 112 ls -d a?[a-c]*
  114. 113 cd
  115. 114 cd Documents/
  116. 115 cd ..
  117. 116 mkdir newDir
  118. 117 rmdir newDir/
  119. 118 mkdir newDir
  120. 119 touch newDir/hello
  121. 120 rmdir newDir/
  122. 121 rm -r newDir/
  123. 122 rm -rf newDir/
  124. 123 cd /
  125. 124 ls
  126. 125 man hier
  127. 126 ls /afs
  128. 127 cd /usr
  129. 128 ls
  130. 129 cd /etc
  131. 130 ls
  132. 131 cd /var
  133. 132 ls
  134. 133 ls log/
  135. 134 ls -l log/
  136. 135 less /var/log/messages
  137. 136 sudo less /var/log/messages
  138. 137 cd /home
  139. 138 ls
  140. 139 history
  141. 140 ls
  142. 141 cd
  143. 142 pwd
  144. 143 cd /tmp
  145. 144 ls
  146. 145 touch hhh
  147. 146 cd /usr
  148. 147 touch hhh
  149. 148 ls
  150. 149 ls local/
  151. 150 cd
  152. 151 echo $PATH
  153. 152 cp countdown /usr/local/bin/
  154. 153 sudo cp countdown /usr/local/bin/
  155. 154 history
  156.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement