Find the answer to your Linux question:
Results 1 to 4 of 4
I'm new to linux I put echo "hai" in .bashrc of my user i login into another system and try to copy a dir using scp -r dir_name username@ip:~/ then ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    3

    Question copying directory from one system to another


    I'm new to linux
    I put echo "hai" in .bashrc of my user
    i login into another system and try to copy a dir using

    scp -r dir_name username@ip:~/

    then it asks the password
    I Entered the correct password also
    then it simply displays "hai"
    and cannot copy anything
    if I remove echo "hai" from .bashrc
    then the directory copied

    why it is happened?
    please help me in copying directories

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Can you put down the Entire .bashrc file of the user that get connected to?
    New Users, please read this..
    Google first, then ask..

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    3

    help in copying directory

    is copying is not possible without deleting .bashrc file?
    if possible please tell me the way?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Why dont you first answer my Question?
    If you Ignore people who want to help you you'll not get help y, know
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •