User Tools

Site Tools


Sidebar

You are not allowed to add pages
wiki:testing.tree:start

This is an old revision of the document!


First page of new BI-Wiki!

- by Alexander Aldoshin

Useful commands>

mkdir -p myProject/{src,doc,tools,db}
mkdir -p myProject/{src,doc/{api,system},tools,db}

ANSI escape codes>

Black   0;30     Dark Gray     1;30
Red          0;31     Light Red     1;31
Green        0;32     Light Green   1;32
Brown/Orange 0;33     Yellow        1;33
Blue         0;34     Light Blue    1;34
Purple       0;35     Light Purple  1;35
Cyan         0;36     Light Cyan    1;36
Light Gray   0;37     White         1;37

to use for echo command>

RED='\033[0;31m'
NC='\033[0m' # No Color
printf "I ${RED}love${NC} Stack Overflow\n"

To add string at the beginning of every line>

sed -i "s/^/+ .\//" to.rsync.txt

vim cribsheet>

https://coderwall.com/p/adv71w/basic-vim-commands-for-getting-started

wiki/testing.tree/start.1637089498.txt.gz ยท Last modified: 2021/11/16 20:04 by aaldoshin