Ubuntu/Commands
From r00tedvw.com wiki
(Difference between revisions)
(Created page with "===SCP=== scp [(username@)host:filepath] [(username@)destination:file path] spaces within files/folders can something be resolved by adding quotes around the entire value wit...") |
|||
Line 3: | Line 3: | ||
spaces within files/folders can something be resolved by adding quotes around the entire value with \\ or \ followed by a space where the space exists. | spaces within files/folders can something be resolved by adding quotes around the entire value with \\ or \ followed by a space where the space exists. | ||
i.e. scp "[email protected]:/home/folder\\ with \\ spaces/test.text" [email protected]:/home/ | i.e. scp "[email protected]:/home/folder\\ with \\ spaces/test.text" [email protected]:/home/ | ||
+ | ===ln (symlink)=== | ||
+ | create symlink | ||
+ | sudo ln -s source linkname | ||
+ | i.e. sudo ln -s ../sites-available/helpdesk helpdesk | ||
+ | unlink symlink | ||
+ | sudo unlink link.name | ||
+ | i.e. sudo unlink helpdesk |
Revision as of 15:37, 22 November 2012
SCP
scp [(username@)host:filepath] [(username@)destination:file path]
spaces within files/folders can something be resolved by adding quotes around the entire value with \\ or \ followed by a space where the space exists.
i.e. scp "[email protected]:/home/folder\\ with \\ spaces/test.text" [email protected]:/home/
ln (symlink)
create symlink
sudo ln -s source linkname i.e. sudo ln -s ../sites-available/helpdesk helpdesk
unlink symlink
sudo unlink link.name i.e. sudo unlink helpdesk