[Linux] tar Command Examples

Archives and compressed files are used in many variety. In this post, you’ll see examples of tar. By using these commands, we’ll try to create tarballs with gzip, bzip2 and...

[Linux] bzip2: Cannot exec: No such file or directory

While creating a tarball with bzip2, you may run into this error: “bzip2: Cannot exec: No such file or directory“ The error shows that you’ll need to install bzip2 package....

[Linux] Change Default SSH Port

Secure Shell (SSH) uses port “22” by default. With this common information, lots of tools can knock your public server’s door and sometimes you may find this disturbing. As much...

[Linux] Give Your Users a Warm Welcome Message!

It’s easy to show a welcome message to users after login in Linux. All you have to is edit the “/etc/motd” file and that’s it. As name suggests, to show...

[Linux] Ubuntu Minimize Windows On Click

If you’re using Ubuntu with GNOME, you may be frustrated with the “Dock”. By default, clicking dock icons won’t minimize windows. Luckily, we can simply edit related “gsettings schema” to...

[Linux] Shared Libraries – A Brief Summary

To understand shared libraries, we must understand what’s a library first. A library is simply a collection of items, like functions. As you know, functions are used to perform specific...

[Linux] See System Calls Of An Internal Command

If you need to check what system calls is used by an internal command, this post might help you. “strace” is a program used for trace system calls and signals....

[Debian] Can’t set the locale; make sure $LC_* and $LANG are correct

If you get “can’t set the locale” error in your Debian system (or Debian based systems like Ubuntu, Kali, Mint), you can follow this guide. Hope it helps. Debian ships...

[Debian] Some Useful Debian Package Manager Commands

Debian Package Manager aka. dpkg, is mainly used for package management in Debian GNU/Linux. As you might guess, most of Debian derivatives like Kali Linux or Ubuntu uses dpkg too...

[Linux] What Are The Man Section Numbers?

Man… The one and only man.. The M in the RTFM… As you know, “man” command shows manual pages in Linux. Man pages are separated into man sections and man...