课程: Linux Tips
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Browsing with the directory stack
- [Instructor] Usually, we'll move around the file system using the cd command to change directories. And while there's some shortcuts we can use like cd by itself to move to the home directory and cd minus to move to the previously used directory. We can also use the directory stack in Bash and other shells to make navigating between frequently used directories easier. The directory stack is a list of directories that we can manipulate with pushd and popd which you might recognize if you're used to working with stacks in programming. Pushd adds a directory to the stack and popd removes a directory from the list. With either of these operations, the current working directory is changed to whatever directory is at the top of the stack. Starting from my home directory, I'll use pushd to move into the etc directory. I can see the stack with dirs or see the stack with numerical labels by typing dirs-v. I'll keep moving around…
内容
-
-
-
-
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 秒
-
-
-
-
-
-
-
-
-
-
-
-