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