LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03: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, 04:04 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 04: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, 05:06 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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 01:54 PM
how to make a dvd copy popcorn5714 Ubuntu 2 09-04-2009 08:53 AM
make a copy protected cd ozminh Linux - Newbie 3 02-25-2009 06:59 AM
how to make a startup script to copy files dgr Linux - Newbie 3 09-26-2007 09:45 PM
How to make a copy of suse 9.11 klitgaard Linux - Newbie 3 08-24-2004 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:01 PM.

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
Open Source Consulting | Domain Registration