Loading CS.md +30 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,36 @@ Source: <https://wiki.debian.org/Keyboard> - - - **Resize an ext partition in LVM** lvresize -L+20G vg/lv resize2fs /dev/mapper/vg-lv - - - **Useful grep options** -l --files-with-matches -o --only-matching -H --with-filename - - - **Handling NUL-separated strings** `grep`: `-z` for input, `-Z` for output `find`: `-print0` for output `sort`: `-z` for both input and output `awk`: `BEGIN { RS="\0" }` for input, `BEGIN { ORS="\0" }` for output - - - **Online markdown editor** <https://stackedit.io/editor> - - - **Other cheatsheets** * Markdown: <http://packetlife.net/media/library/16/Markdown.pdf> Loading Loading
CS.md +30 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,36 @@ Source: <https://wiki.debian.org/Keyboard> - - - **Resize an ext partition in LVM** lvresize -L+20G vg/lv resize2fs /dev/mapper/vg-lv - - - **Useful grep options** -l --files-with-matches -o --only-matching -H --with-filename - - - **Handling NUL-separated strings** `grep`: `-z` for input, `-Z` for output `find`: `-print0` for output `sort`: `-z` for both input and output `awk`: `BEGIN { RS="\0" }` for input, `BEGIN { ORS="\0" }` for output - - - **Online markdown editor** <https://stackedit.io/editor> - - - **Other cheatsheets** * Markdown: <http://packetlife.net/media/library/16/Markdown.pdf> Loading