این پکیج سوم از این سری است
console.log("----------created!");
&&
alias ls='ls --color=auto' && alias pwd='printf "%s\n" "masir->${red}${PWD}${end}, .... ${blu}${PWD}${end} .... ${grn}${PWD}${end} .... ${yel}${PWD}${end}."'
alias l1212='ls --color=auto'
....................................................
رنگی کردن قبل دستور
[I have no name!@n-m-p-13-h4cbk 20:32:13 ~]$
export PS1="\[\e[01;37m\][\[\e[0m\]\[\e[01;32m\]\u\[\e[0m\]\[\e[00;37m\]@\[\e[0m\]\[\e[01;34m\]\h\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;37m\]\t\[\e[0m\]\[\e[01;37m\] \W]\\$ \[\e[0m\]"
...........................................................
تعریف رنگ ها همین را کپی کن
{
red=$'\e[1;31m'
grn=$'\e[1;32m'
yel=$'\e[1;33m'
blu=$'\e[1;34m'
mag=$'\e[1;35m'
cyn=$'\e[1;36m'
end=$'\e[0m'
alias ls='ls --color=auto' && alias pwd='printf "%s\n" "masir->${red}${PWD}${end}, .... ${blu}${PWD}${end} .... ${grn}${PWD}${end} .... ${yel}${PWD}${end}."'
}
And then use them to print in your required colours:
printf "%s\n" "Text in ${red}red${end}, white and ${blu}blue${end}."
printf "%s\n" "Text in ${red}${PWD}${end}, white and ${blu}${PWD}${end}."
alias l1212='printf "%s\n" "Text in ${red}${PWD}${end}, white and ${blu}${PWD}${end}."'
alias pwd='printf "%s\n" "masir->${red}${PWD}${end}, .... ${blu}${PWD}${end} .... ${grn}${PWD}${end} .... ${yel}${PWD}${end}."'
....................................................
// npm run build
/*
npm run build
npm adduser
npm config ls
npm publish
npm version patch
npm publish
.............................................................................
abcmdem1
cd $HOME/node_modules/abcmdem1 && ls && pwd && chmod +x c5
cd $HOME
npm update
...........................................................................
*/
...........................................................................
x11-md
/opt/app-root/src
cd $HOME/node_modules/x11-md/node-x11-master && ls && pwd && chmod +x c5
cd $HOME
npm update
...........................................................................
https://stackoverflow.com/questions/44450218/how-do-i-use-bash-on-ubuntu-on-windows-wsl-for-my-vs-code-terminal
terminal.integrated.shell.windows
C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe
"C:\\WINDOWS\\Sysnative\\bash.exe"
...............................................
npm
npm run build
npm publish
npm version patch
...............................................
Now do all the same after you went to virtual terminal
1) (CTRL+SHIFT+1)
2) your computer name or root
3) password:*
4) repeat any of things that were done up
and all of this will work!!!
OR WITH
1) rxvt
2) yeahconsole
............................................................
apt list --installed
...........................................................
...........................................................
...........................................................
...........................................................
TEMP_DEB="$(mktemp)" &&
wget -O "$TEMP_DEB" 'http://path.to/my.deb' &&
sudo dpkg -i "$TEMP_DEB"
rm -f "$TEMP_DEB"