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
-
Economics & Finance
Linux Articles
Page 47 of 134
Run Linux Natively on Windows 10
Microsoft has introduced the Windows Subsystem for Linux (WSL), which lets users run their favorite Linux distributions directly from Windows 10 without dual-booting or using a virtual machine. This feature bridges the gap between Windows and Linux environments, allowing developers and system administrators to use Linux tools natively on Windows. Limitations of Windows Subsystem for Linux While WSL is a significant step forward for Microsoft, it has some limitations in terms of full functionality. Specifically, WSL does not support AF_PACKET due to security restrictions. This means you won't be able to put a Wi-Fi adapter in promiscuous mode ...
Read MoreDifference between Fedora and Red Hat
Fedora and Red Hat Enterprise Linux (RHEL) are both Linux-based operating systems from the Red Hat ecosystem. Fedora is the free, community-driven distribution that serves as a testing ground for new technologies, while RHEL is the commercial, enterprise-grade distribution built for production environments. Fedora vs Red Hat Enterprise Linux Fedora • Free & Open Source • 6-month releases • Latest packages • Community support • Testing ground Red Hat (RHEL) • Commercial license ...
Read MoreCover the Tracks using covermyass
CoverMyAss is a penetration testing tool designed for the "covering tracks" phase of security assessments. It helps security professionals clean up evidence of their activities on target systems before exiting, or disable system logs for post-exploitation analysis. This tool is essential for ethical hackers and penetration testers who need to simulate real-world attack scenarios. How CoverMyAss Works The tool operates by systematically clearing or manipulating various system log files that record user activities, authentication attempts, and system events. It targets critical log files where evidence of unauthorized access might be stored, ensuring a thorough cleanup process. Target ...
Read MoreHow to change file or directory permission in Linux/Unix?
We know that Linux/Unix is a multiuser operating system where files and directories are associated with permissions so that only authorized users can access the files. The chmod command is used to change the access permission of files or directories. Syntax The general syntax of the chmod command is as follows − chmod [OPTION]... [Mode]... [File]... The chmod command contains three parameters that help set or change file permissions. Let's discuss each parameter in detail. Command Options A brief description of options available in the chmod command − ...
Read MoreHow to change the shell working directory in Linux?
To change the shell working directory, we use the cd command in the Linux system. The cd (change directory) command is one of the most fundamental navigation commands that allows users to move between different directories in the filesystem. cd (change directory) The cd command is used to change the current working directory in Linux/Unix operating systems. It is equivalent to the cd or chdir command in Windows. The command is also available in the EFI shell (Extensible Firmware Shell). By default, when you open a new terminal session, the current working directory is set to your home ...
Read MoreHow to check total space and available space in Linux using the terminal?
In Linux/Unix systems, the df (disk free) command is the primary tool for checking storage details and disk space usage. It displays total space, used space, and available space for mounted file systems through the terminal. df (disk free) command The df command reports file system disk space usage in the Linux system. By default, it shows space usage in 1K blocks, but various options make the output more readable and useful for different purposes. Syntax The general syntax of the df command is as follows: $ df [OPTION]... [FILE]... Common Options ...
Read MoreHow to compare two sorted files line by line in the Linux system?
To compare two sorted files line by line in Linux, we use the comm command. The comm command compares two sorted files and displays the differences and similarities in a structured three-column format. The comm command writes output to three tab-separated columns: the first column contains lines unique to the first file, the second column contains lines unique to the second file, and the third column contains lines common to both files. Both input files must be sorted for comm to work correctly. Syntax The general syntax of the comm command is − comm [OPTION]... ...
Read MoreHow to converts tabs to spaces in the Linux system?
While working with files, sometimes we encounter situations where a file contains many tabs and the requirement is to have spaces instead. For simple files, this conversion is easy, but for large files with numerous tabs, manual conversion becomes very difficult. This is where the expand command becomes essential. The expand command in Linux is used to convert tabs to spaces. If no file is specified, the expand command reads from standard input and processes the text accordingly. Syntax The general syntax of the expand command is as follows − expand [OPTION]... [FILE]... ...
Read MoreHow to copy a file, group of files, or directory in Linux?
The cp command is used to copy files or directories in Linux/Unix systems. It allows you to duplicate files from a source location to a destination directory. By default, cp works with files only − to copy directories, you must use the -R (recursive) option. Syntax The general syntax of the cp command is as follows − cp [OPTION]... [-T] SOURCE DESTINATION cp [OPTION]... SOURCE... DIRECTORY cp [OPTION]... -t DIRECTORY SOURCE... Common Options Option Description -R, -r, --recursive Copy directories recursively -i, --interactive Prompt ...
Read MoreHow to create a new directory in Linux using the terminal?
The mkdir command is used to create a new directory in the Linux/Unix operating system. It can create single or multiple directories at once and set permissions during creation, similar to the chmod command. Syntax The general syntax of the mkdir command is as follows − $ mkdir [OPTION]... [DIRECTORIES]... Command Options Option Description -m, --mode=MODE Set file permissions at the time of directory creation (like chmod) -p, --parents Create parent directories as needed; no error if directory exists -v, --verbose Display ...
Read More