摘要:
忘记root口令
1、 系统自检时按下:stop+a,进入ok状态。
2、 将系统安装光盘放进光驱。
3、 键入:boot cdrom –s
4、 启动完成后将系统盘挂接到/a目录下:mount /dev/dsk/c0t0d0s0 /a,其中/dev/dsk/c0t0d0s0视实际情况而定,为启动分区的设备名。
5、 编辑文件:vi /a/etc/shadow
6、 把root所......
摘要:
希望朋友们能共同进步,共同发展!
版权所有:c.arthur@arthur lab from http://www.chinaunix.net
操作系统:
# uname -a
sunos e3500 5.8 generic_108528-28 sun4u sparc sunw,ultra-enterprise
应用软件:veritas cluster server 3.5 verita......
Solaris管理员常用命令简明手册(好你就顶拉)
转贴自sun bigadmin.
【程序编程相关:
在同一块硬盘上安装WIN98、WIN20】 【推荐阅读:
vm上安装unixware711网络问题】没有翻译,因为本身已经很简单了,你觉得不错就顶.呵呵~
【扩展信息:
raid闯祸,安装 IBM X226 磨】 有人再加上自己觉得好用的命令技巧就更好了~
[code:1:f021e57ea8]
sysadmin commands
debugging
truss executable
/* trace doing of given command ( useful debugging ) */
truss -f -p <pid of a shell>
/* using multiple windows, this can be used to trace setuid/setgid programs */
arp, ethernet trouble shooting
arp -a .
/* shows the ethernet address arp table */
arp -d myhost
/* delete a stale ethernet entry for host myhost */
disk commands
du -k .
/* reports disk space used in kilobytes */
du -sk .
/* reports only total disk space used in kilobytes */
du -sk *|sort -k1,1n
/* reports total disk space used in kilobytes in present directory */
du -ad /var | sort -nr
/* tells you how big the /var files are in reverse order */
fdformat -d -u
/* format diskette */
/usr/bin/iostat -e
/* command to display drives statistics */
/bin/mount -f hsfs -o ro /dev/sr0 /cdrom
/* mount an iso 9660 cdrom */
newfs -nv /dev/rdsk/c0t0d0s1
/* to view the superfblocks available */
prtvtoc /dev/rdsk/c0t0d0s2
/* disk geometry and partitioning info */
quot -af
/* how much space is used by users in kilobytes */
driver parameters
ndd /dev/ip \?
/* shows ip variables in the kernel */
ndd /dev/ip ip_forwarding
/* tells you if forwarding is on (=1) */
ndd -set /dev/ip ip_forwarding 1
/* enables ip forwarding between interfaces */
file manipulation
dos2unix | -ascii <filename>
/* converts dos file formats to unix */
split
/* split files into pieces */
[vi] : %s/existing/new/g
/* search and replace text in vi */
[vi] :set nu
/* set line numbers in vi */
[vi] :set ts=[num]
...
下一页 摘要:
脚本我看懂了,把编辑的 oracle 运行能够正常启动oracle 和关闭oracle服务。
但是连接的两个语句什么意思?是根据什么写成这样的?
oracle是我的用户名,是不是如果我的用户名是别的比如oradba,那么我的文件名也要改成oradba?
是不是系统启动时会自动调用脚本,并加入参数start? 关机时也会自动加入stop? 再就是这个脚本是不是主机reboot后,没有用户登录的......