Linux commands to remember

Here are some linux commands to remember.

pwd Check the current directory path

$ pwd

cat Display the contents of the specified file

$ cat test.txt

less Display the contents of the specified file

$ less test.txt
operation Key
Go to the next page space
Go back to the previous page b
Return to the original command screen q

grep Search for strings in files that meet the specified conditions

$ grep "test" *.txt

find Search for files and directories that meet the specified conditions in the specified directory.

$ find . -name "*.js"

ifconfig View current network interface settings

$ ifconfig

ping Check network communication with the specified address

$ ping www.google.com

nslookup Get network data of IP or domain of specified address

$ nslookup www.google.com

netstat Check the current communication connection status

$ netstat

ps View running processes

$ ps aux

kill Forcibly terminates the process with the specified process ID

$ kill -9 5859

Other

Process the command execution result by passing it to another command

$ ls | less

Output the command execution result to another file

$ ls > test.txt

Output the file list under the current directory

$ ls -d $(find `pwd`)

Recommended Posts

Linux commands to remember
Linux commands
Linux commands
linux commands
Linux commands
Linux commands
Introduction to Linux Commands ~ LS-DYNA Edition ~
Linux commands related to character code
Network Linux commands
Verbalize Linux commands
Linux user commands
New Linux commands! !!
Basic LINUX commands
[Linux] Introduction to Linux
Various Linux commands
Typical Linux commands (7)
Frequently used Linux commands
Frequently used Linux commands
Introduce serverspec to Linux
Frequently used linux commands
[Linux] Group related commands
How to handle Linux commands well from Python
New Linux commands! !! Part 2
Beginners! Basic Linux commands and how to use them!
(Remember quickly) How to use the LINUX command line
What I did to get started with Linux commands
Studying Linux commands and frustration
[Windows] RDP to Windows via Linux
A super introduction to Linux
[Linux] welcome to emergency mode!
I tried to reintroduce Linux
How to use linux commands in Visual Studio Code terminal
Commands and files to check the version of CentOS Linux
Basic knowledge of Linux and basic commands
Super cool de-Python syntax to remember
Easy copy to clipboard on Linux
Linux Frequently Used Commands [Personal Memo]
A memorandum to change to Manjaro Linux
Handle dates in Linux bash commands
How to install VMware-Tools on Linux
[Linux Mint 20] Various WiFi confirmation commands
How to install MBDyn (Linux Ubuntu)
[linux] kill command to kill the process
[Linux] Frequently used Linux commands (file operation)
Road to Linux Intermediate: Network Edition
Convenient shortcut keys for Linux commands! !! !!
Frequently used Linux commands (for beginners)
Linux
Linux commands that you often forget
Send commands from Atom to Maya
[Linux] File and directory operation commands
Introducing Amplify to Amazon Linux 2 AMI
List of frequently used Linux commands
Add parameters to Django's custom commands
Useful to remember! 10 Python Standard Libraries
Try compiling Linux commands (cross-compilation practice)
How to check Linux OS version
[Linux] Frequently used Linux commands (folder operation)
[Windows] Transfer event logs to Linux
About Linux commands Super basic edition
Note: Linux concepts and minimum commands