Friday 1 April 2011

SSH

Putty - SSH
Host name
[Host Name] > Load
[Host Name].ucreative.ac.uk
Port 22 [SSH]
Login as: xxxxx
Pass: xxxxxxx {Name of Project Server]
su eprints
cd...
cd/
[available as chdir change directory]
[change the current working directory]
[use in shell scripts and batch files]

pwd
[print working directory]
[output the path of the current working directory]
[sh, and bash]
[= getcwd() and/or getwd()]

/
cd opt/eprints3/
pwd
ls -l
[list files]
[-l long format, displaying Unix file types, permissions, number of hard links, owner, group, size, date, and filename]
ls -l

No comments: