5 Expanding Your Toolbox
5. Expanding Your Toolbox Producing Text $ cut -d: -f1 /etc/passwd | sort Print all usernames and sort them $ cat *.txt | wc -l Total the number of lines The date Comman...
5. Expanding Your Toolbox Producing Text $ cut -d: -f1 /etc/passwd | sort Print all usernames and sort them $ cat *.txt | wc -l Total the number of lines The date Comman...
4. Cruising The Filesystem Visiting Specific Directories Efficiently Jump to Your Home Directory $ pwd /etc Start somewhere else $ cd Ru...
3. Rerunning Commands All the advice in this book will serve you better if you can type quickly. No matter how knowledgeable you are, if you type 40 words per minute and your equally knowledgea...
2. Introducing The Shell Pattern Matching for Filenames $ grep Linux chapter* $ grep Linux chapter? $ grep Linux chapter?? $ grep Linux chapter[12345] $ grep Linux chapter[1-5] $ grep Linux ...
1. Combining Commands BookSite Six Commands to Get You Started Command 1: wc $ wc animals.txt 7 51 325 animals.txt # 7 lines, 51 words, 325 characters including invisible newline character...
Put them to $HOME directory. .bash_profile # make .bash_profile same as .bashrc if [ -f "${HOME}/.bashrc" ]; then source "${HOME}/.bashrc" fi .bashrc # A basic .bashrc file that sets the com...
1. GitHub Page Openpackage.jsonand update the following values: homepage: set to http://{github-username}.github.io/{repo-name}, where github-username is your GitHub username and rep...
1. Setup github.dev: A free, online code editor that you’ll be coding directly in the browser CodeSwing: An extension that allows you to make edits to the HTML and CSS and see the results imm...
1. 安装Ruby 更新并安装依赖 sudo apt update sudo apt install -y git build-essential libssl-dev libreadline-dev zlib1g-dev rbenv libyaml-dev ruby3.0-dev 克隆 rbenv 和 ruby-build git clone https://github.com/rbe...
linux system programming introduction to buildroot 1. Buildroot子仓库配置 第一次初始化一个Buildroot仓库 git clone git@github.com:artwalker/BuildrootLinux.git git submodule add -b 2024.02.x https://gitlab.com/b...