Linux Articles

Page 119 of 134

How to Change PATH Permanently on Ubuntu?

Abhishek Nair
Abhishek Nair
Updated on 02-Jan-2025 624 Views

On all Linux-based systems, PATH is the name of a crucial environment variable which is used by shell to look for executable files before running any command. The PATH variable contains a list of directories where different system and user-based programs are available. This variable sometimes needs to be updated to include additional custom directories, to allow running executables from new location without specifying the absolute path of the executable (or first changing to its parent directory). For example, instead of specifying the absolute path for Python like /usr/bin/python3, you can simply write python3 because /usr/bin is part of the ...

Read More

Hiding Text Input on Linux Terminal

Abhishek Nair
Abhishek Nair
Updated on 02-Jan-2025 474 Views

In any Linux terminal, you usually get a prompt to type commands and get their outputs. For some commands and scripts, you may need inputs which are usually provided by the user by typing on the terminal. For normal commands or text inputs, we can see whatever is typed on the terminal. But there are some cases where we don't want to display these input text on screen for security reasons, like preventing any sensitive information such as passwords, keys or personal data from getting exposed. Linux terminal allows us to prevent printing of typed characters on screen for this ...

Read More

DNS Caching in Linux

Abhishek Nair
Abhishek Nair
Updated on 02-Jan-2025 359 Views

DNS is the backbone of modern Internet infrastructure. DNS stands for Domain Name System which is a system that translates domain names into IP addresses. There are different types of DNS queries and hierarchy of DNS servers that resolve DNS queries. Like any query, DNS queries also introduces some latency which could affect application performance and end-user satisfaction, if the delay adds up significantly. What is DNS Caching? DNS caching is a critical mechanism that improves network performance and reduces unnecessary network traffic. By storing previously resolved domain names locally, DNS cache helps speed up web browsing, network applications, and ...

Read More

User-Space Debugging Tools for Linux

Mead Naji
Mead Naji
Updated on 31-Dec-2024 361 Views

The userspace is the area or space where all the applications executed by the user are located, such as the terminal, web browser, text editor, etc. In simple terms, the userspace is an area with resources for user processes to run. This space has limited access to the hardware, a separate memory, and user privileges. It has its own components, such as: Shell − The command-line interface. User Libraries − Provide the interface for system calls. Daemons − Background processes. Utilities and Tools − Tools like grep and vim, which run inside the userspace. Applications running in the ...

Read More

How to Use Comments in Bash Scripts?

Mead Naji
Mead Naji
Updated on 31-Dec-2024 259 Views

Bash script is a language that has multiple functionalities and capabilities, and as a programmer, keeping track of and remembering all the language syntax, especially if it's not your day-to-day language, is hard. For this purpose, we use comments, which allow us to simplify and demonstrate what a part of the code does. Writing comments is not necessary or obligatory, but it's a good practice, and here's why we use comments in code − Remember the code − Sometimes you write code and forget it for some time. When you come back, you might not remember why you wrote ...

Read More

How to Install WordPress with Apache on Ubuntu?

Mead Naji
Mead Naji
Updated on 31-Dec-2024 156 Views

WordPress is the leading content management system in the world. It's free, open source, and easy to use. It is based on the popular backend language PHP. According to statistics, WordPress powers almost 60% of web applications worldwide. This is because it offers many features and capabilities that every website owner needs. Let's understand why WordPress is popular − Usage − WordPress is easy to set up and use. Even a person without an IT background can set up and use WordPress effectively. It comes with a simple interface to manage content, pages, and users. ...

Read More

How to Install TeamViewer on Ubuntu?

Mead Naji
Mead Naji
Updated on 31-Dec-2024 158 Views

TeamViewer is a popular software for remote access to computers. It allows you to access another machine using an ID and a password. It is generally used for troubleshooting and fixing problems. TeamViewer is not the only software that offers remote access; there are other alternatives. However, TeamViewer is the most used one due to its capabilities and features. Here are some features TeamViewer offers to users − Cross-Platform − It can be installed on almost all operating systems, which is why it has many users across different platforms. File Sharing ...

Read More

How to Install Redmine on Ubuntu?

Mead Naji
Mead Naji
Updated on 31-Dec-2024 376 Views

Redmine is one of the best free and open-source project management tools, written using Ruby on Rails. Its customizable nature makes it an excellent choice for managing and tracking bugs in projects. The term "project management" refers to a broad process with different stages and phases, ranging from planning and organizing to executing. Having a system to track all this can bring significant improvements. Redmine has many features that make it popular and distinct from other project management tools. In addition to being free and open-source, Redmine offers functionalities such as − Issue Tracking − ...

Read More

How to Copy and Paste in Vim?

Mead Naji
Mead Naji
Updated on 31-Dec-2024 263 Views

Linux has a suite of software and tools that Linux users and administrators use to develop or manage the operating system. One of the most commonly used tools is Vim. Vim is a popular text editor, or even an IDE, that can be used for everything from editing text to developing software to simple tasks like editing a script. It’s easy to use, but it requires some time to learn and remember all the commands and how to switch between different aspects and modes. One of the most essential functionalities for beginners using Vim is copying and pasting. At first, ...

Read More

How to Monitor Linux Users and Processes in Real-Time?

Prince Yadav
Prince Yadav
Updated on 11-Dec-2024 1K+ Views

Linux is known for its stability, security, and flexibility, and is widely used in enterprise environments. However, as with any operating system, it is important to keep an eye on system performance to ensure that everything is running smoothly. This is where it becomes essential to monitor the users and processes in real time. In this article, we will show how you can monitor Linux users and processes in real time. We'll cover some of the most popular commands used for this purpose such as w, who, last, top, htop. In addition, we will also highlight how to use these ...

Read More
Showing 1181–1190 of 1,338 articles
« Prev 1 117 118 119 120 121 134 Next »
Advertisements