Insanely helpful little TRICK for all Linux and Mac users (10 seconds to make it work!!)

in #technology6 years ago (edited)

EN

Hey there....when it comes to using console, UNIX users probably have far better skills than Windows people. I'd put my money on that...but I guess even UNIX gurus know that tiring procedure of opening terminal, typing the command name...waiting 5 seconds..and giving up while opening Chrome :D Yeah, all those random letters representing various parameters and flags. One need helluva lot of time to learn them..And that's where today's trick comes into play

TLDR for advanced users

Paste following code into your .bashrc and enjoy the ride! Just type cheat <COMMAND_NAME> and temrinal will show you many cool usage examples :)

SK

Cavtee..pokial prijde na pouzivanie terminalu, UNIX pouzivatelia maju povacsinou omnoho vacsie skusenosti nez Windowsaci. Na to by som si kludne aj podal..Ale vacsina z nas poznaju tu beznu situaciu, kedy zapneme konzolu, napiseme nazov prikazu....potom 5 sekund cumime na obrazovku..a potom to vzdame, otvorime Chrome :D Preco? Vsetky tie nahodne pismenka reprezentujuce rozne parametre prikazov...kto si to ma pamatat? Dnes som objavil paradnu pomoc na tuto situaciu!

TLDR pre pokrocilejsich

Vlozte nasledujuci kod do vasho .bashrc filu a uzivajte :) Vzdy ked si neviete rady, napiste len cheat <COMMAND_NAME> a terminal vam ukaze priklady "akonato".

More detailed explanation

I'm not going to go over terminal basics etc :) If this is something for you, you already know how to use terminal. Tiny unknwon might be what that .bashrc file is. Well, .bashrc is a shell script that Bash runs whenever it is started interactively. It initializes an interactive shell session. You can add some custom commands there which tweak/change your terminal environment.

Where do I find my .bashrc file?

.bashrc is a hidden file inside your home directory. You open it with the most basic text editor using command gedit ~/.bashrc. Just paste the code from above and save it :) Also, don't forget to restart the terminal for changes to take place (because .bashrc will execute on terminal startup).

Thanks for reading!
Martin

Detailnejsie vysvetlenie

Nejdem vysvetlovat co je terminal, pokial ma byt tato vec pre Vas uzitocna, to co je terminal uz viete :) Maly hacik vsak moze byt otazka, co je to .bashrc. .bashrc je skryty shell script ktory je spusteny pri kazdom zapnuti terminalu. Vpodstate len pri kazdom interaktivnom zapnuti terminalu. Viete donho pridat rozne vase prikazy, ktore Vam v terminale umoznia par veci navyse.

Kde teda ten .bashrc file najdem?

.bashrc je skryty file vo vasom domovskom priecinky. Otvorite ho jednoducho - proste napiste do terminalu prikaz gedit ~/.bashrc. Po tom, co sa Vam otvori len vlozte hore uvedeny kod, ulozte a nezabudnite rstartnut terminal - aby tento .bashrc file znova prebehol, tentokrat uz aj s Vasimi zmenami :)

Dik za precitanie!
Martin

You can find my latest posts here:

  1. Perks of living with Latino guys OR every woman's DREAM!n
  2. [DLive Vlog #8] Snow in summer on DACHSTEIN summit + STUNNING sunrise at Tirolean countryside
  3. Muscles and Spinach....am I becoming Popeye the Sailor? :D
  4. Gymnastics rings & the secret gymnasts' technique to get their crazy-big biceps
  5. Visiting Hallstatt - beautiful tiny town on UNESCO herritage list with the oldest saltmine in the world!


Transparent-Discord-Travel.png

Sort:  

Ne nadarmo se říká: Když to není v hlavě, musí to být v nohách. V tomto případě to musí být v bashy.

Mamina dostala za tuto vetu dvojku zo spravania, ked to povedala telocvikarovi na gympli, ked zabudol v kabinete triednu knihu. Odvtedy mam pred touto vetou respekt :D Ale hej, mas pravdu :D

to je hezkej hack :) kdybych ho zmal před lety tak bych dneska možná ovládal terminál bravurněji :D

Haha tiez si od neho vela slubujem :D Hlavne usetreny cas :D

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.030
BTC 60115.50
ETH 3192.77
USDT 1.00
SBD 2.45