Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Little Known Linux commands

  1. #21
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Alright.. Consider this:

    mkdir test && cd test
    touch mytest
    ln -s mytest mytest2
    ln -h mytest mytest2

    Now scp that test dir to another machine... See what you end up with.. 3 copies of the same file and no more symlinks.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  2. #22
    Senior Member
    Join Date
    Nov 2002
    Posts
    339
    If you wanna backup across the net using SSH (course assuming /etc as the source to backup and bkuphost is destination hostname or IP):

    tar zvcf - /etc | ssh bkuphost "cat > destfile.tgz"

    Another thing you could do is replace the destfile.tgz with /dev/tape to backup to tape.
    Don\'t be a bitch! Use Slackware.

Posting Permissions

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