c.实践与心得:03.tryhackme:module2:4.linux_fundamentals:2.part2
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
| c.实践与心得:03.tryhackme:module2:4.linux_fundamentals:2.part2 [2024/02/24 13:16] – 创建 jackie67 | c.实践与心得:03.tryhackme:module2:4.linux_fundamentals:2.part2 [2024/05/27 13:33] (当前版本) – jackie67 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | Test | + | {{tag> |
| + | |||
| + | #### Task1 Introduction | ||
| + | |||
| + | 本部分主要介绍一些命令的参数, | ||
| + | |||
| + | #### Task2 Accessing Your Linux Machine Using SSH (Deploy) | ||
| + | |||
| + | 在Part1中我们可以通过浏览器连接到Linux机器上, | ||
| + | |||
| + | **What is SSH & how Does it Work?** | ||
| + | |||
| + | SSH:Secure Shell是一个协议, | ||
| + | |||
| + | **Deploying Your Linux Machine** | ||
| + | |||
| + | 布置你的Linux机器, | ||
| + | |||
| + | **Deploying the TryHackMe Attackbox** | ||
| + | |||
| + | 这个按钮在整个网页的最上方, | ||
| + | |||
| + | **Using SSH to Login to your Linux Machine** | ||
| + | |||
| + | 我们需要获得远程设备的IP地址, | ||
| + | |||
| + | 所以对应的登录指令为: | ||
| + | |||
| + | <konsole root> | ||
| + | root@ip-10-10-12-38: | ||
| + | The authenticity of host ' | ||
| + | ECDSA key fingerprint is SHA256: | ||
| + | Are you sure you want to continue connecting (yes/no)? yes | ||
| + | Warning: Permanently added ' | ||
| + | [email protected]' | ||
| + | Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1047-aws x86_64) | ||
| + | |||
| + | * Documentation: | ||
| + | * Management: | ||
| + | * Support: | ||
| + | |||
| + | System information as of Mon May 27 13:22:08 UTC 2024 | ||
| + | |||
| + | System load: 0.52 Processes: | ||
| + | Usage of /: 26.8% of 7.69GB | ||
| + | Memory usage: 23% IPv4 address for eth0: 10.10.37.165 | ||
| + | Swap usage: | ||
| + | |||
| + | The list of available updates is more than a week old. | ||
| + | To check for new updates run: sudo apt update | ||
| + | |||
| + | |||
| + | The programs included with the Ubuntu system are free software; | ||
| + | the exact distribution terms for each program are described in the | ||
| + | individual files in / | ||
| + | |||
| + | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by | ||
| + | applicable law. | ||
| + | |||
| + | tryhackme@linux2: | ||
| + | </ | ||
| + | |||
| + | #### Task3 Introduction to Flags and Switches | ||
| + | |||
| + | 每条命令都带有一些参数, | ||
| + | |||
| + | 如果后面加-a(是-all的缩写), | ||
| + | |||
| + | < | ||
| + | tryhackme@linux2: | ||
| + | Usage: ls [OPTION]... [FILE]... | ||
| + | List information about the FILEs (the current directory by default). | ||
| + | Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | ||
| + | |||
| + | Mandatory arguments to long options are mandatory for short options too. | ||
| + | -a, --all do not ignore entries starting with . | ||
| + | -A, --almost-all | ||
| + | --author | ||
| + | -b, --escape | ||
| + | --block-size=SIZE | ||
| + | e.g., ' | ||
| + | -B, --ignore-backups | ||
| + | -c with -lt: sort by, and show, ctime (time of last | ||
| + | | ||
| + | with -l: show ctime and sort by name; | ||
| + | | ||
| + | -C list entries by columns | ||
| + | --color[=WHEN] | ||
| + | if omitted), ' | ||
| + | -d, --directory | ||
| + | -D, --dired | ||
| + | -f do not sort, enable -aU, disable -ls --color | ||
| + | -F, --classify | ||
| + | --file-type | ||
| + | --format=WORD | ||
| + | | ||
| + | --full-time | ||
| + | |||
| + | </ | ||
| + | |||
| + | 查询命令还可以使用Man(ual)页面, | ||
| + | |||
| + | 比如man ls表示显示ls的命令说明. | ||
| + | |||
| + | 命令说明可能会很长, | ||
| + | |||
| + | :question: What directional arrow key would we use to navigate down the manual page? | ||
| + | <WRAP spoiler> | ||
| + | |||
| + | :question: What flag would we use to display the output in a " | ||
| + | <WRAP spoiler> | ||
| + | |||
| + | #### Task4 Filesystem Interaction Continued | ||
| + | |||
| + | #### Task5 Permissions 101 | ||
| + | |||
| + | #### Task6 Common Directories | ||
| + | |||
| + | #### Task7 Conclusions and Summaries | ||
| + | |||
| + | #### Task8 Linux Fundamentals Part3 | ||
c.实践与心得/03.tryhackme/module2/4.linux_fundamentals/2.part2.1708780607.txt.gz · 最后更改: 由 jackie67
