Linux: Get Kernel Version

unix linux

Objective: Find out the kernel version / release that is currently running on any Linux distribution.

Linux: Run Last Command as Sudo

unix linux

Objective: You wanted to run a command as root but you forgot to use sudo. There is a useful shell shortcut (using Event Designators) to re-run the previous command under sudo.

Linux: Alias with Variables / Arguments

unix linux

Objective: The alias command can be used to launch any command or a group of commands (inclusive of any options, arguments and redirection) by entering a pre-set string. But how to pass an argument to alias or let an alias handle a variable?

Android: Enable ADB Backup for Any App

android

Android allows the backup and restore of an app’s private data using adb backup. This feature is enabled if the android:allowbackup attribute is set to true in the Android Manifest (AndroidManifest.xml) XML file. If the feature is disabled, ADB backups will not work. In this article we will learn how to enable ADB backups for any app without rooting.