LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2011, 04:34 PM   #1
nishanthp82
LQ Newbie
 
Registered: Nov 2011
Posts: 15

Rep: Reputation: Disabled
to make a copy of script


hi

is thare any way i can copy the scripts from server to my desktop?

how do i edit the script from my desktop after copying to desktop?

Thanks
 
Old 11-16-2011, 05:04 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,933

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by nishanthp82 View Post
hi
is thare any way i can copy the scripts from server to my desktop?
You asked about AIX in your other thread, so I'm assuming you know about Unix already. You copy scripts using the 'cp' command, as with most versions of Unix/Linux. Or do you mean how do you copy them over the NETWORK to your desktop? And what is your desktop running?? You can use the scp command (read the man page on scp), if you have ssh available on the server and your desktop. Or, FTP (again, providing you have FTP running on the server)
Quote:
how do i edit the script from my desktop after copying to desktop?
Thanks
With an editor....vi, emacs, or even notepad on Windows can open a script file...it's just text. Pick your favorite text editor.
 
Old 11-16-2011, 05:09 PM   #3
rfire
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
If you use windows and you want to download a scripts from your unix server, i would suggest you to use WinSCP.
Just login using your login/password or key, and download it.

As far as i remember, ftp sends login/password in plain text...
 
Old 11-16-2011, 06:06 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Remember that if you use MS editor, it'll change the end-of-line chars (MS = \r\n, *nix = \n).
You can use dos2unix (might be called dostounix on your system) to change them back after uploading.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO MAKE backup script LINUX CentOS5 copy data to another machine ytd Linux - Newbie 8 09-30-2009 02:54 PM
how to make a dvd copy popcorn5714 Ubuntu 2 09-04-2009 09:53 AM
make a copy protected cd ozminh Linux - Newbie 3 02-25-2009 07:59 AM
how to make a startup script to copy files dgr Linux - Newbie 3 09-26-2007 10:45 PM
How to make a copy of suse 9.11 klitgaard Linux - Newbie 3 08-24-2004 03:40 PM


All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration