Updates from January, 2012 Toggle Comment Threads | Keyboard Shortcuts

  • irtiyah 4:41 pm on January 11, 2012 Permalink | Reply
    Tags: tuan tanah   

    Admin Baru 

    Jangan terkejut.. post kali ini bukan ditulis oleh ibnuyahya.

    ibnuyahya.com dah ada admin baru iaitu irtiyah!.

    Siapa saya? saya merupakan partner, housemate, kawan, sahabat, kekasih, wife di dunia dan di syurga kepada ibnuyahya. InsyaAllah..

    Yang pasti tiada admin ke tiga untuk web / blog ni. Itu kerja saya untuk pastikan ha ha ha.. kecuali generasi ke dua kami beberapa tahun akan datang. InsyaAllah.. amin.

    Elok juga husband and wife tulis dalam blog yang sama.. kira macam berjalan seiringan. Selamat dari fitnah. Hahaha.. yek yek ooo je saya ni berteori. Apa pun.. terima kasih kepada ibnuyahya kerana menjemput saya sama-sama berwarnai blog beliau. Terasa mendapat pengiktirafan yang tinggi pula. Hehehe

    Sekian ucapan daripada saya. Akhir sekali terima kasih kepada mereka yang mengundi saya untuk jawatan ini. Eh…? guro je..

    p/s : harus ada signature la kan.. kata admin ada dua.. :)

     

    Posted by

     
  • ibnuyahya 3:34 pm on November 26, 2011 Permalink | Reply  

    run scp as background process 

    I had a problem to transfer big file from server A to server B and dont want to wait until transfer process is completed. How to keep scp running even terminal session is closed.

    My solution is using scp with nohup.

    $nohup scp file_to_copy user@server:/path/to/copy/the/file &
    

    But the problem with the above code is, scp require password to enter before you can use it. (other method, create ssh signed key)

    to solve this problem. We can do the following step
    1. run nohup

    $nohup scp file_to_copy user@server:/path/to/copy/the/file > nohup.out 2>&1
    

    by default, nohup is not running at background. wait until scp asking for the password.
    2. enter your password.
    3. press ctrl + z to temporary suspend the command.
    4. enter bg command

    $bg
    

    now your scp is running at background. You can close your terminal :)

     
    • ibnuyahya 1:50 pm on November 22, 2011 Permalink | Reply  

      test post 

      test http://ibnuyahya.jomniaga.local/buy/1

       
      • ibnuyahya 11:28 am on August 25, 2011 Permalink | Reply  

        list conjob for all users 

        for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done

         
        c
        compose new post
        j
        next post/next comment
        k
        previous post/previous comment
        r
        reply
        e
        edit
        o
        show/hide comments
        t
        go to top
        l
        go to login
        h
        show/hide help
        shift + esc
        cancel