
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] [newbie] scp syntax
Hello,
I would generally have tried something along the following lines:
# scp -r -v hun01118@example.com:/tmp/mozilla .
HTH
> Hello all,
>
> Can anyone give me an example use of scp. I tried to copy /tmp/mozilla*
> from orange24 machine to working directory as below, but I did not work
>
> bash-2.04$ scp hun01118@example.com:/tmp/mozila* .
> who is online now?
> bash-2.04$ cd /tmp/
> bash-2.04$ ls
> Slab1.20 fuku.patch ps_data work
> a.out fuku.patch.old tmp.c
> bash-2.04$ scp hun01118@example.com:/tmp/mozila* .
> who is online now?
> bash-2.04$ whoami
> bash: whoami: command not found
> bash-2.04$ who
> hun01118 pts/1 Oct 1 14:46 (orange24.jed.uec.ac.jp)
> bash-2.04$ ssh -V
> OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
> bash-2.04$ uname -a
> SunOS orange00 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
> bash-2.04$ exit
> logout
> Connection to orange00 closed.
> bash$ uname -a
> Linux orange24 2.4.17 #3 Thu Feb 28 10:17:24 JST 2002 i686
> unknown
> bash$ ls /tmp/
> mozilla mozilla-i686-pc-linux-gnu-sea.tar.gz
> mozilla-i686-pc-linux-gnu.tar.gz
> bash$
>
> TIA
>
>
> +----------------------------------------------------------+
> | Nguyen Vu Hung( vuhung@example.com ) |
> | The University of Electro-Communications, Tokyo, Japan |
> +----------------------------------------------------------+
> | Takeshi's small space http://site.techviet.com/vuhung/ |
> | Join KDE-i18n-Vi? http://vi.i18n.kde.org/ |
> | VYSA http://vysasports.vngate.net/ |
> | Vn Linux Users Group http://vietlug.sourceforge.net/ |
> | Tokyo Linux Users Group http://www.tlug.gr.jp/ |
> +----------------------------------------------------------+
>
>
>
> **********************************************************
> TLUG server is hosted by Open Source Development Lab Japan
> http://www.osdl.jp/
> **********************************************************
>
> ==========================================================
> To unsubscribe from this mailing list,
> please see instructions at
> http://www.tlug.jp/list.html
> ==========================================================
>
>
Home |
Main Index |
Thread Index