命令行
在 Linux 和 macOS 的终端里快速操作。
The command line is where developers work fastest: servers have no mouse, logs are plain text, and one line can do the work of fifty clicks. This track starts at your very first command and ends with scripts that make decisions, text pipelines of your own, and sessions that keep running on a remote server.
The commands work on Linux and macOS alike, and the outputs shown are exactly what Linux prints. On Windows, use Git Bash or WSL (Windows Subsystem for Linux) to get the same shell.
- 课时
- 14
- 时长
- 2 小时
- 级别
- 初级
本课程的内容目前为英文。
- 铜牌 可挑战
- 银牌 可挑战
- 金牌 未解锁
准备好证明自己了吗?
三场考试正等着你:铜牌、银牌和金牌。
学完后你将能够
- Move around the file system and manage files and folders without a mouse
- Read, follow and search logs with less, tail and grep
- Chain small tools with pipes and redirection to answer real questions
- Write and run your first shell script, and understand permissions, PATH and environment variables
- Log in to remote servers safely with SSH keys
- Process text with sed and awk, manage running programs, and keep work alive on a server with tmux
学习旅程
1 第 1 单元First steps in the shell
What a terminal and a shell are, moving between folders, and creating, copying and deleting files.
0 / 42 第 2 单元Power tools
Read and search logs, connect tools with pipes, write scripts and work on remote servers.
0 / 63 第 3 单元Going further
Where to go next: scripts that make decisions, text processing and long-running work on servers.
0 / 4