Operating System

List Files and Directories in Linux

The ls command list files and directories in Linux within the file system, and shows detailed information about them. This article will show you how to use the ls command through examples and most common ls options. Below is the syntax of the command ls [OPTION]... [FILE]... When used with [...]

2022-04-29T15:03:28+05:30Categories: Linux|

Advanced Configuration and Power Interface Specification

ACPI system description tables Advanced Configuration and Power Interface Specification (ACPI) defines a generic, extensible table-passing mechanism, plus specific tables for describing the platform to the operating system. Table structures and headers, including ID and checksum fields, are defined in the ACPI specification.  Tables enable to code generic software to [...]

2022-02-09T17:18:18+05:30Categories: Windows|

MessageQueue, Handler and Looper in Android

Looper, Handler, MessageQueue, and HandlerThread are useful in asynchronous programming. Handler and Looper working Message Message is a data object. It contains payload of the message. Message class implements Parcelable interface (so that it can be put in extras to bundles and intents). Primarily it is: int what — message [...]

2022-01-07T10:03:16+05:30Categories: Android|Tags: |

Command Line Hacks in Linux

Open current directory from Terminalxdg-open .Above command will be open current directory (single dot) in file explorer. xdg-open opens a file or URL in the user's preferred application. Syntax of the command isxdg-open {file URL}Open website from Terminalxdg-open 'http://www.freedesktop.org/'

2021-12-18T10:59:00+05:30Categories: Linux|Tags: |

Managing Packages in Linux using CLI

Packages can be updates using graphical user interface (GUI) and command line interface (CLI) in Linux. This post discusses about various commands which can be used for managing the software installed on the device running Linux. Linux package manger working Installing Packages apt-get is the command-line tool for handling packages. [...]

2021-12-16T18:13:58+05:30Categories: Linux|Tags: |

How to change default Python version ?

There are various ways to change the default Python version on Linux. This article discuss some of the ways to change the default version of Python. This article is equally applicable for other executable also. Below command will list all the versions of python installed on the device ls -ls [...]

2022-02-22T12:23:42+05:30Categories: Linux|Tags: |

How to find the size of directory in Linux

There are many ways to find the directory or folder size in Linux. This post discuss few ways to find the size of directory and file using command line. Using du du command summarizes disk usage of each file, recursively for directories. du -hs /path/to/directory -h option shows the number [...]

2021-09-03T18:59:28+05:30Categories: Operating System|Tags: |

Keyboard Shortcuts in Bash Shell

Terminal is a program called a terminal emulator. It opens a window and lets you interact with the shell. This post covers various keyboard shortcuts which are supported in bash and zsh shell. Key commands for both shells are similar and knowing these time-saving shortcuts can be a great boon [...]

2021-07-06T19:00:02+05:30Categories: Linux|Tags: |

ADB commonly used commands

Introduction ADB is a command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you can use to run a variety of commands on a device. It [...]

2022-07-15T17:17:21+05:30Categories: Android|Tags: |
Go to Top