RSS

Tag Archive | "files"

Grabbing and Sending files and folders over SSH

Saturday, August 15, 2009

0 Comments

SCP allows you to transfer files over ssh between computers Copying to remote machines To copy a file to a remote machine run the following scp ~/file/to/be/transfered username@hostname:~/destinationfolder If you want to copy a directory you would use -r which would look like this scp -r /folder/to/be/transfered username@hostname:/path/to/destination and if you want to specify a SSH port use -P which [...]

Continue reading...

Linux File Permissions

Sunday, April 5, 2009

0 Comments

What is chmod? Chmod is a command that changes the access permissions of files or directories in order to read, write or execute files How do I view The permissions of files? You can do this by typing ls -la Heres is a example of its output root@duffys-place:/etc/lighttpd# ls -la total 20 drwxr-xr-x 4 root root 4096 2009-03-29 00:36 . drwxr-xr-x 79 root [...]

Continue reading...