Linux

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|

Keyboard Shortcuts In Linux Terminal

This post list commonly used keyboard shortcuts in Linux terminal. Auto CompletionIt let's you skip typing out a whole file name or folder name in the command line. It looks at all the information it has so far, and makes a guess about what you mean. For example, type ls -l Do, and hit Tab, and n. If Tab doesn't

2020-11-18T10:24:19+05:30Categories: Linux|

Terminal and Shell in Linux

This post explains the term Terminal, Shell and Bash used in Linux. After reading this post you should be able to distinguish between these conmanly related terms. Terminal Terminal is a program called a terminal emulator. It opens a window and lets you interact with the shell. Various types of terminal emulators are supported by Linux distributions. Some of them

2020-11-06T22:05:52+05:30Categories: Linux|
Go to Top