Tag | linux

  1. Bash Signal Handler and Traps

    I would like to launch ssh-agent and add my private key at the beginning of my shell script and stop it before leaving the shell script. How do I guarantee that ssh-agent will be shutted down properly? What will happen if the user press Ctrl-C or even kill the shell …

    More

  2. Fix Nautilus Video Thumbnails

    I have a clean Ubuntu 15.10 installation these days. However, I noticed that video thumbnails (or previews) do not show up in Gnome Nautilus:

    Nautilus without video preview thumbnails

    I prefer thumbnails to icons. Besides, I remember that Nautilus will generate a thumbnail for each video in Ubuntu 14.04. Thus, I took some …

    More

  3. Global Git Ignore File

    There are some files that shouldn't be tracked by Git at all. For example, the temporary files created by the text editors, the Python bytecode, and etc.

    How could we ignore those files? In the previous post, I have mentioned that we can create a .gitignore file and list the …

    More

  4. Troubleshooting adb No Permissions Problem

    I got an Android Nexus 7 (2013, Wi-Fi) device a short while ago. I attached the device to my computer and tried to list the devices with adb devices command. But, unfortunately, I got the following error message:

    $ adb devices
    List of devices attached
    ????????????    no permissions
    

    In the following of …

    More

  5. Grub Install and Btrfs Root File System

    Recently, the Linux operating system on my laptop no longer boots. It seems that the boot sector for GRUB bootloader is corrupted. I tried to reinstall GRUB with an Ubuntu LiveCD; however, I have encountered some problem related to Btrfs file system (which is the file system for my root …

    More

  6. Using Aria2 Download Manager

    I used to download the large files with wget because I can simply resume the download tasks with -c option. This option will check the size of the output file, and download the rest of the file from the server. I can even restart the download task with a different …

    More

  7. Debian Backports

    It is well-known that Debian stable release is very stable, i.e. the packages are very old and well-tested. However, this become a problem to me.

    Since Git 1.9, we have to run the following command to silence a warning when we are running git push.

    $ git config --global …

    More

Page 1 / 2 Next »