Linux

What is /dev/null in Linux ?

The /dev/null device is a special file that discards all data written to it but reports that the write operation succeeded. It is typically used for disposing of unwanted output streams of a process. This is usually done by redirection. /dev/null is creaetd every time on system boot. From the [...]

2021-03-12T01:10:44+05:30Categories: 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 [...]

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) [...]

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 [...]

2022-06-23T10:23:23+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 [...]

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, [...]

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 [...]

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 ~ [...]

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 [...]

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 [...]

2021-08-03T10:06:15+05:30Categories: Linux|
Go to Top