Quantcast
Channel: Life in USA » unix
Browsing latest articles
Browse All 11 View Live

Image may be NSFW.
Clik here to view.

Creating links to files and directories in unix centos vps

Creating a link to a directory It is often useful to change to another directory without typing its full pathname: symbolic links provide a useful shortcut to do this. A symbolic link differs from a...

View Article



Image may be NSFW.
Clik here to view.

JAVA_HOME in windows 7

Windows: The SetX command would do so: setx /M JAVA_HOME “C:\Program Files (x86)\Java\jdk1.6.0_17″ /m means machine level. To check the settings, use “set” command for all the variables. Use “echo...

View Article

Image may be NSFW.
Clik here to view.

copy file through ssh

I use winscp or secure shell client.   sftp is (and works) similar to ftp scp is a neat little program: copy from a remote machine to my machine: scp...

View Article

Image may be NSFW.
Clik here to view.

My Basic VI commands

vi filename  edit filename starting at line 1 :q<Return>  quit (or exit) vi :q! <Return> quit vi even though latest changes have not been saved for this vi call :0<Return> or 1G move...

View Article

Image may be NSFW.
Clik here to view.

verify https connectivity from unix command line

1.For sites using https, normally we can telnet the 443 port. telnet www.somesite 443 2. Use openssl of course. The openssl s_client program works perfectly here: openssl s_client -connect...

View Article


Image may be NSFW.
Clik here to view.

unix privs chmod user group Permissions

Introduction This is a topic that has been beaten to death both in books and on-line. For some reason, it seems that it is one of the most common misunderstandings that people have to face when...

View Article

Image may be NSFW.
Clik here to view.

Ubuntu进入root权限命令——sudo和su命令详解

ubuntu用户管理 sudo 意思就是super-user do,让当前用户暂时以管理员的身份root来执行这条命令。 su (switch user)是用来改变当前用户的,su root,就是将当前用户切换为root,用了su root之后,下面所有的命令就可以不用打sudo了,因为当前用户已经是管理员root了。 root 用户为根用户,也就是 系统管理员 拥有全部权限 一个用户只能拥有一个...

View Article

Image may be NSFW.
Clik here to view.

$# and S* in shell script

From here: $# Stores the number of command-line arguments that were passed to the shell program. $? Stores the exit value of the last command that was executed. $0 Stores the first word of the entered...

View Article


Image may be NSFW.
Clik here to view.

linux/unix SHELL 是什么

shell是你(用户)和Linux(或者更准确的说,是你和Linux内核)之间的接口程序。你在提示符下输入的每个命令都由shell先解释然后传给Linux内核。 ——————————————————————————– 注意: 如果你熟悉ms-dos,你将认出这很象DOS 用户和 COMMAND.COM之间的关系。唯 一的区别是command.com 的功能远不能和shell 相提并论。...

View Article


Image may be NSFW.
Clik here to view.

MY unix commands

tail a file tail -100f FileName -f to allow file monitoring check process ps -f -p ThePID -f full all columns -p by process ID ps -e -f -e all processes if the CMD is very long like running java...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images