Berkeley-Sysadmin_DeCal - Lab2b
Berkeley-Sysadmin_DeCal - Lab2b
作者学习的版本为spring 2021,但近年的作业内容基本一致
Pipes and Redirection
grep -i -v '[aeiouy]' words.txt | head -10
grep -i '\b.*cal.*\b' your_wordlist_file.txt | awk 'length($0) >= 7' > cal.txt
Vim
- Use
10kd10d
or:.-10,.d
- Use
:shell
command and you can usefg
to go back to vim - Use
:split filename
to split the space horizonally or:vsplit filename
to split vertically - First enter visual mode and select box, then using
>
or<
for indentation. You can also add numbers at the begining, same as what10k
does
Tmux
- First use
Ctrl-B
and type:split -v / - h
to split the window. Next useCtrl-B
and then type:resize-pane -D / -U / -L / -R
+size
to adjust the pane size. Install thehtop
package to show resource monitors
This post is licensed under CC BY 4.0 by the author.