shell - basic Unix command not found -


i've installed mysql on laptop.

now when launch terminal window , unix command grep, message:

-bash: grep: command not found -bash: cat: command not found ... 

what's happen ? have skills or ideas retrieve precious unix functions ?

i'd put in comment, don't have enough reputation, sorry!

basic unix commands grep or cat in folder:

/usr/bin 

in order them work, need have correct set of path variable. might have changed unknowingly during installation of mysql. can fix temporarily trying like:

export path=$path:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin 

this add whatever have on path @ moment, "normal" routes precious unix functions. try commands again after executing line in terminal, , let know :)


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -