How to save a file from Linux on to your desktop?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have began using Putty.exe on a university computer that is also connected to the university server. I have a pdb file saved in my Linux directory. Is it possible to save this pdb file onto the desktop of the current computer I am using so I can e-mail it to myself?



I would like to learn how to save Linux files onto my desktop (when using the university server). I have researched on my own and have found out that when you are using your own computer or personal laptop at home, I could potentially save a file (using command cp to copy it actually) to my desktop using a direct path however, I am having trouble completing this on a university server.










share|improve this question









New contributor




Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    I have began using Putty.exe on a university computer that is also connected to the university server. I have a pdb file saved in my Linux directory. Is it possible to save this pdb file onto the desktop of the current computer I am using so I can e-mail it to myself?



    I would like to learn how to save Linux files onto my desktop (when using the university server). I have researched on my own and have found out that when you are using your own computer or personal laptop at home, I could potentially save a file (using command cp to copy it actually) to my desktop using a direct path however, I am having trouble completing this on a university server.










    share|improve this question









    New contributor




    Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have began using Putty.exe on a university computer that is also connected to the university server. I have a pdb file saved in my Linux directory. Is it possible to save this pdb file onto the desktop of the current computer I am using so I can e-mail it to myself?



      I would like to learn how to save Linux files onto my desktop (when using the university server). I have researched on my own and have found out that when you are using your own computer or personal laptop at home, I could potentially save a file (using command cp to copy it actually) to my desktop using a direct path however, I am having trouble completing this on a university server.










      share|improve this question









      New contributor




      Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have began using Putty.exe on a university computer that is also connected to the university server. I have a pdb file saved in my Linux directory. Is it possible to save this pdb file onto the desktop of the current computer I am using so I can e-mail it to myself?



      I would like to learn how to save Linux files onto my desktop (when using the university server). I have researched on my own and have found out that when you are using your own computer or personal laptop at home, I could potentially save a file (using command cp to copy it actually) to my desktop using a direct path however, I am having trouble completing this on a university server.







      putty file-transfer






      share|improve this question









      New contributor




      Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Oct 1 at 17:09









      sebasth

      7,28131745




      7,28131745






      New contributor




      Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Oct 1 at 16:48









      Isabel Estrella Sanchez

      11




      11




      New contributor




      Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Isabel Estrella Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          4 Answers
          4






          active

          oldest

          votes

















          up vote
          2
          down vote













          PuTTY should come with scp client pscp. You can use it from command line:



          pscp user@host:source target


          Where user and host refer to the server you are connecting to. Source is the path to the file on server, and target is path to where you want to save the file on your client.



          If you are using Linux client, your system possibly already has scp installed. scp can be used with same syntax.






          share|improve this answer




















          • Ok, I understand how to find paths to other parts within your directories in Linux, but without giving away the answer (or command), is it possible to find the path to the desktop of the current computer you are using, in other words, can you access folders outside of linux? (For example, "My Documents" in Windows?)
            – Isabel Estrella Sanchez
            Oct 1 at 17:02










          • You could open command line (cmd), navigate to directory you want to save the file and then execute PathTopscp.exe user@host:source .; For finding user directory path on Windows, see this related question on SO about finding user directory on Windows.
            – sebasth
            Oct 1 at 17:06











          • No you can't read out from remote computer to local (when using ssh (putty)). You need to run a putty command on the local machine, to go grab the file. You could do a ssh back from the remote to the local, but you seem to be using Microsoft's Windows (so you can't).
            – ctrl-alt-delor
            Oct 1 at 18:22










          • @ctrl-alt-delor I was told about some program called Filezilla that can do this. Another classmate did the same! She used Filezilla to save a file she has saved in her Linux directory and then you could see the file on her desktop. (The desktop was on a university's computer)
            – Isabel Estrella Sanchez
            Oct 1 at 20:51











          • If you have a MS-Windows file share, then you can mount it in Gnu/Linux (If it is visible from that machine). It may be better to ask the local IT-support team, at the university.
            – ctrl-alt-delor
            Oct 3 at 15:36


















          up vote
          2
          down vote













          Using SCP with pscp is a good option, as given by sebasth. SFTP with psftp is another option. You probably cannot install software on the university workstation, but you can probably download and execute Putty's psftp, which is "command-line secure file copy."



          When you first start this program, it might look as follows.



          psftp: no hostname specified; use "open host.name" to connect
          psftp>


          Do this using the same credentials that you use for SSH. For example,



          psftp> open server.university.edu


          (Or, use its IP address if you don't have a hostname.)



          Type help to view available commands. Of note, pay attention to lcd. The meaning is "local change directory." This changes the working directory of the program. When you download a file, the file will be downloaded into the working directory. One might use lpwd to print the local working directory. Also note that local commands can be executed with !. To get a local directory listing, type !dir. As an exercise, try these to get a feel for what is happening.



          lcd 
          !dir
          lcd Users
          !dir
          lcd YourUserName
          !dir
          lcd Desktop
          lpwd


          Now, get a directory listing on the remote side.



          ls


          Use get to download a single file. Use mget to download multiple files at once, for example, mget a* to download all files beginning with the lower-case letter, a. (The uploads use put and mput.)



          To end the SFTP session, type bye.



          On a personal computer where you can install software, try any SFTP client. FileZilla. WinSCP. WinSSHFS. Or search for one you like best.






          share|improve this answer






















          • Great! This is my next step. Well, first step actually is to learn what SFTP is and then proceed from there. Thank you.
            – Isabel Estrella Sanchez
            Oct 1 at 16:54










          • SFTP is secure file transfer protocol. It's like FTP over the SSH connection.
            – Christopher
            Oct 1 at 16:55










          • @Christopher SFTP is not FTP over SSH. It's often confused because they have superficial similarity from the user level but SFTP is a totally different protocol than FTP.
            – Lie Ryan
            Oct 3 at 16:00










          • @LieRyan Thus the simile (a figure of speech involving the comparison of one thing with another thing of a different kind, used to make a description more emphatic).
            – Christopher
            Oct 3 at 16:01










          • Note that SFTP needs to be enabled by the server admin for it to work. This is an advantage that SCP has over SFTP, as SCP is always available whenever you have shell access.
            – Lie Ryan
            Oct 3 at 16:06


















          up vote
          0
          down vote













          So I think that the answer that most directly answers you question is scp (pscp if using putty).



          However another solution, is to install a revision control system, you should do this anyway, as they are very very useful. I recommend mercurial (hg) (others will recommend git, but it is much harder to learn).



          • Install tourtoisehg on both MS-windows, and Gnu/Linux,

            • on Debian/Ubuntu etc type sudo apt install tortoisehg-nautilus (and wait 2 minutes).

            • on MS-Windows goto https://tortoisehg.bitbucket.io/ download install (and wait ½ hour).


          • get an account at bit-bucket, and

          • learn how it works: There are many tutorials, I don't know which is best. If you can't find them, then ask, and I will direct you to some.

          You can save the entire history of your project, so can undo changes from weeks ago (if you need to). You can also synchronise multiple computers via bitbucket.






          share|improve this answer






















          • I wish I could ask you to explain this like I'm 5. I can do this. Thank you.
            – Isabel Estrella Sanchez
            Oct 1 at 20:53










          • @IsabelEstrellaSanchez Sorry but you last comment is confusing me. (it reads, I wish I could ask for help (yes you can do this), I already know how to do this). Are you asking for help?
            – ctrl-alt-delor
            Oct 3 at 15:39

















          up vote
          0
          down vote













          If you have a MS-Windows file share (probably in a university, as you need this for MS-Windows to have you files on every machine in the university), then you can mount it in Gnu/Linux (If it is visible from that machine: probably is if also in the university). It may be better to ask the local IT-support team, at the university, to find out how.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            Isabel Estrella Sanchez is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f472608%2fhow-to-save-a-file-from-linux-on-to-your-desktop%23new-answer', 'question_page');

            );

            Post as a guest






























            4 Answers
            4






            active

            oldest

            votes








            4 Answers
            4






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            PuTTY should come with scp client pscp. You can use it from command line:



            pscp user@host:source target


            Where user and host refer to the server you are connecting to. Source is the path to the file on server, and target is path to where you want to save the file on your client.



            If you are using Linux client, your system possibly already has scp installed. scp can be used with same syntax.






            share|improve this answer




















            • Ok, I understand how to find paths to other parts within your directories in Linux, but without giving away the answer (or command), is it possible to find the path to the desktop of the current computer you are using, in other words, can you access folders outside of linux? (For example, "My Documents" in Windows?)
              – Isabel Estrella Sanchez
              Oct 1 at 17:02










            • You could open command line (cmd), navigate to directory you want to save the file and then execute PathTopscp.exe user@host:source .; For finding user directory path on Windows, see this related question on SO about finding user directory on Windows.
              – sebasth
              Oct 1 at 17:06











            • No you can't read out from remote computer to local (when using ssh (putty)). You need to run a putty command on the local machine, to go grab the file. You could do a ssh back from the remote to the local, but you seem to be using Microsoft's Windows (so you can't).
              – ctrl-alt-delor
              Oct 1 at 18:22










            • @ctrl-alt-delor I was told about some program called Filezilla that can do this. Another classmate did the same! She used Filezilla to save a file she has saved in her Linux directory and then you could see the file on her desktop. (The desktop was on a university's computer)
              – Isabel Estrella Sanchez
              Oct 1 at 20:51











            • If you have a MS-Windows file share, then you can mount it in Gnu/Linux (If it is visible from that machine). It may be better to ask the local IT-support team, at the university.
              – ctrl-alt-delor
              Oct 3 at 15:36















            up vote
            2
            down vote













            PuTTY should come with scp client pscp. You can use it from command line:



            pscp user@host:source target


            Where user and host refer to the server you are connecting to. Source is the path to the file on server, and target is path to where you want to save the file on your client.



            If you are using Linux client, your system possibly already has scp installed. scp can be used with same syntax.






            share|improve this answer




















            • Ok, I understand how to find paths to other parts within your directories in Linux, but without giving away the answer (or command), is it possible to find the path to the desktop of the current computer you are using, in other words, can you access folders outside of linux? (For example, "My Documents" in Windows?)
              – Isabel Estrella Sanchez
              Oct 1 at 17:02










            • You could open command line (cmd), navigate to directory you want to save the file and then execute PathTopscp.exe user@host:source .; For finding user directory path on Windows, see this related question on SO about finding user directory on Windows.
              – sebasth
              Oct 1 at 17:06











            • No you can't read out from remote computer to local (when using ssh (putty)). You need to run a putty command on the local machine, to go grab the file. You could do a ssh back from the remote to the local, but you seem to be using Microsoft's Windows (so you can't).
              – ctrl-alt-delor
              Oct 1 at 18:22










            • @ctrl-alt-delor I was told about some program called Filezilla that can do this. Another classmate did the same! She used Filezilla to save a file she has saved in her Linux directory and then you could see the file on her desktop. (The desktop was on a university's computer)
              – Isabel Estrella Sanchez
              Oct 1 at 20:51











            • If you have a MS-Windows file share, then you can mount it in Gnu/Linux (If it is visible from that machine). It may be better to ask the local IT-support team, at the university.
              – ctrl-alt-delor
              Oct 3 at 15:36













            up vote
            2
            down vote










            up vote
            2
            down vote









            PuTTY should come with scp client pscp. You can use it from command line:



            pscp user@host:source target


            Where user and host refer to the server you are connecting to. Source is the path to the file on server, and target is path to where you want to save the file on your client.



            If you are using Linux client, your system possibly already has scp installed. scp can be used with same syntax.






            share|improve this answer












            PuTTY should come with scp client pscp. You can use it from command line:



            pscp user@host:source target


            Where user and host refer to the server you are connecting to. Source is the path to the file on server, and target is path to where you want to save the file on your client.



            If you are using Linux client, your system possibly already has scp installed. scp can be used with same syntax.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Oct 1 at 16:52









            sebasth

            7,28131745




            7,28131745











            • Ok, I understand how to find paths to other parts within your directories in Linux, but without giving away the answer (or command), is it possible to find the path to the desktop of the current computer you are using, in other words, can you access folders outside of linux? (For example, "My Documents" in Windows?)
              – Isabel Estrella Sanchez
              Oct 1 at 17:02










            • You could open command line (cmd), navigate to directory you want to save the file and then execute PathTopscp.exe user@host:source .; For finding user directory path on Windows, see this related question on SO about finding user directory on Windows.
              – sebasth
              Oct 1 at 17:06











            • No you can't read out from remote computer to local (when using ssh (putty)). You need to run a putty command on the local machine, to go grab the file. You could do a ssh back from the remote to the local, but you seem to be using Microsoft's Windows (so you can't).
              – ctrl-alt-delor
              Oct 1 at 18:22










            • @ctrl-alt-delor I was told about some program called Filezilla that can do this. Another classmate did the same! She used Filezilla to save a file she has saved in her Linux directory and then you could see the file on her desktop. (The desktop was on a university's computer)
              – Isabel Estrella Sanchez
              Oct 1 at 20:51











            • If you have a MS-Windows file share, then you can mount it in Gnu/Linux (If it is visible from that machine). It may be better to ask the local IT-support team, at the university.
              – ctrl-alt-delor
              Oct 3 at 15:36

















            • Ok, I understand how to find paths to other parts within your directories in Linux, but without giving away the answer (or command), is it possible to find the path to the desktop of the current computer you are using, in other words, can you access folders outside of linux? (For example, "My Documents" in Windows?)
              – Isabel Estrella Sanchez
              Oct 1 at 17:02










            • You could open command line (cmd), navigate to directory you want to save the file and then execute PathTopscp.exe user@host:source .; For finding user directory path on Windows, see this related question on SO about finding user directory on Windows.
              – sebasth
              Oct 1 at 17:06











            • No you can't read out from remote computer to local (when using ssh (putty)). You need to run a putty command on the local machine, to go grab the file. You could do a ssh back from the remote to the local, but you seem to be using Microsoft's Windows (so you can't).
              – ctrl-alt-delor
              Oct 1 at 18:22










            • @ctrl-alt-delor I was told about some program called Filezilla that can do this. Another classmate did the same! She used Filezilla to save a file she has saved in her Linux directory and then you could see the file on her desktop. (The desktop was on a university's computer)
              – Isabel Estrella Sanchez
              Oct 1 at 20:51











            • If you have a MS-Windows file share, then you can mount it in Gnu/Linux (If it is visible from that machine). It may be better to ask the local IT-support team, at the university.
              – ctrl-alt-delor
              Oct 3 at 15:36
















            Ok, I understand how to find paths to other parts within your directories in Linux, but without giving away the answer (or command), is it possible to find the path to the desktop of the current computer you are using, in other words, can you access folders outside of linux? (For example, "My Documents" in Windows?)
            – Isabel Estrella Sanchez
            Oct 1 at 17:02




            Ok, I understand how to find paths to other parts within your directories in Linux, but without giving away the answer (or command), is it possible to find the path to the desktop of the current computer you are using, in other words, can you access folders outside of linux? (For example, "My Documents" in Windows?)
            – Isabel Estrella Sanchez
            Oct 1 at 17:02












            You could open command line (cmd), navigate to directory you want to save the file and then execute PathTopscp.exe user@host:source .; For finding user directory path on Windows, see this related question on SO about finding user directory on Windows.
            – sebasth
            Oct 1 at 17:06





            You could open command line (cmd), navigate to directory you want to save the file and then execute PathTopscp.exe user@host:source .; For finding user directory path on Windows, see this related question on SO about finding user directory on Windows.
            – sebasth
            Oct 1 at 17:06













            No you can't read out from remote computer to local (when using ssh (putty)). You need to run a putty command on the local machine, to go grab the file. You could do a ssh back from the remote to the local, but you seem to be using Microsoft's Windows (so you can't).
            – ctrl-alt-delor
            Oct 1 at 18:22




            No you can't read out from remote computer to local (when using ssh (putty)). You need to run a putty command on the local machine, to go grab the file. You could do a ssh back from the remote to the local, but you seem to be using Microsoft's Windows (so you can't).
            – ctrl-alt-delor
            Oct 1 at 18:22












            @ctrl-alt-delor I was told about some program called Filezilla that can do this. Another classmate did the same! She used Filezilla to save a file she has saved in her Linux directory and then you could see the file on her desktop. (The desktop was on a university's computer)
            – Isabel Estrella Sanchez
            Oct 1 at 20:51





            @ctrl-alt-delor I was told about some program called Filezilla that can do this. Another classmate did the same! She used Filezilla to save a file she has saved in her Linux directory and then you could see the file on her desktop. (The desktop was on a university's computer)
            – Isabel Estrella Sanchez
            Oct 1 at 20:51













            If you have a MS-Windows file share, then you can mount it in Gnu/Linux (If it is visible from that machine). It may be better to ask the local IT-support team, at the university.
            – ctrl-alt-delor
            Oct 3 at 15:36





            If you have a MS-Windows file share, then you can mount it in Gnu/Linux (If it is visible from that machine). It may be better to ask the local IT-support team, at the university.
            – ctrl-alt-delor
            Oct 3 at 15:36













            up vote
            2
            down vote













            Using SCP with pscp is a good option, as given by sebasth. SFTP with psftp is another option. You probably cannot install software on the university workstation, but you can probably download and execute Putty's psftp, which is "command-line secure file copy."



            When you first start this program, it might look as follows.



            psftp: no hostname specified; use "open host.name" to connect
            psftp>


            Do this using the same credentials that you use for SSH. For example,



            psftp> open server.university.edu


            (Or, use its IP address if you don't have a hostname.)



            Type help to view available commands. Of note, pay attention to lcd. The meaning is "local change directory." This changes the working directory of the program. When you download a file, the file will be downloaded into the working directory. One might use lpwd to print the local working directory. Also note that local commands can be executed with !. To get a local directory listing, type !dir. As an exercise, try these to get a feel for what is happening.



            lcd 
            !dir
            lcd Users
            !dir
            lcd YourUserName
            !dir
            lcd Desktop
            lpwd


            Now, get a directory listing on the remote side.



            ls


            Use get to download a single file. Use mget to download multiple files at once, for example, mget a* to download all files beginning with the lower-case letter, a. (The uploads use put and mput.)



            To end the SFTP session, type bye.



            On a personal computer where you can install software, try any SFTP client. FileZilla. WinSCP. WinSSHFS. Or search for one you like best.






            share|improve this answer






















            • Great! This is my next step. Well, first step actually is to learn what SFTP is and then proceed from there. Thank you.
              – Isabel Estrella Sanchez
              Oct 1 at 16:54










            • SFTP is secure file transfer protocol. It's like FTP over the SSH connection.
              – Christopher
              Oct 1 at 16:55










            • @Christopher SFTP is not FTP over SSH. It's often confused because they have superficial similarity from the user level but SFTP is a totally different protocol than FTP.
              – Lie Ryan
              Oct 3 at 16:00










            • @LieRyan Thus the simile (a figure of speech involving the comparison of one thing with another thing of a different kind, used to make a description more emphatic).
              – Christopher
              Oct 3 at 16:01










            • Note that SFTP needs to be enabled by the server admin for it to work. This is an advantage that SCP has over SFTP, as SCP is always available whenever you have shell access.
              – Lie Ryan
              Oct 3 at 16:06















            up vote
            2
            down vote













            Using SCP with pscp is a good option, as given by sebasth. SFTP with psftp is another option. You probably cannot install software on the university workstation, but you can probably download and execute Putty's psftp, which is "command-line secure file copy."



            When you first start this program, it might look as follows.



            psftp: no hostname specified; use "open host.name" to connect
            psftp>


            Do this using the same credentials that you use for SSH. For example,



            psftp> open server.university.edu


            (Or, use its IP address if you don't have a hostname.)



            Type help to view available commands. Of note, pay attention to lcd. The meaning is "local change directory." This changes the working directory of the program. When you download a file, the file will be downloaded into the working directory. One might use lpwd to print the local working directory. Also note that local commands can be executed with !. To get a local directory listing, type !dir. As an exercise, try these to get a feel for what is happening.



            lcd 
            !dir
            lcd Users
            !dir
            lcd YourUserName
            !dir
            lcd Desktop
            lpwd


            Now, get a directory listing on the remote side.



            ls


            Use get to download a single file. Use mget to download multiple files at once, for example, mget a* to download all files beginning with the lower-case letter, a. (The uploads use put and mput.)



            To end the SFTP session, type bye.



            On a personal computer where you can install software, try any SFTP client. FileZilla. WinSCP. WinSSHFS. Or search for one you like best.






            share|improve this answer






















            • Great! This is my next step. Well, first step actually is to learn what SFTP is and then proceed from there. Thank you.
              – Isabel Estrella Sanchez
              Oct 1 at 16:54










            • SFTP is secure file transfer protocol. It's like FTP over the SSH connection.
              – Christopher
              Oct 1 at 16:55










            • @Christopher SFTP is not FTP over SSH. It's often confused because they have superficial similarity from the user level but SFTP is a totally different protocol than FTP.
              – Lie Ryan
              Oct 3 at 16:00










            • @LieRyan Thus the simile (a figure of speech involving the comparison of one thing with another thing of a different kind, used to make a description more emphatic).
              – Christopher
              Oct 3 at 16:01










            • Note that SFTP needs to be enabled by the server admin for it to work. This is an advantage that SCP has over SFTP, as SCP is always available whenever you have shell access.
              – Lie Ryan
              Oct 3 at 16:06













            up vote
            2
            down vote










            up vote
            2
            down vote









            Using SCP with pscp is a good option, as given by sebasth. SFTP with psftp is another option. You probably cannot install software on the university workstation, but you can probably download and execute Putty's psftp, which is "command-line secure file copy."



            When you first start this program, it might look as follows.



            psftp: no hostname specified; use "open host.name" to connect
            psftp>


            Do this using the same credentials that you use for SSH. For example,



            psftp> open server.university.edu


            (Or, use its IP address if you don't have a hostname.)



            Type help to view available commands. Of note, pay attention to lcd. The meaning is "local change directory." This changes the working directory of the program. When you download a file, the file will be downloaded into the working directory. One might use lpwd to print the local working directory. Also note that local commands can be executed with !. To get a local directory listing, type !dir. As an exercise, try these to get a feel for what is happening.



            lcd 
            !dir
            lcd Users
            !dir
            lcd YourUserName
            !dir
            lcd Desktop
            lpwd


            Now, get a directory listing on the remote side.



            ls


            Use get to download a single file. Use mget to download multiple files at once, for example, mget a* to download all files beginning with the lower-case letter, a. (The uploads use put and mput.)



            To end the SFTP session, type bye.



            On a personal computer where you can install software, try any SFTP client. FileZilla. WinSCP. WinSSHFS. Or search for one you like best.






            share|improve this answer














            Using SCP with pscp is a good option, as given by sebasth. SFTP with psftp is another option. You probably cannot install software on the university workstation, but you can probably download and execute Putty's psftp, which is "command-line secure file copy."



            When you first start this program, it might look as follows.



            psftp: no hostname specified; use "open host.name" to connect
            psftp>


            Do this using the same credentials that you use for SSH. For example,



            psftp> open server.university.edu


            (Or, use its IP address if you don't have a hostname.)



            Type help to view available commands. Of note, pay attention to lcd. The meaning is "local change directory." This changes the working directory of the program. When you download a file, the file will be downloaded into the working directory. One might use lpwd to print the local working directory. Also note that local commands can be executed with !. To get a local directory listing, type !dir. As an exercise, try these to get a feel for what is happening.



            lcd 
            !dir
            lcd Users
            !dir
            lcd YourUserName
            !dir
            lcd Desktop
            lpwd


            Now, get a directory listing on the remote side.



            ls


            Use get to download a single file. Use mget to download multiple files at once, for example, mget a* to download all files beginning with the lower-case letter, a. (The uploads use put and mput.)



            To end the SFTP session, type bye.



            On a personal computer where you can install software, try any SFTP client. FileZilla. WinSCP. WinSSHFS. Or search for one you like best.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 1 at 19:14

























            answered Oct 1 at 16:52









            Christopher

            9,07032743




            9,07032743











            • Great! This is my next step. Well, first step actually is to learn what SFTP is and then proceed from there. Thank you.
              – Isabel Estrella Sanchez
              Oct 1 at 16:54










            • SFTP is secure file transfer protocol. It's like FTP over the SSH connection.
              – Christopher
              Oct 1 at 16:55










            • @Christopher SFTP is not FTP over SSH. It's often confused because they have superficial similarity from the user level but SFTP is a totally different protocol than FTP.
              – Lie Ryan
              Oct 3 at 16:00










            • @LieRyan Thus the simile (a figure of speech involving the comparison of one thing with another thing of a different kind, used to make a description more emphatic).
              – Christopher
              Oct 3 at 16:01










            • Note that SFTP needs to be enabled by the server admin for it to work. This is an advantage that SCP has over SFTP, as SCP is always available whenever you have shell access.
              – Lie Ryan
              Oct 3 at 16:06

















            • Great! This is my next step. Well, first step actually is to learn what SFTP is and then proceed from there. Thank you.
              – Isabel Estrella Sanchez
              Oct 1 at 16:54










            • SFTP is secure file transfer protocol. It's like FTP over the SSH connection.
              – Christopher
              Oct 1 at 16:55










            • @Christopher SFTP is not FTP over SSH. It's often confused because they have superficial similarity from the user level but SFTP is a totally different protocol than FTP.
              – Lie Ryan
              Oct 3 at 16:00










            • @LieRyan Thus the simile (a figure of speech involving the comparison of one thing with another thing of a different kind, used to make a description more emphatic).
              – Christopher
              Oct 3 at 16:01










            • Note that SFTP needs to be enabled by the server admin for it to work. This is an advantage that SCP has over SFTP, as SCP is always available whenever you have shell access.
              – Lie Ryan
              Oct 3 at 16:06
















            Great! This is my next step. Well, first step actually is to learn what SFTP is and then proceed from there. Thank you.
            – Isabel Estrella Sanchez
            Oct 1 at 16:54




            Great! This is my next step. Well, first step actually is to learn what SFTP is and then proceed from there. Thank you.
            – Isabel Estrella Sanchez
            Oct 1 at 16:54












            SFTP is secure file transfer protocol. It's like FTP over the SSH connection.
            – Christopher
            Oct 1 at 16:55




            SFTP is secure file transfer protocol. It's like FTP over the SSH connection.
            – Christopher
            Oct 1 at 16:55












            @Christopher SFTP is not FTP over SSH. It's often confused because they have superficial similarity from the user level but SFTP is a totally different protocol than FTP.
            – Lie Ryan
            Oct 3 at 16:00




            @Christopher SFTP is not FTP over SSH. It's often confused because they have superficial similarity from the user level but SFTP is a totally different protocol than FTP.
            – Lie Ryan
            Oct 3 at 16:00












            @LieRyan Thus the simile (a figure of speech involving the comparison of one thing with another thing of a different kind, used to make a description more emphatic).
            – Christopher
            Oct 3 at 16:01




            @LieRyan Thus the simile (a figure of speech involving the comparison of one thing with another thing of a different kind, used to make a description more emphatic).
            – Christopher
            Oct 3 at 16:01












            Note that SFTP needs to be enabled by the server admin for it to work. This is an advantage that SCP has over SFTP, as SCP is always available whenever you have shell access.
            – Lie Ryan
            Oct 3 at 16:06





            Note that SFTP needs to be enabled by the server admin for it to work. This is an advantage that SCP has over SFTP, as SCP is always available whenever you have shell access.
            – Lie Ryan
            Oct 3 at 16:06











            up vote
            0
            down vote













            So I think that the answer that most directly answers you question is scp (pscp if using putty).



            However another solution, is to install a revision control system, you should do this anyway, as they are very very useful. I recommend mercurial (hg) (others will recommend git, but it is much harder to learn).



            • Install tourtoisehg on both MS-windows, and Gnu/Linux,

              • on Debian/Ubuntu etc type sudo apt install tortoisehg-nautilus (and wait 2 minutes).

              • on MS-Windows goto https://tortoisehg.bitbucket.io/ download install (and wait ½ hour).


            • get an account at bit-bucket, and

            • learn how it works: There are many tutorials, I don't know which is best. If you can't find them, then ask, and I will direct you to some.

            You can save the entire history of your project, so can undo changes from weeks ago (if you need to). You can also synchronise multiple computers via bitbucket.






            share|improve this answer






















            • I wish I could ask you to explain this like I'm 5. I can do this. Thank you.
              – Isabel Estrella Sanchez
              Oct 1 at 20:53










            • @IsabelEstrellaSanchez Sorry but you last comment is confusing me. (it reads, I wish I could ask for help (yes you can do this), I already know how to do this). Are you asking for help?
              – ctrl-alt-delor
              Oct 3 at 15:39














            up vote
            0
            down vote













            So I think that the answer that most directly answers you question is scp (pscp if using putty).



            However another solution, is to install a revision control system, you should do this anyway, as they are very very useful. I recommend mercurial (hg) (others will recommend git, but it is much harder to learn).



            • Install tourtoisehg on both MS-windows, and Gnu/Linux,

              • on Debian/Ubuntu etc type sudo apt install tortoisehg-nautilus (and wait 2 minutes).

              • on MS-Windows goto https://tortoisehg.bitbucket.io/ download install (and wait ½ hour).


            • get an account at bit-bucket, and

            • learn how it works: There are many tutorials, I don't know which is best. If you can't find them, then ask, and I will direct you to some.

            You can save the entire history of your project, so can undo changes from weeks ago (if you need to). You can also synchronise multiple computers via bitbucket.






            share|improve this answer






















            • I wish I could ask you to explain this like I'm 5. I can do this. Thank you.
              – Isabel Estrella Sanchez
              Oct 1 at 20:53










            • @IsabelEstrellaSanchez Sorry but you last comment is confusing me. (it reads, I wish I could ask for help (yes you can do this), I already know how to do this). Are you asking for help?
              – ctrl-alt-delor
              Oct 3 at 15:39












            up vote
            0
            down vote










            up vote
            0
            down vote









            So I think that the answer that most directly answers you question is scp (pscp if using putty).



            However another solution, is to install a revision control system, you should do this anyway, as they are very very useful. I recommend mercurial (hg) (others will recommend git, but it is much harder to learn).



            • Install tourtoisehg on both MS-windows, and Gnu/Linux,

              • on Debian/Ubuntu etc type sudo apt install tortoisehg-nautilus (and wait 2 minutes).

              • on MS-Windows goto https://tortoisehg.bitbucket.io/ download install (and wait ½ hour).


            • get an account at bit-bucket, and

            • learn how it works: There are many tutorials, I don't know which is best. If you can't find them, then ask, and I will direct you to some.

            You can save the entire history of your project, so can undo changes from weeks ago (if you need to). You can also synchronise multiple computers via bitbucket.






            share|improve this answer














            So I think that the answer that most directly answers you question is scp (pscp if using putty).



            However another solution, is to install a revision control system, you should do this anyway, as they are very very useful. I recommend mercurial (hg) (others will recommend git, but it is much harder to learn).



            • Install tourtoisehg on both MS-windows, and Gnu/Linux,

              • on Debian/Ubuntu etc type sudo apt install tortoisehg-nautilus (and wait 2 minutes).

              • on MS-Windows goto https://tortoisehg.bitbucket.io/ download install (and wait ½ hour).


            • get an account at bit-bucket, and

            • learn how it works: There are many tutorials, I don't know which is best. If you can't find them, then ask, and I will direct you to some.

            You can save the entire history of your project, so can undo changes from weeks ago (if you need to). You can also synchronise multiple computers via bitbucket.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 3 at 15:48

























            answered Oct 1 at 18:26









            ctrl-alt-delor

            9,23831948




            9,23831948











            • I wish I could ask you to explain this like I'm 5. I can do this. Thank you.
              – Isabel Estrella Sanchez
              Oct 1 at 20:53










            • @IsabelEstrellaSanchez Sorry but you last comment is confusing me. (it reads, I wish I could ask for help (yes you can do this), I already know how to do this). Are you asking for help?
              – ctrl-alt-delor
              Oct 3 at 15:39
















            • I wish I could ask you to explain this like I'm 5. I can do this. Thank you.
              – Isabel Estrella Sanchez
              Oct 1 at 20:53










            • @IsabelEstrellaSanchez Sorry but you last comment is confusing me. (it reads, I wish I could ask for help (yes you can do this), I already know how to do this). Are you asking for help?
              – ctrl-alt-delor
              Oct 3 at 15:39















            I wish I could ask you to explain this like I'm 5. I can do this. Thank you.
            – Isabel Estrella Sanchez
            Oct 1 at 20:53




            I wish I could ask you to explain this like I'm 5. I can do this. Thank you.
            – Isabel Estrella Sanchez
            Oct 1 at 20:53












            @IsabelEstrellaSanchez Sorry but you last comment is confusing me. (it reads, I wish I could ask for help (yes you can do this), I already know how to do this). Are you asking for help?
            – ctrl-alt-delor
            Oct 3 at 15:39




            @IsabelEstrellaSanchez Sorry but you last comment is confusing me. (it reads, I wish I could ask for help (yes you can do this), I already know how to do this). Are you asking for help?
            – ctrl-alt-delor
            Oct 3 at 15:39










            up vote
            0
            down vote













            If you have a MS-Windows file share (probably in a university, as you need this for MS-Windows to have you files on every machine in the university), then you can mount it in Gnu/Linux (If it is visible from that machine: probably is if also in the university). It may be better to ask the local IT-support team, at the university, to find out how.






            share|improve this answer
























              up vote
              0
              down vote













              If you have a MS-Windows file share (probably in a university, as you need this for MS-Windows to have you files on every machine in the university), then you can mount it in Gnu/Linux (If it is visible from that machine: probably is if also in the university). It may be better to ask the local IT-support team, at the university, to find out how.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                If you have a MS-Windows file share (probably in a university, as you need this for MS-Windows to have you files on every machine in the university), then you can mount it in Gnu/Linux (If it is visible from that machine: probably is if also in the university). It may be better to ask the local IT-support team, at the university, to find out how.






                share|improve this answer












                If you have a MS-Windows file share (probably in a university, as you need this for MS-Windows to have you files on every machine in the university), then you can mount it in Gnu/Linux (If it is visible from that machine: probably is if also in the university). It may be better to ask the local IT-support team, at the university, to find out how.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 3 at 15:50









                ctrl-alt-delor

                9,23831948




                9,23831948




















                    Isabel Estrella Sanchez is a new contributor. Be nice, and check out our Code of Conduct.









                     

                    draft saved


                    draft discarded


















                    Isabel Estrella Sanchez is a new contributor. Be nice, and check out our Code of Conduct.












                    Isabel Estrella Sanchez is a new contributor. Be nice, and check out our Code of Conduct.











                    Isabel Estrella Sanchez is a new contributor. Be nice, and check out our Code of Conduct.













                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f472608%2fhow-to-save-a-file-from-linux-on-to-your-desktop%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay