45
1 uname -r 2 uname -a 3 ifconfig 4 cd /etc 5 ls -ltr 6 cat sysctl.conf 7 cd /media/RHEL_5.5\ x86_64\ DVD/Server/ 8 ls -ltr 9 netca 10 cd /usr 11 ls -ltr 12 cd etc 13 ls -ltr 14 cd /etc 15 ls -ltr 16 df -h 17 rpm -qa |grep binutils-2 18 rpm -qa |grep compat- 19 rpm -qa |grep compat-libst 20 rpm -qa |grep elfutils-lib 21 rpm -qa |grep gcc-4. 22 rpm -qa |grep gcc-c++ 23 rpm -qa |grep glibc-2 24 rpm -qa |grep glibc-co

GG Unix Commands

Embed Size (px)

Citation preview

Page 1: GG Unix Commands

1 uname -r

2 uname -a

3 ifconfig

4 cd /etc

5 ls -ltr

6 cat sysctl.conf

7 cd /media/RHEL_5.5\ x86_64\ DVD/Server/

8 ls -ltr

9 netca

10 cd /usr

11 ls -ltr

12 cd etc

13 ls -ltr

14 cd /etc

15 ls -ltr

16 df -h

17 rpm -qa |grep binutils-2

18 rpm -qa |grep compat-

19 rpm -qa |grep compat-libst

20 rpm -qa |grep elfutils-lib

21 rpm -qa |grep gcc-4.

22 rpm -qa |grep gcc-c++

23 rpm -qa |grep glibc-2

24 rpm -qa |grep glibc-co

25 rpm -qa |grep glibc-dev

Page 2: GG Unix Commands

26 rpm -qa |grep glibc-hea

27 rpm -qa |grep kerna,-head

28 rpm -qa |grep kernal-head

29 rpm -qa |grep kernel-h

30 rpm -qa |grep ksh-2

31 rpm -qa |grep libaio-0

32 rpm -qa |grep libaio-devel

33 rpm -qa |grep libaio-d

34 cd /media/RHEL_5.5\ x86_64\ DVD/Server/

35 rpm -ivh libaio-devel-0.3.106-5.*

36 rpm -qa |grep libgomp-4

37 rpm -qa |grep libstdc++

38 rpm -qa |grep make-3

39 rpm -qa |grep sysstat-7

40 rpm -qa |grep unixODBC

41 rpm -ivh unixODBC-devel-2.2.11-7.1.

42 rpm -ivh unixODBC-devel-2.2.11-7.1.*

43 rpm -ivh compat-libstdc++-33-3.2.3-61.*

44 rpm -ivh gcc-c++-4.1.2-48.el5.x86_64.rpm

45 rpm -ivh glibc-devel-2.5-49.*

46 rpm -ivh libaio-devel-0.3.106-5.*

47 more /etc/oraInst.loc

48 cd /

49 mkdir /u01

50 cd u01

Page 3: GG Unix Commands

51 mkdir -p /u01/app /u01/app/oraInventory

52 vi /etc/oraInst.loc

53 grep dba /etc/group

54 groupadd oinstall

55 groupadd dba

56 grep dba /etc/group

57 useradd -f oinstall -G oracle

58 useradd -g oinstall -G oracle

59 /usr/sbin/useradd

60 id oracle

61 useradd -g oinstall -G oracle

62 useradd -g mr -G oinstall

63 useradd

64 useradd -g oinstall -G dba oracle

65 id oracle

66 useradd -g oinstall -G dba ggs

67 passwd oracle

68 passwd oracle

69 passdw ggs

70 passwd ggs

71 cat /proc/sys/kernel/sem

72 vi /proc/sys/kernel/sem

73 vi /etc/sysctl.conf

74 sysctl -p

75 vi /etc/sysctl.conf

Page 4: GG Unix Commands

76 sysctl -p

77 vi /etc/sysctl.conf

78 sysctl -p

79 cp /etc/sysctl.conf sysctl.conf.bkp

80 vi /etc/security/limits.conf

81 cat /etc/pam.d/login

82 cd

83 cd /u01/app

84 ls -ltr

85 cd ..

