Linux

Debugging Process Memory Usage

Each process requires memory for the execution. But with a virtual memory operating system like Linux the answer is quite complex. The numbers given by top and ps don't really add up. You can see an individual process' memory usage by examining /proc/<pid>/status Details about memory usage are in /proc/<pid>/statm [...]

2023-08-18T17:45:10+05:30Categories: Linux|Tags: |

Install Downloaded Package on Ubuntu

A package can also be installed after downloading from internet. This post discuss about installing downloaded package on Ubuntu/Debian. In this post i will be using Beyond Compare as example. Graphical Install Download the required .deb package. Double-click the .deb package to install using the graphical package manager. Using GDebi [...]

2023-06-26T22:07:49+05:30Categories: Linux|

What does m mean in Linux Kernel Configuration File?

Linux Kernel has multiple configuration which can be enabled on the need basis. CONFIG_UNIX=m Above is an example of configuration. A configuration can one of the possible value y : Yes, it is always installed n: No, never installed m: Module, it can be installed and uninstalled as you wish

2022-11-14T18:33:40+05:30Categories: Linux|

Working With Environment Variable in Linux

Environment variables are a set of dynamic named values in Linux, used by applications launched in shell. It allow you to customize how the system works and the behavior of the applications. For example, the environment variable can store information about the default browser or the path to executable files. [...]

2022-03-29T19:11:11+05:30Categories: Linux|

Working with Directory in Linux

In this article, we will show you how to work with directory in Linux. We can create a directory using mkdir command. To delete a directory use rmdir command. Current Working Directory To find the current working directory, use pwd command as shown below. pwd What the pwd does is [...]

2022-03-10T19:30:31+05:30Categories: Linux|

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|

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: |

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: |
Go to Top