Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [student@localhost ~]$ history
- 1 cd bash-scripting/
- 2 ls
- 3 history
- 4 ls
- 5 vim script1
- 6 script1
- 7 echo $PATH
- 8 pwd
- 9 ./script1
- 10 ls -l script1
- 11 chmod +x script1
- 12 ./script1
- 13 history
- 14 vim script1
- 15 ./script1
- 16 echo $?
- 17 vim script1
- 18 ./script1
- 19 echo $?
- 20 vim script1
- 21 ./script1
- 22 echo $?
- 23 echo $GREET
- 24 env
- 25 GREET=hello world
- 26 GREET="hello world"
- 27 echo $GREET
- 28 nano script1
- 29 cd ..
- 30 git clone https://github.com/sandervanvugt/cool-bash
- 31 cd cool-bash/
- 32 ls
- 33 vim 1_cpu-hog
- 34 cd ../bash-scripting/
- 35 history
- 36 vim script2
- 37 ./script2
- 38 chmod +x scr*
- 39 ./script2
- 40 pwd
- 41 . script2
- 42 pwd
- 43 cd
- 44 cd bash-scripting/
- 45 chmod -x scrkipt2
- 46 chmod -x script2
- 47 ./script2
- 48 chmod +x script2
- 49 ./script2
- 50 ~/
- 51 chmod -x script2
- 52 bash script2
- 53 ./script2
- 54 chmod +x script2
- 55 chmod u+x script2
- 56 ls
- 57 ls script2
- 58 cd ~/
- 59 cd bash-scripting/
- 60 ~
- 61 echo $HOME
- 62 cd $HOME
- 63 cd $HOME/
- 64 sudo yum install network-scripts
- 65 ls /etc/init.d/
- 66 vim /etc/init.d/network
- 67 cd /etc/sysconfig/
- 68 ls
- 69 cd network-scripts/
- 70 ls
- 71 cat ifcfg-ens33
- 72 pwd
- 73 cd
- 74 cd bash-scripting/
- 75 ls
- 76 vim script2b
- 77 chmod +x script2b
- 78 ./script2b
- 79 vim color
- 80 ./script2b
- 81 vim script2b
- 82 ./script2b
- 83 vim color
- 84 ./script2b
- 85 ls
- 86 ./countdown 12
- 87 vim countdown
- 88 ./countdown 0
- 89 ls
- 90 vim script3
- 91 ./script3 a b c d e f g h i j k l m
- 92 cat script3
- 93 bash -xv script2
- 94 vim list
- 95 for i in $(cat list); do echo $i; done
- 96 vim script3
- 97 ./script3 a b c d e f g h i j k l m
- 98 vim script3
- 99 ./script3 a b c d e f g h i j k l m
- 100 vim script3
- 101 ./script3 a b c d e f g h i j k l m
- 102 vim script4
- 103 ./script4 a b c d e f g h
- 104 vim script4-users
- 105 chmod +x script4-users
- 106 ./script4-users bob bill ben
- 107 vim script4-users
- 108 ./script4-users bob bill ben
- 109 ./script4-users bob bill ben bea
- 110 vim script4-users
- 111 vim script4-users
- 112 vim script4-users
- 113 ./script4-users a b c d
- 114 vim script4-users
- 115 vim script5
- 116 cd /usr/lib
- 117 ls
- 118 cd modules
- 119 ls
- 120 uname -r
- 121 cd $(uname -r)
- 122 cd ..
- 123 cd `uname -r`
- 124 cd
- 125 cd bash-scripting/
- 126 vim script6
- 127 ./script6 /usr/bin/blah
- 128 vim script6
- 129 ./script6 /usr/bin/blah
- 130 vim script7
- 131 ./script7
- 132 vim script7
- 133 vim script8
- 134 cut -d : -f 1 /etc/passwd
- 135 vim script8
- 136 sudo useradd alexander
- 137 sudo useradd alex
- 138 ./script8 alex
- 139 ./script8 xander
- 140 ./script8 bob
- 141 vim script8
- 142 vim /etc/init.d/network
- 143 vim script8
- 144 ./countdown 4
- 145 vim gv.sh
- 146 chmod +x gv.sh
- 147 ./gv.sh beatrix
- 148 sudo ./gv.sh beatrix
- 149 vim script9
- 150 man test
- 151 vim countdown
- 152 vim script9
- 153 vim gv.sh
- 154 useradd kqkho
- 155 echo $?
- 156 sudo useradd student
- 157 echo $?
- 158 vim gv.sh
- 159 ./gv.sh kjhk
- 160 sudo useradd student
- 161 sudo ./gv.sh student
- 162 vim gv.sh
- 163 man test
- 164 ./countdown 12
- 165 vim gv.sh
- 166 sudo -i
- 167 cd bash-scripting/
- 168 vim reboot-test.sh
- 169 ./reboot-test.sh
- 170 sudo ./reboot-test.sh
- 171 ls -l /tmp/aft*
- 172 chvt 3
- 173 sudo chvt 3
- 174 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement