Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Linux Articles
Page 9 of 134
How to change the file owner and group in Linux?
To change the file owner and group, we use the chown command in the Linux operating system.We know that Linux is a multiuser operating system so every file or directory belongs to an owner and group.To change ownership of files or directories we use chown command in the Linux system. This command is also available in the IBM i operating system. The chgrp command is also used to change only the group ownership of the file in the Linux system.SyntaxThe general syntax of the chown command is as followschown [OPTION]... [OWNER] [: [GROUP]] FILE... chown [OPTION]... --reference=RFILE FILE...A brief description ...
Read MoreEasyTAG: A Tool for Viewing and Editing Tags in Audio and Video Files
EasyTAG comes in handy when editing associated text tags of an image, audio, or video. It is an open-source, cross-platform, feature-rich, and free tool released under the GNU General Public License. EasyTAG tool acts as a backbone for animation, video, audio, application, etc., in which the details of the files, like tags, data, and image information, can be edited. EasyTAG also supports ID3 tags using the tag manipulation library of the MAD project. Originally, EasyTAG was designed to organize the music collection and is available for different platforms, including Windows and macOS. EasyTAG currently has various features, including: ...
Read MoreHow to display the current working directory in the Linux system?
To print the current working directory, we use the pwd command in the Linux system.pwd (print working directory) – The pwd command is used to display the name of the current working directory in the Linux system using the terminal. This is a shell building command that is available in most Unix shells such as Bourne shell, ash, bash, kash, and zsh.SyntaxThe general syntax of the pwd command is as follows −pwd [-LP]A brief description of options available in the pwd command.Sr.No.Option & Description1-L (logical) Display the value of $pwd if it names the current working directory2-P (physical) Display the physical directory, ...
Read MoreGet the Full Path of a File in Linux
Abstract Every file and folder in Linux has a path that directs the user to it. This path is required for programs and scripts to locate and access files. There are various ways to locate the path to a file or folder if you need to. We can get a full file path with different commands on a Linux machine. In other words, if its arguments were supplied, this command would return the pathnames of the files that would be run in the current context. In this tutorial, we'll show you how to obtain a file's complete path in Linux. ...
Read MoreHow to Check Integrity of File and Directory Using AIDE in Linux?
Introduction Integrity of files and directories is an essential aspect of system security and data protection. File integrity refers to the accuracy and completeness of the information stored in a file, while directory integrity concerns the structure, permissions, ownership, and attributes of directories. When files or directories are tampered with or corrupted, they can cause critical errors, data loss, or even compromise system stability. Therefore, checking file and directory integrity is crucial for ensuring system reliability and preventing security breaches. Installing AIDE on Linux Requirements for Installing AIDE Before installing AIDE, it is important to ensure that the system meets ...
Read MoreHow To Check If File or Directory Exists in Bash?
Introduction As a programmer or system administrator, you may need to check for file or directory existence frequently. Bash, which stands for "Bourne-Again SHell", is a Unix-based command-line interface that provides powerful scripting capabilities. In this article, we will explore how to check if a file or directory exists in Bash. Checking for File Existence In Bash scripting, it is common to check whether a file exists before performing certain operations on it. Fortunately, Bash provides several ways to accomplish this task. Using the "test" Command The "test" command is a built-in Bash command used to check various conditions and ...
Read MoreHow to Check and Patch Meltdown CPU Vulnerability in Linux?
Introduction Released in early 2018, news of a previously unknown hardware vulnerability in Intel's CPUs shocked the IT industry. Dubbed as 'Meltdown, ' this exploit can potentially expose sensitive data on your computer such as passwords, encryption keys, and login credentials to hackers. In worst-case scenarios, it could allow attackers to take complete control of your system without leaving any trace of their activity. Understanding the Meltdown Vulnerability The Meltdown vulnerability is a security flaw that affects modern processors, including those found in most Linux-based systems. The vulnerability takes advantage of a fundamental feature of modern CPUs known as speculative ...
Read MoreHow to Check and Install Updates On CentOS and RHEL?
Introduction Keeping your system up to date is essential for maintaining the security, stability, and performance of your computer. Cybercriminals are always looking for vulnerabilities in operating systems and software to exploit, putting you at risk of data breaches, identity theft, and other cyber threats. Moreover, software updates usually include bug fixes and enhancements that improve the functionality and compatibility of your applications with other programs. Therefore, it is crucial to regularly check for updates on CentOS/RHEL and apply them promptly. In this guide, you will learn how to use Yum Package Manager and DNF Package Manager - two popular ...
Read MoreHow to Change User Password in Ubuntu?
Introduction If you are a Linux user, there is no doubt that you have heard of Ubuntu OS. Ubuntu is an open-source operating system based on the Debian architecture and is one of the most popular distributions of Linux. It's user-friendly interface, and versatile nature makes it a great operating system for both personal and professional use. As with any operating system, password security in Ubuntu is of utmost importance. With cyberattacks increasing day by day, secure passwords are essential to keep your information safe from unauthorized access. This guide aims to simplify the process of changing your user password ...
Read MoreHow to Change SSH Port in Linux?
Introduction Secure Shell (SSH) is a protocol that provides a secure channel over an unsecured network in Linux systems. It is commonly used for remote logins, file transfers, and executing commands on a remote machine securely. SSH is an essential tool for Linux system administrators, developers, and users who access their machines remotely. Checking Current SSH Port Before we can proceed to changing the SSH port, it is important to know the current port number being used. By default, the SSH service listens on port 22. However, this is a well-known port and is often targeted by attackers. Therefore, it ...
Read More