Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 9, 2022 04:13 pm GMT

Terminal is your friend

I almost forget which command are used. So I search which is the best way to document my important activity. So I found this solution:

du -h -d 1 && echo :: size of directory
history 0 | grep ::

I use mac so I installed near every program by brew, and this is also help to remember outer application.

brew list
brew install zoxide

Repair/install code command on MacOS

My worst experience when I try to fix vscode code . command by manually, and accidental ower defined my $PATH so I cant use even the basic ls command. A litle bit hard to fix it the problem, so I wrote this line to remember.

sudo /Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron && echo :: VS Code with sudo rights for install 'code'

VS Code SHIFT+COMMAND+P
vs code shift + command + P


Original Link: https://dev.to/pengeszikra/terminal-is-you-friend-4pna

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To