Operating System

Hard Link and Soft Link in Linux

Hard link and Soft link (Symbolic link) in Linux are two different methods to refer to a file in the hard drive. Inode Each file has one inode that contains information about that file, including the location of the data belonging to that file. Every file must have at least one directory entry that points to the inode that describes

2021-01-17T19:03:23+05:30Categories: Linux|

Modifying File Ownership in Linux

The chown command in Linux is used to modify the owner and group of files, directories and links. By default, the owner of a filesystem object is the user that created it. The group is a set of users that share the same access permissions (i.e., read, write and execute) for that object. Syntax Syntax of chown command is chown

2021-01-17T17:00:30+05:30Categories: Linux|

File Permissions in Linux

Permission Groups There are below three permission groups for each file and directory Owner : The Owner permissions apply only the owner of the file or directory.Group : This permissions apply only to the group that has been assigned to the file or directory.Others : This permissions apply to all other users on the system. If the group of the

2021-01-17T18:05:44+05:30Categories: Linux|

CD and PWD command in Linux

CD Command The cd (change directory) command is used to change the current working directory in Linux and other Unix-like operating systems. The current working directory is the directory in which the user is currently working in. The syntax for the cd command is as follows: cd [OPTIONS] directory Absolute path starts from the system root /, and relative path

2021-01-14T23:35:16+05:30Categories: Linux|

What are Services in Linux ?

A service is an application (or set of applications) that runs in the background waiting to be used, or carrying out essential tasks. They are not interactive. It is detached from the keyboard and display of any interactive user. Process is a running program. At a particular instant of time, it can be either running, sleeping, or waiting for it's

2020-12-06T00:10:25+05:30Categories: Linux|

Location of Installed Software in Ubuntu

Ubuntu follows the filesystem hierarchy structure. The location where software gets installed depends on how you install it. According to the FHS, /usr hierarchy is reserved for the software provided by the Linux distribution. By convention, /usr/local is reserved for software compiled and installed manually. The /usr/local directory should contain a structure very similar to that of the /usr directory.

2020-11-22T22:08:27+05:30Categories: Linux|

Tilde and Slash in Linux Bash

Tilde(~) and Slash(/) character in Linux are meta character. Within the confines of a terminal's shell, these have special meaning. Tilde Tilde(~) is used to denote a user's home directory. It contains the path to the current user home directory (it gets expanded to the $HOME env variable). echo ~ Above command will print user home directory path. Tilde expansion

2021-01-14T22:36:48+05:30Categories: Linux|

File and Stat Command in Linux

file and stat command in Linux are used for viewing file related information. file command displays the type of a file. stat command is a useful for viewing file or file system status. File Command The syntax for the Linux file command is as follows: file [OPTION] FILE It can take one or more file names as its arguments. This

2020-11-18T22:10:54+05:30Categories: Linux|

Service in Android

In Android, service is a process which doesn’t need user interaction. It is a component which keep an app running in the background to perform long-running operations. Types of Services These are the three different types of services: Foreground : A foreground service performs some operation that is noticeable to the user. When you use a foreground service, you must

2020-11-14T23:46:33+05:30Categories: Android|

Building Blocks of Android Application

Android apps can be written using Kotlin, Java, and C++ languages. The Android SDK tools compile your code and generate Android package (APK). APK is an archive file with an .apk suffix. App components are the building blocks of an Android application. Each component is an entry point through which the system or a user can enter your app. Different

2020-11-14T17:09:22+05:30Categories: Android|
Go to Top