Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

45 total results found

Term 1

Linux Command Line and Shell Scripting ... Appendix

hassle-free 无麻烦的,省心的。 Go compiles to a single, static binary with minimal runtime dependencies, making deployment straightforward and hassle-free. syntactic sugar 语法糖。obscure => 模糊/掩盖。 Ruby’s principle of “programmer happiness” sometimes results in syntactic...

appendix
lclssb
linux
operating-system

Common Commands 1

Linux Command Line and Shell Scripting ... Commands

MAN This command can view different sections of the manual pages. man man man - an interface to the system reference manuals The table below shows the section numbers of the manual followed by the types of pages they contain. 1 Executable programs or shell...

commands
lclssb
linux
operating-system

Common Commands 2

Linux Command Line and Shell Scripting ... Commands

Sort Sorts lines of text files by default, non-numeric. sort - sort lines of text files Reverse Order sort -r file Numeric Sort sort -n file Sort By Month Month format: Jan, Feb, Mar. sort -M file Specify Column Default is separated by (consecutive) space...

lclssb
commands
linux
operating-system

Compression

Linux Command Line and Shell Scripting ... Commands

[todo]

commands
lclssb
linux
operating-system

GREP

Linux Command Line and Shell Scripting ... Commands

Full name Global Regular Expression Print, originated from a Unix editor ed command g/re/p, where g (global) is global matching, re (regular expression) is regular expression, p (print) is print. Therefore, the grep tool is essentially used to globally match r...

commands
lclssb
linux
operating-system

PS

Linux Command Line and Shell Scripting ... Commands

PS stands for Process Status. man ps ps - report a snapshot of the current processes. Style Source Prefix Unix AT&T System of Bell Labs - BSD Berkeley Software Distribution None GNU Improved version by GNU Project -- Due to historical reasons, ...

operating-system
commands
lclssb
linux

Terminate Process

Linux Command Line and Shell Scripting ... Commands

Kill Command It's actually a tool for sending signals to processes, not necessarily killing them. man kill kill - send a signal to a process Default Signal The default signal for the kill command is SIGTERM, corresponding to number 15, for a graceful termin...

commands
lclssb
linux
operating-system

TOP

Linux Command Line and Shell Scripting ... Commands

man top top - display Linux processes The top command defaults to sorting processes by CPU usage rate and dynamically displaying the results. top - 09:19:05 up 6 days, 10:02, 2 users, load average: 0.13, 0.05, 0.01 Tasks: 126 total, 1 running, 125 sleepi...

linux
commands
lclssb
operating-system

Concept

Linux Command Line and Shell Scripting ... Environment

Origins The environment variables in Linux originated from the design requirements of early UNIX systems. Through environment variables, users and processes can dynamically influence system behavior without modifying the system's core code. This flexibility a...

env
lclssb
linux
operating-system

Shebang

Linux Command Line and Shell Scripting ... Environment

Shebang is a special symbol in Unix and Unix-like operating systems, composed of the characters #!, used to indicate which interpreter should execute a script file. It usually appears at the beginning of a script file, followed by the path of the interpreter. ...

env
lclssb
linux
operating-system

Shell Startup Process

Linux Command Line and Shell Scripting ... Environment

Startup Methods The startup methods of Shell will affect the loading process of environment variables, which can be divided into the following categories. Interactive (Interactive) Login: Shell instances started in login mode, such as SSH login. Non-login: ...

env
lclssb
linux
operating-system

Environment Variables

Linux Command Line and Shell Scripting ... Environment

SHELL The current shell in use. printenv SHELL /bin/bash HOME The path to the user's home directory. printenv HOME /home/kuga PWD The path to the current directory. printenv PWD /home/kuga USER The current user. printenv USER kuga PATH The path wh...

env
lclssb
linux
operating-system

Introduction

Linux Command Line and Shell Scripting ... File System

File System Types You can use the -T option of the df command to view the Type field. df -Th Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 168M 1.1M 167M 1% /run /dev/vda3 ext4 40G 3.2G 35G 9% / tmpfs ...

linux
file-system
lclssb
operating-system

Meme

Linux Command Line and Shell Scripting ...

lclssb
linux
operating-system

Acess Control List

Linux Command Line and Shell Scripting ... Permission

Access Control List (ACL) is a more flexible and fine-grained permission management mechanism, used to define and control the access permissions of file system objects. Compared to traditional file permission systems, ACL provides more detailed permission cont...

perm
lclssb
linux
operating-system

File Permission

Linux Command Line and Shell Scripting ... Permission

Composition Structure -rwxr-xr-- The first character indicates the file type: -:File, such as text files, binary files, etc. d:Directory. l:Symbolic link, Symbolic link (Soft link). b:Block device, such as hard disk, CD-ROM, etc. c:Character device, such as...

operating-system
perm
lclssb
linux

Group Management

Linux Command Line and Shell Scripting ... Permission

Relationship Primary Group When a user is created, a group with the same name is also created, which is the primary group. grep soda /etc/passwd soda:x:1001:1001:,,,:/home/soda:/bin/bash The fourth field indicates the primary group ID 1001, which can also b...

perm
lclssb
linux
operating-system

User Managerment

Linux Command Line and Shell Scripting ... Permission

Account /etc/passwd Linux uses the /etc/passwd file to store user account information. Because many service processes need to read user account information, you can see that the file's permissions are all readable. -rw-r--r-- 1 root root 2010 Aug 24 15:12 /et...

lclssb
perm
linux
operating-system

File Descriptor

Linux Command Line and Shell Scripting ... Process

Basic Concepts A file descriptor (FD) is an integer identifier used to represent an open file or other input/output resources in an operating system. It serves as a bridge between the operating system and applications for file operations. In Linux, a file des...

proc
lclssb
linux
operating-system

LSOF

Linux Command Line and Shell Scripting ... Process

[todo]

proc
lclssb
linux
operating-system