vnc usage
1.How to Start vncserver $ vncserver -nolisten local -depth 24 remember display number after vncserver startup sucessfully [option] you can change password by command "vncpasswd" [option] you can kill your vncserver by command "vncserver -kill :<display_number>" 2.Example xstatup file (located in .vnc of your home directory): #!/bin/shxrdb $HOME/.Xresourcesxsetroot -solid greyvncconfig -nowin &xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop"
TCSH shell变量和特征配置
TCSHshell可以使用户使用shell配置变量和特征配置自己的shell.也可以使用set命令设置特征.TCSH也有注册,注消以及何时进入TCSHshell的配置文件.一、TCSH shell 特征TCSH有几个特征,允许控制不同的shell操作的方法.TCSH shell特征不仅包括许多它自己的特征,而且还包括KSH/BASH shell中的特征,如,TCSH中有一个noclobber,防止重定向重写文件,一些更常用的特征为:echo,noclobber,ignoreeof和noglob.通过定义和取消定义与该特性相关的变量,打开/关闭TCSH shell特征,为每个特征命名变量.例如,通过定义noclobber变量,打开noclobber特征.使用set命令
Unix Shell 入门
################################# 从初始化文件谈LINUX的SHELL #################################引自 http://www.linuxforum.net/docnew/showthreaded.php?Cat=&Board=sys&Number=6&page=0&view=collapsed&sb=9&o=all&fpart=作者: "t1601045" <t1601045@iwate-u.ac.jp> 于 Jan 19, 2002 一,前言: 本文主要解说BASH的ShellScript,用户LOGIN,端末软件启动等时的初期化文件和各个文件 读入的顺序,并且将对初期化文件的内容进行详细的解说。 二,概述: Linux的标准Shell是Bash,Bash的
How to clone the root partition on Solaris
1.boot -s then cd /usr/platform/`uname -m`/lib/fs/ufs2.installboot ./bootblk /dev/rdsk/c0t1d0s03.mount /dev/dsk/c0t1d0s0 /mnt;cd /mnt4.ufsdump 0bf 126 - / | ufsrestore rf -5.Replace c0t0d0s0 by c0t1d0s0[@more@]
更改solaris IP地址和主机名
1)编辑文件/etc/hosts,更改相应的ip和主机名(这个主机名与“ping 主机名”相对应,与hostname命令看到的主机名是两回事,可以一样也可以不一样,下面有说明),如果更改了/etc/hosts文件中的主机名,相应的也要更改/etc/hostname.hme0文件中的主机名,也就是说文件/etc/hosts与/etc/hostname.hme0中的主机名应该一致;同时还需要更改 1、/etc/dumpadm.conf文件中的主机名,就是dump文件的存放位置; 2、/etc/net/ticlts/hosts 3、/etc/net/ticots/hosts 4、/etc/net/ticotsord/hosts 2)编辑文件/etc/netmasks,编辑
Checklist For UNIX Hostname/IP Change
If a unix host is running properly but you only want to change hostname and/or IP address, please check the following check-list and make proper changes. This check-list applies to SDC only, other sites only for reference. For Sun Solaris (you may change manually or try command "/usr/sbin/sys-unconfig"): "/usr/sbin/showmount -a" "exportfs -ua" or "unshareall" /etc/hosts or /etc/inet/hosts /etc/net/*/*host* /etc/nodename /etc/hostname.* /etc/hosts.equiv /et
Linux Can not login during screensaver
symptom:In NIS+ enviroment,can not login with correct passowrdSolution:Login the command line,use "kill -HUP xscreensaver"[@more@]