课程: Linux Tips
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
System basics: Bash output redirection
- [Instructor] When you're working at the Bash prompt, usually you type information in the command line; and you see a response when a command runs or returns an error message. But there's a little more to it than that. The command prompt represents the standard input, one of three special streams of data that a process has access to. Standard input is generally input from the keyboard. Another stream, the standard output, is what we see as the result of running programs in a text environment like a terminal; and there's another stream we see sometimes called the standard error. That stream carries exception messages from programs as they run. By using special operators, you can change how the shell treats them. One of the most common uses for redirection is to take the standard output and send it somewhere else. We have two primary ways of doing this: with a pipe, which sends the output to another command; or with various other redirection operators, which send the output to a file…
内容
-
-
-
-
System basics: The Linux file system6 分钟 35 秒
-
(已锁定)
System basics: The command line5 分钟 23 秒
-
(已锁定)
System basics: Keyboard shortcuts1 分钟 40 秒
-
(已锁定)
System basics: sudo access and root4 分钟 57 秒
-
(已锁定)
System basics: Explore a system4 分钟 38 秒
-
(已锁定)
System basics: Exploring Bash7 分钟
-
(已锁定)
System basics: Bash scripting basics4 分钟 59 秒
-
(已锁定)
System basics: The Bash prompt6 分钟 2 秒
-
(已锁定)
System basics: Bash output redirection4 分钟 57 秒
-
(已锁定)
Bash expansions and substitutions4 分钟 23 秒
-
Bash aliases and functions4 分钟 7 秒
-
(已锁定)
Bash operators6 分钟 55 秒
-
Logs5 分钟 4 秒
-
(已锁定)
Grub3 分钟 19 秒
-
(已锁定)
SysV init4 分钟 43 秒
-
(已锁定)
Systemd5 分钟 29 秒
-
(已锁定)
Cron8 分钟 7 秒
-
(已锁定)
Understanding chroot3 分钟 16 秒
-
(已锁定)
System basics: User and group management8 分钟 39 秒
-
(已锁定)
System basics: Service management3 分钟 44 秒
-
(已锁定)
Backing up data with rsync5 分钟 35 秒
-
(已锁定)
Splitting and combining files3 分钟 3 秒
-
(已锁定)
Environment configuration files2 分钟 43 秒
-
(已锁定)
Working with dotfiles1 分钟 43 秒
-
(已锁定)
Exploring the PATH variable3 分钟 51 秒
-
(已锁定)
Browsing with the directory stack3 分钟 19 秒
-
(已锁定)
Finding or locating files3 分钟 52 秒
-
(已锁定)
Working with swap4 分钟 29 秒
-
(已锁定)
Read and write caches3 分钟 5 秒
-
(已锁定)
Terminals, consoles, and TTYs4 分钟 27 秒
-
(已锁定)
Exploring journalctl5 分钟 2 秒
-
-
-
-
-
-
-
-
-
-
-
-