Verbalize Linux commands


My PC is a Mac. The OS uses MacOS. You can use Linux commands in the terminal as well as Linux OS. The shell was zsh. You can see the shell you are using by typing ʻecho $ 0` in the terminal. I thought it was using bash, but it was zsh.

I learned the difference between bash and zsh by checking the link below. -Difference between bash and zsh

I've been using Linux commands for some reason, but what if I'm using MacOS but LinuxOS in the first place? I was wondering while I was investigating, so I investigated. It seems that the commands in the terminal are almost the same as the Linux OS. The following link has solved my question quite a bit. -What is Linux -How to use the terminal

In this article, I have verbalized Linux commands for output. It's almost for my own learning. We would appreciate it if you could correct any mistakes.

Verbalize Linux commands

Tab key Input completion is possible. If you press the tab key again, the candidates will be displayed.

Control + r Find the command you used before. In addition, control + r will display the second one when multiple searches are being performed.

Control + c You can safely end the command you are currently typing.

Cd - Change to the previous directory.

Cd .. Move to the directory one level higher.

Cp -r Recursively copy the directory. Recursive means looking at the directories and files inside. Perhaps. Reference site: What is recursive?

-Cp file name copy destination You can copy the file.

Mv You can move directories and files.

Mv file name changed file name You can change the file name of the current directory.

Ls -R Recursively displays directories and files in the hierarchy below the current directory. Reference site: What is recursive?

Mkdir Create a directory.

Touch Create a file. Reference site: Create new file

Rmdir You can delete an empty directory. If there is content, you can delete it with rm -r.

Ls Displays the directories and files directly under the current directory.

Mv Move directories and files.

Cat You can display the contents of the specified file.

Less This command can be used when the contents are long. It will display the contents. control + f1 screen ahead control + b1 screen front g Move to the top of the screen G End of qless

History You can see the history of commands. You can call and execute a command with the number displayed by ! + history. You can also execute the previous command with !!. With ! -2, you can execute the previous command.

! $ You can call the argument (character string) passed just before. Assuming you were running the ls command before, you can type ! L to run the ls command you just used. If you had previously executed the pwd command, you can use ! P or! Pw to execute the previously used pwd command. To see the last command you used without running it, type ! L followed by: p. Then, it will be displayed without executing the ls command used immediately before. If it is ! Pw: p, it will be displayed without executing the pwd command used immediately before. If you enter !! after ! Pw: p, the displayed pwd command will be executed.

Other reference URL

--[Linux Command Reference] ( -[Difference between command kill and control L] ( -Vim course starting from knowledge 0


Thank you for reading this article.

Twitter: @SHUN15949496

Recommended Posts

Verbalize Linux commands
Linux commands
Linux commands
linux commands
Linux commands
Linux commands
Network Linux commands
Linux user commands
New Linux commands! !!
Basic LINUX commands
Various Linux commands
Typical Linux commands (7)
Frequently used Linux commands
Frequently used Linux commands
Frequently used linux commands
[Linux] Group related commands
Linux commands to remember
New Linux commands! !! Part 2
Studying Linux commands and frustration
Introduction to Linux Commands ~ LS-DYNA Edition ~
Basic knowledge of Linux and basic commands
Handle dates in Linux bash commands
[Linux Mint 20] Various WiFi confirmation commands
[Linux] Frequently used Linux commands (file operation)
Convenient shortcut keys for Linux commands! !! !!
Frequently used Linux commands (for beginners)
Linux commands that you often forget
[Linux] File and directory operation commands
List of frequently used Linux commands
Try compiling Linux commands (cross-compilation practice)
Linux commands related to character code
[Linux] Frequently used Linux commands (folder operation)
About Linux commands Super basic edition
Note: Linux concepts and minimum commands
Use Linux commands on Android devices
Linux (for users and su / sudo commands)
linux memorandum
Linux command # 4
Create your own Linux commands in Python
[Linux] Review of frequently used basic commands 2
Linux basics
direnv (linux)
[Linux] Summary of middleware version confirmation commands
[Linux] List of Linux commands used in practice
Organize Linux
Linux practice
Ubuntu Linux 20.04
Linux Summary
Linux process
Quick reference table: Linux disk related commands
Linux permissions
Basic commands
Linux command # 5
About Linux
Summary of petit techniques for Linux commands
Linux basics
[Linux] Review of frequently used basic commands
Forgot linux
[Linux] Learn the basics of shell commands
About Linux