【shootrcut and common commands】


shootrcut and common commands

  • How to innotation?

在线linux运行网站 JS/UIX - Terminal

基本操作命令

arrow direction: down and up

ls -a

mkdir fileA 创建文档

rmdir fileA 删除文档

cd … 回到上一级兖

cd /home/DDG_tria 从父目录切换到子目录

[[email protected]:2]$ ls -a
. … .history
Intonation 注解

pwd print working directory 打印当前工作目录

whoami

hostname

nslookup nslookup命令是一个用于查询Internet域名服务器(DNS)的程序。

Linux常用快捷键
首先先来几个热键,非常方便,一定要记住

Tab按键—命令补齐功能 type the first/initiated letters first

Ctrl+c按键—停掉正在运行的程序

Ctrl+d按键—相当于exit,退出

Ctrl+l按键—清屏

Efficiency

  1. how to remove the first letter on Linux user interface for modification?
    1.1) click long check space key : move to the next letter position,

1.2) then click backspace to remove the initiated letter

  1. how to move the cursor on Linux by keyboard?
    use arrow keys to move frequently (up, down, left, right, backspace and space)

Basic knoweldge on Linux

  1. aim: we should operate Linux as to operate/egagge on Windows with mouse and cursor
  2. there are two part for Linux command

command & parameters/auguments

How to innotation?

 04/01/2024   18:48.16   /home/mobaxterecho hello
hello
                                                                                                                                                                 ✓

  04/01/2024   18:49.02   /home/mobaxterm  # echo hello
                                                                                                                                                                 ✓

  04/01/2024   18:49.08   /home/mobaxterm  # echo hello
                                                                                                                                                                 ✓

  04/01/2024   18:49.15   /home/mobaxterm  :<<!!
:<<# echo hello
bash: syntax error near unexpected token `newline'
                                                                                                                                                                 ✗

  04/01/2024   18:49.51   /home/mobaxterm  :<< ! echo hello!
> !
                                                                                                                                                                 ✓

  04/01/2024   18:50.36   /home/mobaxterm  :<<! echo hello

> linux
> accept and change~
> !

你可能感兴趣的:(OS,operation,system,linux)