분류 전체보기
-
Temporary Directory Security (sticky bit)linux 2023. 2. 22. 11:08
Race condition is a vulnerability in computing where multiple processes or threads access and manipulate the same resource concurrently, leading to unpredictable and unintended results. In other words, the outcome of an operation is dependent on the timing of the operations, which can lead to inconsistent or incorrect results. The sticky bit is a permission bit in Unix-based operating systems th..
-
What is Access Control Lists?linux 2023. 2. 22. 11:02
Access Control Lists (ACLs) are a type of permissions system used in Linux and other operating systems to control access to files and directories beyond the traditional owner/group/other permissions. ACLs allow for more fine-grained control over file permissions, allowing specific users or groups to be granted or denied access to files and directories. Here is an explanation table of the ACL com..
-
How to defend against port scanning (nmap)linux 2023. 2. 22. 10:59
sudo apt-get update sudo apt-get install nmap Nmap (Network Mapper) is a free and open-source network exploration and security auditing tool. It is used to discover hosts and services on a computer network, thus creating a "map" of the network. Nmap is designed to be flexible and can be used for a wide range of purposes, from identifying hosts and services on a network, to checking for open port..
-
What is a port scan?linux 2023. 2. 22. 10:53
A port scan is a technique used to identify which ports on a networked computer or device are open or closed. In computer networking, a port is a communication endpoint that is used to identify a specific process to which data can be sent or received. For example, a web server typically listens on port 80 for HTTP requests. You should defend against port scans to protect your network and systems..
-
How to read and edit files (vi, vim)linux 2023. 2. 22. 10:46
Vi and Vim are text editors for the Linux operating system. Vim is an improved version of the older Vi editor, providing additional features and capabilities. Here is an explanation table of Vi and Vim: CommandDescription :w Save the current file :wq Save the current file and exit :q Exit :q! Exit without saving changes i Insert mode (insert text before the cursor) a Insert mode (insert text aft..
-
How to check disk space in linux (df)linux 2023. 2. 22. 10:26
df (disk free) is a Linux command that displays the amount of free and used disk space on a file system. Here is an explanation table for df command options: OptionDescription -h Human-readable output. Display sizes in a more understandable format, such as "1K", "1M", "1G", etc. -T Display file system type in the output. -t Limit the results to certain file system types. -i Display inode informa..
-
Default Linux directorieslinux 2023. 2. 22. 10:25
a table that lists some of the most commonly used directories in Linux and their purposes: DirectoryPurpose / The root directory, contains all other directories and files /bin Essential command binaries /boot Boot loader files and kernel /dev Device files /etc System configuration files /home Home directories for users /lib Shared libraries needed for system binaries /media Mount points for remo..