Thursday, July 5, 2012

پست بیستم: چگونه یک فایل قابل اجرا را در لینوکس پیدا کنم؟



دو تا کامند که خیلی دیدم
which lpr?
whereis lpr?
اولی هدایت میکنه به اینجا: lpr: /usr/ucb/lpr /usr/man/man1/lpr.1
In this example, the query asked about the lpr command, which spools jobs to printers. The operating system returned two answers, and thus two paths. The first path is the location of the lpr executable, and the second path is the location of the lpr manual page.

/var/bsd/lpr
This means that when you enter lpr at the command line, the system is really executing /var/bsd/lpr.


حالا مشکلم اینه که اینارو که میزنم هیچ جوابی نمیگیرم و نمیدونم این یعنی اینکه من این فایل رو ندارم یا معنی دیگه ای میده؟

No comments:

Post a Comment