Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@cool cool-bash]# history
- 1 git clone https://github.com/sandervanvugt/coolbash
- 2 git clone https://github.com/sandervanvugt/cool-bash
- 3 git clone https://github.com/sandervanvugt/bash-scripting
- 4 cd bash-scripting/
- 5 ls
- 6 vim array1
- 7 vim areyousure
- 8 vim backout
- 9 cp backout ../cool-bash/
- 10 vim case
- 11 vim cleanuponexit
- 12 vim convert
- 13 cp convert ../cool-bash/
- 14 vim distribute-scripts-and-guides.sh
- 15 cp distribute-scripts-and-guides.sh ../cool-bash/
- 16 vim funcvar
- 17 vim mymenu
- 18 vim less11_labb
- 19 vim numcheck
- 20 cp numcheck ../cool-bash/
- 21 vim options
- 22 vim patternglob
- 23 cp patternglob ../cool-bash/
- 24 vim pm
- 25 vim psubst1
- 26 cp psubst ../cool-bash/
- 27 vim setfalse
- 28 vim setupftp
- 29 vim setup-remote.sh
- 30 cp setup-remote.sh ../cool-bash/
- 31 vim setupsvc
- 32 cd ../cool-bash/
- 33 cd ..
- 34 history
- 35 cd cool-bash/
- 36 ls
- 37 cd ../bash-scripting/
- 38 ls
- 39 vim countdown
- 40 chmod +x ./countdown
- 41 ./countdown 1
- 42 ./countdown a
- 43 ./countdown
- 44 vim countdown
- 45 cd ../cool-bash/
- 46 ls
- 47 vim numcheck
- 48 history
- 49 vim numcheck
- 50 ./numcheck
- 51 bash -x numcheck
- 52 man test
- 53 test -b /etc/hosts
- 54 echo $?
- 55 test -f /etc/hosts
- 56 echo $?
- 57 [ -b /etc/hosts ] && echo hello
- 58 [ -b /etc/hosts ] || echo hello
- 59 ls lugujgug
- 60 echo $?
- 61 su - student
- 62 yum install network-scripts
- 63 cd /etc/init.d/
- 64 ls
- 65 vim network
- 66 history
- 67 vim network
- 68 vim /etc/profile
- 69 vim network
- 70 color=red
- 71 echo $color
- 72 echo $colorhello
- 73 echo ${color}hello
- 74 cd
- 75 cd cool-bash/
- 76 ls
- 77 ../bash-scripting/countdown 12
- 78 vim or.sh
- 79 chmod +x or.sh
- 80 ./or.sh
- 81 chmod +x or.sh
- 82 vim or.sh
- 83 ls
- 84 vim 1_cpu-hog
- 85 ps -eo pcpu,pid -o comm= | sort -k1 -n -r | head -1 | awk '{ print $1 } '
- 86 ps -eo pcpu,pid -o comm= | sort -k1 -n -r | head -1
- 87 ps -eo pcpu,pid -o comm= | sort -k1 -n -r
- 88 vim 1_cpu-hog
- 89 me=`whoami`
- 90 echo $me
- 91 me=$(whoami)
- 92 echo $me
- 93 vim 1_cpu-hog
- 94 ./1_cpu-hog
- 95 bash -x 1_cpu-hog
- 96 vim 1_cpu-hog
- 97 ./1_cpu-hog
- 98 vim 1_cpu-hog
- 99 cd ../bash-scripting/
- 100 ls
- 101 cat script5
- 102 cat script6
- 103 chmod +x script*
- 104 vim script6
- 105 ./script6 /usr/bin/blah
- 106 vim script6
- 107 ./script6 /usr/in/blah
- 108 cd ../cool-bash/
- 109 vim 1_cpu-hog
- 110 cd ../bash-scripting/
- 111 vim script7
- 112 history
- 113 cd ../cool-bash/
- 114 ls
- 115 cat 4b_reboot.sh
- 116 vim 4_reboot-test.sh
- 117 ./4_reboot-test.sh
- 118 history
- 119 cd cool-bash/
- 120 vim 4_reboot-test.sh
- 121 vim 4b_reboot.sh
- 122 ./4b_reboot.sh
- 123 cd cool-bash/
- 124 ls
- 125 vim 7a_trap
- 126 ./7a_trap
- 127 ls -l /tmp/tmpdata
- 128 man 7 signal
- 129 vim 7b_trap
- 130 ./7b_trap
- 131 ls
- 132 vim setup-container.sh
- 133 vim setup-remote.sh
- 134 vim patternglob
- 135 touch one.doc
- 136 ./patternglob
- 137 vim patternglob
- 138 ./patternglob
- 139 vim patternglob
- 140 man shopt
- 141 shopt --help
- 142 shopt -p
- 143 ls -l
- 144 touch setup-remote.sh
- 145 ls -l
- 146 touch abcd
- 147 ls -l
- 148 cat 5l_manyfiles
- 149 vim 5l_manyfiles
- 150 chmod +x 5l_manyfiles
- 151 ./5l_manyfiles
- 152 ls
- 153 touch myfile{1..100}.txt
- 154 ls
- 155 rm myfile*
- 156 rm myfile* -f
- 157 ls
- 158 \ls
- 159 alias
- 160 history
Advertisement
Add Comment
Please, Sign In to add comment