Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Uploading files from Mac to Unix/Linux via ssh Post 302412875 by Scott on Tuesday 13th of April 2010 08:01:42 PM
Old 04-13-2010
Based on what you asked:

Code:
scp /usr/test/working/Test1 me@55.55.55.55:/usr/me/directory1/working/Test1
             |          |   |     |               |                     |
       Source Dir       |   |  Remote Svr         |                 Remote File (optional)
                Source File |                Remote Directory (optional)
                       Remote User

As I suggested, please refer to the man page.

Last edited by Scott; 04-13-2010 at 09:23 PM..
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why?

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why? AHHHH!! I have been connecting to the server with the line: ssh userid@website.com The remote server accepts my password; logs me in with ssh; posts a lovely welcome message AND closes the session. Is this a "term... (0 Replies)
Discussion started by: xprankard
0 Replies

2. UNIX for Dummies Questions & Answers

Transfer Files from old Mac to a Linux box?

The other half has informed me that I gotta get my own Internet box (been using her's for over ten years) and my ancient Mac SE30 (when's the last time you heard about one of those) has a bunch of Excel and Word files that I want to move to the next machine. I know that I can spend significant... (3 Replies)
Discussion started by: wsimpso1
3 Replies

3. Web Development

Uploading files via php

I used the following code, which I found on the internet to upload files. <!-- The data encoding type, enctype, MUST be specified as below --> <form enctype="multipart/form-data" action="upload2.php" method="POST"> <!-- MAX_FILE_SIZE must precede the file input field --> <input... (2 Replies)
Discussion started by: jgt
2 Replies
set_color(1)							       fish							      set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 02:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy