Monday, 9 July 2012

Terminalでの操作

cd path : 
move the current directory to path

ls :
list up files in the current directory

mkdir name :
make a directory called name

scp path-of-local-file remote-path :
copy a file from local to remote server
remote-path should look like username@xxxx.com:somedirectory/somedirectory/


rm name :
delete a file

rm -r name :
delete a folder

touch name :
create a file

No comments:

Post a Comment