随笔分类 -  Bash

摘要:```bash ps -ef | grep 'chrome' | grep -v grep | awk '{print $2}' | xargs -r kill -9 ``` 阅读全文
posted @ 2023-08-31 17:18 fndefbwefsowpvqfx
摘要:# Terminal ```bash $ sha256sum -t ``` Enter the text and press `ctrl+d` when you are finished. # Algorithm ```bash $ shasum -a 256 file.txt ``` # Chec 阅读全文
posted @ 2023-08-28 11:36 fndefbwefsowpvqfx
摘要:# mac install ```bash brew install p7zip ``` # example ```bash 7z a -r -mx9 a:\\b\\c ``` 最终在b目录下生成c.7z ```bash 7z a -tzip archive.zip -r src\*.cpp src 阅读全文
posted @ 2023-08-15 17:20 fndefbwefsowpvqfx
摘要:https://crontab.guru/ ![](https://img2023.cnblogs.com/blog/859364/202305/859364-20230512155527624-732994193.png) ```bash ┌───────────── minute (0 - 59 阅读全文
posted @ 2023-05-12 15:55 fndefbwefsowpvqfx
摘要:sudo cat << EOF | sudo tee -a /etc/docker/daemon.json { "registry-mirrors" : [ "http://registry.docker-cn.com", "http://docker.mirrors.ustc.edu.cn", " 阅读全文
posted @ 2021-02-24 11:19 fndefbwefsowpvqfx
摘要:############################################################################## # BASH CHEATSHEET (中文速查表) - by skywind (created on 2018/02/14) # Versio 阅读全文
posted @ 2020-12-28 21:15 fndefbwefsowpvqfx
摘要:tee [OPTION]... [FILE]... + + tee + + | | | | | ps -ax | | grep 'foo' | | | || | | + + || + + || + + | | | processes.txt | | | + + Options -a, --appen 阅读全文
posted @ 2020-10-27 08:48 fndefbwefsowpvqfx