How to change shell in unix
I'm new to unix. I need to copy file over ssh. This is what I do
me@localhost ~ $ ssh you@remotehost
Then I established ssh so I get
you@remotehost ~ $
I'd like to use scp to copy files from localhost to remotehost. Once I have ssh connection, how do I change to prompt back to me@localhost so that I can use the scp command? Is there a command for that?
Edit: The reason I need the ssh is because after I copied the file I have to execute it. Is there a way to remain in the ssh session and use scp to copy the file that I'm editing at localhost
Copyright License: Author:「siamii」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer. Link to:https://stackoverflow.com/questions/4130114/how-to-change-shell-in-unix
About “How to change shell in unix” questions
I want to disable the Unix shell prompt character ($, #, %) which usually we see in terminal. Is there any command or setting which can do this? I am using Solaris OS.
By shell prompt character I ...
|
I want to create a mini shell for UNIX just to know the ins and outs of everything. I am having some confusions understanding things that I used to get for granted. This is kinda philosophical ques...
|
How do I create an array in unix shell scripting?
|
How do I create an array in unix shell scripting?
|
How do I create an array in unix shell scripting?
|
I want to know can we create UDF for hive using shell script .For pig i got the reference from here Unix Shell Script as UDF for Pig and HiveThat we can't create .
If we can create please let me kn...
|
I'm new to unix. I need to copy file over ssh. This is what I do
me@localhost ~ $ ssh you@remotehost
Then I established ssh so I get
you@remotehost ~ $
I'd like to use scp to copy files from
|
I am beginner to UNIX,UNIX Shell Scripting.
Can you please guide me through any excellent sites for unix(which are easy to understand),some study materials(tutorials),video tutorials.
Please help...
|
grep "<ValidateXYZResponse" filename.log* | grep -v "<ResponseCode>000<ResponseCode>"
Above command works fine in UNIX where grep -v excludes the records having response code "000"
|
I have written an octave script file (.m)
If anyone could point me out on how to run octave scripts on unix shell that would be really helpful. I do not want to execute the script by invoking octave
|
|
|