Mukul Latiyan has Published 474 Articles

How to change the root directory of an Apache server on Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:40:59

1K+ Views

Apache web server is one of the most used web servers across all the platforms even after including different Linux distributions and windows. Apache server is an open source HTTP server that is mainly used to deliver web content and can also be used to serve many queries at once.In ... Read More

How to activate virtualenv on Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:39:29

1K+ Views

When we talk about keeping our dependencies in a separate location from our logic code we are indeed creating nothing but a virtual environment, which in python, we usually use the term venv to refer to as.So a venv is nothing but a virtual environment which is in turn a ... Read More

How should strace be used on Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:35:44

85 Views

Linux utility commands are what makes Linux such a powerful operating system, while there are plenty of commands that we can use to interact and get information about the signals and system calls, but the most used and preferred command when it comes to getting the information about the system ... Read More

How is the Linux kernel tested?

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:34:21

193 Views

When we talk about something as big as the Linux operating system, one thing that also comes into my mind is how they make it work so effectively. Sure, it works like a charm, but how do they handle all the bugs and errors that can literally exist anywhere in ... Read More

How to send a file as an email attachment using the Linux command line?

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:32:50

3K+ Views

In order to send a file as an attachment to an email using Linux, we either need to make use of a command line email client or the standard linux mail command.There are multiple command line email clients available to achieve the attachment task, but the most common and widely ... Read More

How to list one filename per output line in Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:31:08

3K+ Views

There are plenty of Linux utility commands present to print the list of all the files and folders that are present in the current directory. Most commonly used are the ls and the find command.Let’s explore a simple example where we will make use of the ls command to list ... Read More

How to increase the scrollback buffer in a running screen session on Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:29:23

564 Views

Screen or sometimes also known as GNU Screen, is a terminal multiplexer. What it means is that it allows you the privilege to start a screen session and then open any number of windows inside that session.It might also be interesting to note that a process that is running in ... Read More

How to find all the distinct file extensions in a folder hierarchy (Linux)?

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:28:26

883 Views

While there are plenty of ways to find the extension of a particular file in Linux using different utility commands, if we need to find all the distinct file extensions in a folder hierarchy we need to first understand the uses of the find and the sed command as these ... Read More

Getting root permissions on a file inside of vi on Linux

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:27:00

475 Views

There are many scenarios where we think that we have opened a file to make changes to it using the root user but when we actually try saving the changes, we realize that the file was opened with a normal user or with a user that doesn’t have the specific ... Read More

Generating a SHA-256 hash from the Linux command line

Mukul Latiyan

Mukul Latiyan

Updated on 29-Jul-2021 11:25:13

3K+ Views

There are plenty of ways to generate a hash on any operating system, but when we talk about generating an almost-unique and fixed size bit hash, then nothing can replace the SHA algorithm.Before making use of the Linux command to generate a SHA-256 hash, we must know what SHA actually ... Read More

Advertisements