Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Depending on your temperament, you might prefer https://github.com/nvbn/thefuck

    $ apt-get install vim
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

    $ fuck
    sudo apt-get install vim
    [sudo] password for nvbn:
    Reading package lists... Done


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: