UNIX For Dummies [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

UNIX For Dummies [Electronic resources] - نسخه متنی

John Levine, Margaret Levine Young

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Mistyping Commands


If you type a command the UNIX shell doesn’t understand, it says that it can’t find the command. The reason is that it looks high and low for a file with the name you just typed, hoping to find the program you want to run. And then it says

eatmylunch: Command not found.

Or perhaps it says

eatmylunch: not found

The exact wording varies from shell to shell (we bet that you already guessed that). To make sure that you type a command properly:



    Check your spelling (as always). You may have typed a correctly spelled English word rather than the garbled set of letters that comprise the name of the program.



    Check your capitalization and spacing. Capital and small letters count as completely different things in filenames and, therefore, in commands. Nearly every command uses only small letters. Spaces matter, too, and if a command really is called

    eatmylunch , the more English-looking

    eat my lunch won’t do.



    Change directories (maybe). You may have given the right command, but UNIX may not know where to look for the file containing the program. If you know where the program file is, move to that directory and give the command again. If you don’t know where the file is, either look for it (as described in Chapter 22) or give up and ask your system administrator or local wizard.



/ 213