[Linux] Comanda which

Comanda which ne va aflisa calea catre executabilul comenzii specificate ca argument al comenzii. (Prin executabile ma refer si la scripturi ca si ele sunt tot un fel de executabil)

which bzexe

Va afisa /bin/bzexe
Unde sunt stocate programele?

/bin -> aici sunt stocate executabilele programelor.

/usr/bin -> la fel ca in /bin

/sbin -> aici sunt stocate executabilele pentru utilizatorul “root”. Gen reboot


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s