86 chown -R oracle:oinstall /u01/*

87 ls -ltr

88 chmod -R 775 /u01/*

89 ls -ltr

90 vncserver

91 xclock

92 ifconfig

93 cd /etc/sysconfig/network-scripts/

94 ls -ltr

95 cat ifcfg-eth0

96 service network restart

97 ifconfig

98 id

99 ifconfig

100 hostname

Page 5: GG Unix Commands

101 mount

102 cd /media/RHEL_5.5\ x86_64\ DVD/Server/

103 ls|grep -i compat

104 ls|grep cap

105 ls | grep compat

106 uname -a

107 cat /etc/redhat-release

108 ifconfig

109 hostname

110 vncserver

111 ifconfig

112 hostname

113 df -h

114 df -h

115 cd /

116 ls -ltr

117 cd u0

118 cd u01

119 ls -ltr

120 chown -R oracle:oinstall Binary/*

121 chown -R oracle:oinstall Binary

122 ls -ltr

123 passwd oracle

124 reboot

125 ifconfig

Page 6: GG Unix Commands

126 hostname

127 uname -a

128 df -h

129 cd /tmp/

130 ls -ltr

131 halt

132 ping 206.120.130.14

133 ifconfig

134 df -h

135 cd /u01

136 ls -ltr

137 cd Binary/

138 ls -ltr

139 pwd

140 ls -ltr

141 cd ..

142 chown oracle:oinstall Binary/*

143 ls -ltr

144 chown -R oracle:oinstall Binary/*

145 cd Binary/

146 ls

147 ls -ltr

148 su - oracle

149 cd /media/

150 ls -ltr

Page 7: GG Unix Commands

151 cd VMware\ Tools/

152 ls -ltr

153 pwd

154 cd -

155 gunzip < /media/VMware\ Tools/VMwareTools-8.3.7-341836.tar.gz |tar -xf -

156 ls -ltr

157 pwd

158 cd

159 gunzip < /media/VMware\ Tools/VMwareTools-8.3.7-341836.tar.gz |tar -xf -

160 cd vmware-tools-distrib/

161 ls -ltr

162 ./vmware-install.pl

163 halt

164 su - oracle

165 ifconfig

166 service network restart

167 ifconfig

168 su - oracle

169 xhost +

170 su - oracle

171 firefox

172 df -h

173 cd /tmp

174 ls -ltr

175 cd OraInstall2013-05-24_11-22-04PM/

Page 8: GG Unix Commands

176 ls -ltr

177 tail 0f setpermslog.err

178 cd /u01/app/oraInventory/logs

179 tail -f installActions2013-05-24_11-22-04PM.log

180 cd /u01/Binary/

181 ls -ltr

182 rm *.zip

183 df -h

184 cd -

185 tail -f installActions2013-05-24_11-22-04PM.log

186 cd /u01/app/oracle/cfgtoollogs/dbca/emea/

187 ls -ltr

188 tail -f CloneRmanRestore.log

189 ls -ltr

190 tail -f cloneDBCreation.log

191 ls -ltr

192 tail -f trace.log

193 ls -ltr

194 tail -f emConfig.log

195 ls -ltr

196 tail -f emConfig.log

197 sh /u01/app/oracle/product/11.2.0/dbhome_1/root.sh

198 ps -eaf |grep smon

199 su - oracle

200 cat /etc/hosts

Page 9: GG Unix Commands

201 vi /etc/hosts

202 ifconfig

203 vi /etc/hosts

204 ping emea

205 su - oracle

206 cat /etc/oratab

207 . oreanv

208 echo $ORACLE_HOME

209 halt

210 su - oracle

211 su oracle

212 cd /etc/selinux/

213 ls -ltr

214 cat config

215 cd

216 ifconfig

217 su oracle

218 su oracle

219 ps -eaf |grep tns

220 su - oracle

221 exit

222 su - oracle

223 exit

224 ls -ltr

225 ps -eaf |grep smon

Page 10: GG Unix Commands

226 su - oracle

227 ps -eaf |Grep smon

228 ps -eaf |grep smon

229 sqlplus / as sysdba

230 su - oracle

231 exit

232 passwd oracle

233 exit

234 ifconfig

235 exit

236 fdisk -l

237 exit

238 cat /etc/fstab

239 exit

240 mount /home/oracle/ggdata /dev/sdb

241 mount /dev/sdb /home/oracle/ggdata

242 man mount

243 mount -t ext3 /dev/sdb /home/oracle/ggdata

244 mount -t ext3 /dev/sdb1 /home/oracle/ggdata

245 exit

246 df - h

247 df -h

248 mount /dev/sdb /home/oracle/ggdata

249 mount -t ext3 /dev/sdb /home/oracle/ggdata

250 mount -t ext2 /dev/sdb /home/oracle/ggdata

Page 11: GG Unix Commands

251 exit

252 fdisk /dev/sdb

253 mkfs

254 mkfs -t ext3 /dev/sdb1

255 vi /etc/fstab

256 clear

257 e21lable /dev/sdb1 /Oracle

258 e2label /dev/sdb1 /Oracle

259 vi /etc/fstab

260 mount -a

261 vi /fstab

262 vi /etc/fstab

263 mount -a

264 cd /home

265 ls

266 cd oracle

267 ls

268 mkdir trails

269 mount -a

270 df -hk

271 df -h

272 exit

273 ls

274 cd /home/oracle

275 chmdo 777 trails

Page 12: GG Unix Commands

276 chmod 777 trails

277 chgrp oracle trails

278 chown oracle trails

279 exit

280 chown oracle:oinstall /home/oracle/trails

281 exit

282 vi /etccc/host

283 vi /etc/hosts

284 cat /etc/hosts

285 exit

286 service iptables stop

287 service iptables start

288 service iptables stop

289 ssh [email protected]

290 exit

291 id oracle

292 df -h

293 cd /

294 ls -ltr

295 cd tmp

296 ls -ltr

297 rm -fr .

298 rm -fr *

299 ls -ltr

300 df -h

Page 13: GG Unix Commands

301 cd

302 ls -lt

303 cd /

304 ls -ltr

305 du -sk *

306 cd /home

307 ls -ltr

308 du -sk *

309 cd oracle

310 ls -ltr

311 cd trails/

312 ls -ltr

313 df -h

314 cd ..

315 df -h

316 ls -ltr

317 cd ggdata

318 ls -ltr

319 cd ..

320 rmdir ggdata

321 cd ogg32/

322 ls -ltr

323 cd ..

324 ls -ltr

325 cd Desktop/

Page 14: GG Unix Commands

326 ls -ltr

327 cd ..

328 ls -ltr

329 useradd -g oinstall -G rashid

330 id oracle

331 useradd -g oinstall -G dba rashid

332 id rashid

333 passwd rashid

334 su - rashid

335 su - oracle

336 useradd -g oinstall -G dba labgrp01

337 useradd -g oinstall -G dba labgrp02

338 useradd -g oinstall -G dba labgrp03

339 useradd -g oinstall -G dba labgrp04

340 passwd labgrp01

341 passwd labgrp02

342 passwd labgrp03

343 passwd labgrp04

344 ifconfig

345 hostname

346 exit

347 ps -ef | grep pmon

348 . .oraenv

349 . oraenv

350 . oraenv

Page 15: GG Unix Commands

351 sqlplus /as sysdba

352 sqlplus

353 df -h

354 cd /home/oracle/trails

355 ls -lrt

356 uname -a

357 ifconfig -a

358 ifconfig

359 ps -ef | grep tns

360 ps -ef | grep pmon

361 cat /etc/oratab

362 cd /u01/app/oracle/product/11.2.0/dbhome_1/network/admin

363 ls -lrt

364 cat listener.ora

365 cat tnsnames.ora

366 ps -ef | grep tns

367 uname -a

368 id

369 hostname

370 df -h

371 uname -a

372 cat /etc/oratab

373 df -h

374 cd /u01/app/

375 ls -lrt

Page 16: GG Unix Commands

376 cd oracle

377 ls -lrt

378 cd product

379 ls -lrt

380 cd 11.2.0/

381 ls -lrt

382 cd dbhome_1/

383 ls -lrt

384 sudo su - oracle

385 df -h

386 sudo su - oracle

387 uname -a

388 df -h

389 ps -ef | grep pmon

390 ps -ef | grep tns

391 env

392 . oraenv

393 . .profile

394 cat /etc/oratab

[oracle@emea ~]$ cat /etc/sysctl.conf

# Kernel sysctl configuration file for Red Hat Linux

#

# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and

Page 17: GG Unix Commands

# sysctl.conf(5) for more details.

# Controls IP packet forwarding

net.ipv4.ip_forward = 0

# Controls source route verification

net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing

net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel

kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename

# Useful for debugging multi-threaded applications

kernel.core_uses_pid = 1

# Controls the use of TCP syncookies

net.ipv4.tcp_syncookies = 1

# Controls the maximum size of a message, in bytes

kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue

Page 18: GG Unix Commands

kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes

kernel.shmmax = 68719476736

# Controls the maximum number of shared memory segments, in pages

kernel.shmall = 4294967296

fs.aio-max-nr = 1048576

fs.file-max = 6815744

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 9000 65500

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048586

kernel.shmmni = 4096

[oracle@emea ~]$ cat /proc/sys/kernel/sem

250 32000 100 128

[oracle@emea ~]$ grep dba /etc/group

dba:x:501:oracle,ggs,rashid,labgrp01,labgrp02,labgrp03,labgrp04

Page 19: GG Unix Commands

[oracle@emea ~]$ cat /etc/security/limits.conf

# /etc/security/limits.conf

#

#Each line describes a limit for a user in the form:

#

#<domain> <type> <item> <value>

#

#Where:

#<domain> can be:

# - an user name

# - a group name, with @group syntax

# - the wildcard *, for default entry

# - the wildcard %, can be also used with %group syntax,

# for maxlogin limit

#

#<type> can have the two values:

# - "soft" for enforcing the soft limits

# - "hard" for enforcing hard limits

#

#<item> can be one of the following:

# - core - limits the core file size (KB)

# - data - max data size (KB)

# - fsize - maximum filesize (KB)

# - memlock - max locked-in-memory address space (KB)

# - nofile - max number of open files

Page 20: GG Unix Commands

# - rss - max resident set size (KB)

# - stack - max stack size (KB)

# - cpu - max CPU time (MIN)

# - nproc - max number of processes

# - as - address space limit

# - maxlogins - max number of logins for this user

# - maxsyslogins - max number of logins on the system

# - priority - the priority to run user process with

# - locks - max number of file locks the user can hold

# - sigpending - max number of pending signals

# - msgqueue - max memory used by POSIX message queues (bytes)

# - nice - max nice priority allowed to raise to

# - rtprio - max realtime priority

#

#<domain> <type> <item> <value>

#

#* soft core 0

#* hard rss 10000

#@student hard nproc 20

#@faculty soft nproc 20

#@faculty hard nproc 50

#ftp hard nproc 0

#@student - maxlogins 4

oracle soft nproc 2047

Page 21: GG Unix Commands

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

# End of file

[oracle@emea ~]$ cat /etc/pam.d/login

#%PAM-1.0

auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so

auth include system-auth

account required pam_nologin.so

account include system-auth

password include system-auth

# pam_selinux.so close should be the first session rule

session required pam_selinux.so close

session include system-auth

session required pam_loginuid.so

session optional pam_console.so

# pam_selinux.so open should only be followed by sessions to be executed in the user context

session required pam_selinux.so open

session optional pam_keyinit.so force revoke

[oracle@emea emea]$ vi /etc/hosts

Page 22: GG Unix Commands

[oracle@emea emea]$ cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

172.20.20.131 emea.mylab.com emea

::1 localhost6.localdomain6 localhost6

172.20.20.91 config126vm2

1 cd /u01/Binary/

2 ls -ltr

3 ls -ltr

4 unzip linux_11gR2_database_1of2.zip

5 cd /u01/Binary/

6 ls -ltr

7 rm -fr database/

8 unzip linux_11gR2_database_1of2.zip

9 unzip linux_11gR2_database_2of2.zip

10 ls -lr

11 cd /u01/Binary/database/

12 ls -ltr

13 ./runInstaller

14 exit

15 cd /u01/Binary/database/

16 ./runInstaller

Page 23: GG Unix Commands

17 exit

18 ps -eaf |grep magent

19 ps -eaf |grep smon

20 ps -eaf |grep tns

21 cat /etc/oratab

22 . oreanv

23 . oraenv

24 sqlplus / as sysdba

25 sqlplus

26 exit

27 cat /etc/oratab

28 . oraenv

29 sqlplus / as sysdba

30 echo $ORACLE_HOME

31 echo $PATH

32 echo $LD_LIBRARY_PATH

33 ls -ltr

34 cd /u01/

35 ls -ltr

36 cd app/

37 ls 0ltr

38 ls -ltr

39 cd oracle/

40 ls -ltr

41 cd product/11.2.0/dbhome_1/

Page 24: GG Unix Commands

42 ls -ltr

43 sqlplus

44 cd lib/

45 ls -ltr

46 sqlplus

47 ls -ltr /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1

48 ps -eaf |grep smon

49 ls -ltr

50 clear scr

51 cd

52 ps -eaf |grep smon

53 ps -eaf |grep tns

54 lsnrctl status

55 hostname

56 time

57 date

58 exit

59 exit

60 exit

61 cat /etc/oratab

62 . oraenv

63 sqlplus

64 . oraenv

65 sqlplus / as sysdba

66 ifconfig

Page 25: GG Unix Commands

67 exit

68 exit

69 exit

70 su - oracle

71 exit

72 . oraenv

73 lsnrctl status

74 exit

75 cat /etcc/oratab

76 cat /etc/oratab

77 . oraenv

78 sqlplus

79 sqlplus / as sysdba

80 lsnrctl start

81 exit

82 cat /etc/oratab

83 . oraenv

84 sqlplus / as sysdba

85 echo $ORACLE_HOME

86 df -h

87 sqlplus / as sysdba

88 cd /u01

89 pwd

90 ls

91 cd app/

Page 26: GG Unix Commands

92 ls

93 cd ora

94 cd oracle

95 ls

96 cd product/

97 ls

98 cd 11.2.0/

99 ls

100 cd dbhome_1/

101 ls

102 cd bin

103 sqlplus / as sysdba

104 pwd

105 id

106 sqlplus

107 hostname

108 uname -r

109 uname

110 id

111 exit

112 pwd

113 ls

114 ls -ltrh .bash_profile

115 cat .bash_profile

116 id

Page 27: GG Unix Commands

117 pwd

118 vi .bash_profile

119 . .bash_profile

120 sqlplus / as sysdba

121 echo $GGHOME

122 pwd

123 ls

124 mkdir ogg

125 ls

126 exit

127 . .bash_profiile

128 . .bash_profile

129 ls

130 cd ogg

131 ls

132 ls -ltrh

133 df -f

134 df -h

135 echo $GGHOME

136 echo $LD_LIBRARY_PATH

137 unzip V*.zip

138 tar -xvof fbo_ggs_Linux_x64_ora11g_64bit.tar

139 ./ggsci

140 cd $ORACLE_HOME

141 pwd

Page 28: GG Unix Commands

142 cd lib

143 ls -ltrh libnz11.so

144 ls -ltrh libnnz11.so

145 ls -ltrh lib*.so

146 sqlplus / as sysdba

147 cd $GGHOME

148 ./ggsci

149 cp $ORACLE_HOME/lib/libnnz11.so /home/oracle/ogg

150 pwd

151 ls -ltrh libnnz11.so

152 ./ggsci

153 rm libnnz11.so

154 ./ggsci

155 cd ..

156 pwd

157 df -h

158 mkdir ogg32

159 ls

160 cd ogg32

161 ls

162 export GGHOME=/home/oracle/ogg32

163 export LD_LIBRARY_PATH=$GGHOME:$ORACLE_HOME/lib:/lib:/usr/lib:$LD_LIBRARY_PATH

164 echo $GGHOME

165 echo $LD_LIBRARY_PATH

166 ls

Page 29: GG Unix Commands

167 unzip V*.zip

168 tar -xvof fbo_ggs_Linux_x86_ora11g_32bit.tar

169 ./ggsci

170 ./ggsci

171 ./ggsci

172 pwd

173 id

174 vi .bash_profile

175 cd ..

176 vi .bash_profile

177 ls

178 . .bash_profile

179 sqlplus / as sysdba

180 cd ogg32

181 ./ggsci

182 cd ..

183 pwd

184 sqlplus / as sysdba

185 . .bash_profile

186 slplus / as sysdba

187 sqlplus / as sysdba

188 pwd

189 ls

190 cd ogg32

191 ./ggsci

Page 30: GG Unix Commands

192 cd ..

193 sqlplus / as sysdba

194 cd ogg32

195 ./ggsci

196 cd dirdat

197 ls

198 cd ..

199 ./ggsci

200 cd ..

201 sqlplus / as sysdba

202 cd ogg32

203 ./ggsci

204 df -h

205 exit

206 . .bash_profile

207 sqlplus / as sysdba

208 exit

209 . .bash_profile

210 pwd

211 ls

212 cd ogg32

213 df -h

214 df -h

215 ./ggsci

216 exit

Page 31: GG Unix Commands

217 su - root

218 su - root

219 df -h

220 cd /dev/sdb

221 pwd

222 id

223 . .bash_profile

224 ./ggsci

225 ls

226 cd ogg32

227 ./ggsci

228 exit

229 mkdir /trails

230 su - root

231 pwd

232 ls

233 mkdir ggdata

234 ls

235 mount /home/oracle/ggdata /dev/sdb

236 su - root

237 exit

238 ping 172.20.20.91

239 exit

240 ssh [email protected]

241 exit

Page 32: GG Unix Commands

242 . bash_profile

243 . .bash_profile

244 cd ogg32

245 ./ggsci

246 hostname

247 su - root

248 exit

249 . .bash_profile

250 ls

251 cd ogg32

252 ./ggsci

253 cd ...

254 cd ..

255 sqplus euro/oracle123

256 sqlplus euro/oracle123

257 ls

258 cd ogg32

259 ls

260 cd dirsql

261 ls

262 cat demotables.sql

263 ls

264 sqlplus euro/oracle123

265 exit

266 . .bash_profile

Page 33: GG Unix Commands

267 cd ogg32

268 mkdir diroby

269 vi mytest.oby

270 ls -ltrh

271 cp mytest.oby ./diroby

272 cd diroby

273 ls -ltrh

274 cd ..

275 ./ggsci

276 ./ggsci

277 defgen ./dirprm/def_euro_emp.prm reportfile ./dirrpt/def_euro_emp.rpt

278 pwd

279 ls -ltrh defgen

280 defgen paramfile ./dirprm/def_euro_emp.prm reportfile ./dirrpt/def_euro_emp.rpt

281 ./defgen paramfile ./dirprm/def_euro_emp.prm reportfile ./dirrpt/def_euro_emp.rpt

282 cd dirrpt

283 ls -ltrh

284 cat def_euro_emp.rpt

285 cd ..

286 cd dirdef

287 ls -ltrh

288 cat euro_emp.def

289 scp euro_emp.def [email protected]:/home/oracle/ogg32/dirdef

290 cd ..

291 ./ggsci

Page 34: GG Unix Commands

292 cd dirsql

293 ls

294 cat demobld.sql

295 cp demobld.sql demoinsemp.sql

296 vi demoinsemp.sql

297 clear

298 ls

299 cat demoinsemp.sql

300 sqlplus euro/oracle123

301 exit

302 . .bash_profile

303 sqlplus euro/oracle123

304 exit

305 . .bash_profile

306 cd ogg32

307 ./ggsci

308 ./ggsci

309 cd /home/trails

310 cd /home/oracle/trails

311 ls -ltrh

312 cd $GGHOME

313 ./ggsci

314 cd dirprm

315 ls -ltrh

316 cd ..

Page 35: GG Unix Commands

317 ./ggsci

318 ./ggsci

319 EXIT

320 exit

321 df -h

322 ls

323 ls -ltrh

324 id

325 pwd

326 su - root

327 su - root

328 df -h

329 df -h

330 . .bash_profile

331 ls

332 cd ogg32

333 ./ggsci

334 pwd

335 sqlplus / as sysdba

336 cd ..

337 ls

338 cd ogg32

339 ./ggsci

340 cd ..

341 pwd

Page 36: GG Unix Commands

342 sqlplus / as sysdba

343 pwd

344 ls

345 cd ogg32

346 ./ggsci

347 ADD EXTTRAIL /home/oracle/trails/aa, EXTRACT EFCBEUEM, MEGABYTES 20

348 ./ggsci

349 df -h

350 cd ..

351 cd /home/oracle

352 chmod 777 trails

353 ls -ltrh /home/oracle/trails

354 su - root

355 su - root

356 id

357 pwd

358 ls

359 ls -ltrh

360 su - root

361 pwd

362 ls -ltrh

363 cd ogg32

364 ./ggsci

365 telnet 172.20.20.91 12500

366 telnet 172.20.20.91 1250

Page 37: GG Unix Commands

367 telnet 172.20.20.91 12500

368 ./ggsci

369 ssh [email protected]

370 cat /etc/host

371 cat /etc/hosts

372 su - root

373 su - root

374 id

375 ./ggsci

376 exit

377 . .bash_profile

378 sqlplus euro/oracle123

379 pwd

380 cd ogg32

381 cd dirsql

382 ls

383 cp demobld initaldata.sql

384 cp demobld.sql initialdata.sql

385 vi initialdata.sql

386 ls

387 vi initialdata.sql

388 cls

389 cls

390 clear

391 ls

Page 38: GG Unix Commands

392 sqlplus euro/oracle123

393 exit

394 cat /etc/oratab

395 su - rashid

396 exit

397 . oraenv

398 sqlplus / as sysdba

399 cd /u01/app/oracle/diag/rdbms/emea/emea/trace/

400 tail -f alert_emea.log

401 sqlplus / as sysdba

402 cd /u01/app/oracle/flash_recovery_area/

403 ls -ltr

404 cd EMEA/

405 ls -ltr

406 cd archivelog/

407 ls -ltr

408 rm -fr *

409 df -h

410 cd ../onlinelog/

411 ls -ltr

412 cd ..

413 df -h

414 cd ..

415 ls -ltr

416 cd emea/

Page 39: GG Unix Commands

417 ls -ltr

418 pwd

419 cd ..

420 cd ..

421 ls -ltr

422 cd admin/

423 sqlplus / as sysdba

424 exit

425 id

426 id

427 pwd

428 ps -ef | grep pmon

429 ps -ef | grep tns

430 . oraenv

431 ps -ef | grep tns

432 history

433 cd . .bash_profile

434 id

435 pwd

436 df -h

437 echo $PATH

438 echo $PATH

439 cat .bash_profile

440 . .bash_profile

441 cd /home/oracle/ogg32

Page 40: GG Unix Commands

442 ./ggsci

443 ./ggsci

444 ls -lrt

445 cd dirpcs

446 ls -lrt

447 cat MGR.pcm

448 cd ../dirprm

449 pwd

450 !

451 . oraenv

452 sqlplus

453 cd /u01/app/oracle/flash_recovery_area

454 ls -lrt

455 du -sh *| sort -n

456 df -g .

457 df -h .

458 ls -lrt

459 du -sh *| sort -n

460 cd emea

461 ls -lrt

462 cd ../EMEA

463 ls -lrt

464 cd archivelog

465 ls -lrt

466 cd 2013_06_27

Page 41: GG Unix Commands

467 ls -lrt

468 du -sh * | sort -n

469 id

470 sqlplus

471 pwd

472 echo $GG_HOME

473 cat .bash_profile

474 cd

475 cat .bash_profile

476 . .bash_profile

477 echo GGHOME

478 id

479 cd /home/oracle/ogg32

480 ./ggsci

481 echo $GGHOME

482 pwd

483 ./ggsci

484 sqlplus

485 cd /u01/app/oracle/oradata/emea

486 du -sh *| sort -n

487 du -g * | sort -n

488 du -s * | sort -n

489 sqlplus

490 pwd

491 cat /etc/sysctl.conf

Page 42: GG Unix Commands

492 cat /etc/sysctl.conf

493 cat /proc/sys/kernel/sem

494 grep dba /etc/group

495 cat /etc/security/limits.conf

496 cat /etc/pam.d/login

497 history

498 uname -a

499 vncserver

500 cd /etc/sysconfig/network-scripts/

501 ls -lrt

502 cat ifcfg-eth0

503 cd /u01/app/oracle/cfgtoollogs/dbca/emea/

504 tail -f CloneRmanRestore.log

505 ls -lrt

506 tail -f cloneDBCreation.log

507 vi /etc/hosts

508 cat /etc/hosts

509 cd /etc/selinux/

510 ls

511 cat config

512 cat config

513 cat v

514 cat restorecond.conf

515 fdisk -l

516 cat /etc/fstab