How To List Services In Linux?

How To List Services In Linux?

A typical Linux system runs different services in order to complete or run different tasks. This service number is much higher in Linux servers for providing services to the other users. Linux services are used to remote access, file share, web server, etc. In some cases, Linux services are called daemons. But how can be … Read more

Linux Bash Not Equal “-ne” , “!=” Operators Tutorial

Linux Bash Not Equal "-ne" , "!=" Operators Tutorial

Linux Bash scripting language provides the not equal “-ne” operator in order to compare two values if they are not equal. The not equal operator generally used with the if or elif statements to check not equal and execute some commands. Not Equal “-ne” Operator Syntax Linux bash not equal operator is expressed with the … Read more

How To Get Linux CPU Information?

How To Get Linux CPU Information?

CPU or Central Processing Unit is the core part of the computers. CPU mainly processes data that is provided from different sources. CPU provides a lot of different features for different processing needs. These features and information about the CPU can be listed by using different commands in Linux. /proc/cpuinfo File One of the most … Read more

Netcat (nc) Command Tutorial

Netcat (nc) Command Tutorial

Netcat is a computer network tool used to create, connect network connections. Netcat also abbreviated as nc. Netcat tool supports TCP and UDP protocols. Even it is not complicated it is a very powerful tool used by system administrators, network administrators, and security professionals. The netcat tool is cross-platform which is supported and provided platforms … Read more

How To Create Groups In Linux?

How To Create Groups In Linux?

Linux and its distributions provide the groups in order to manage and organize users. The most popular use case for the Linux groups is setting read, write, and execute privileges of the files and directories according to the group. By using Linux groups a file can be shared with the other group users by setting … Read more

Linux ldconfig Command Tutorial

Linux ldconfig Command Tutorial

Linux commands and executables heavily rely on shared libraries where a single shared library is generally used by multiple commands or executables even by other libraries. A shared library is a file that contains binary code in order to run Linux commands and executables properly. The shared means that the library can be used by … Read more

What Does “sudo apt-get update” Do?

What Does "sudo apt-get update" Do?

Linux distributions like Ubuntu, Debian, Mint, Kali, etc. use the deb packages and apt-get for package management. One of the most used package management commands is “sudo apt-get update”. If you are using a newer version the “sudo apt update” command is used. But what does the “sudo apt-get update” comman do? What Does “sudo … Read more

Bash While Loop Tutorial

Bash While Loop Tutorial

Linux bash is like a programming or scripting language that provides similar structures to the programming languages like C#, PHP, Python, C, etc. The while loop also provided by the Linux bash which is simply used to iterate over multiple items which can be numbers, files, folders, users, etc. Bash While Loop Syntax The bash … Read more

What Is Umask In Linux and How To Set Umask?

What Is Umask In Linux and How To Set Umask?

Linux files and directories have access to privileges or rights in order to allow or prevent different users. These permissions consist of reading, write, and execute in basic. There are also some extra permissions. The umask is the expression of these permissions in numerical or symbolic format and also the command which can be used … Read more