From owner-freebsd-newbies Sat Jun 24 16:12:41 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from uranus.interscope.ro (ns.interscope.ro [193.226.188.3]) by hub.freebsd.org (Postfix) with ESMTP id D1C0137B507 for ; Sat, 24 Jun 2000 16:12:35 -0700 (PDT) (envelope-from KoronkaS@interscope.ro) Received: by URANUS with Internet Mail Service (5.5.2650.21) id ; Sun, 25 Jun 2000 02:09:19 +0300 Message-ID: From: Stefan KORONKA To: "'jmdupx@yahoo.com'" Cc: freebsd-newbies@FreeBSD.ORG Subject: RE: content / list of manpages Date: Sun, 25 Jun 2000 02:09:17 +0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > is there a file extension in freebsd (like in DOS where you have > *.com or *.exe) which tells you for example that a file is executable > or will run or whatever if you enter it at a command prompt, as > opposed to just containing information ? > > this would be a useful way for me to slowly feel my way around the > system using the resources at hand. hmm .. a sugestion: use the "bash" shell. If you are using other shell, just type "bash". If you haven't installed it, install from /stand/sysinstall. Now, in bash, if you press "Tab" once, you'll hear a beep. If you press twice, a message like "There are xxx possibililies.. Do you want.. (y/n)" Press "y" (or just press "Tab" one more time); now a list with all available commands will appear on your screen. (Note: I might be wrong with the numbers of "Tab", but you'll get a clue) Similar, if you type "a", you'll get all the commands begining with "a". And so on .. I hope this helps. Btw: no, there isn't a "file extension" for executable files in unix. And no, the system will not run whatever if you enter at a command prompt. Executable files usually have an "x" flag (try "ls -l" to see this). And, usually, most of the available programs are in /bin, /usr/bin and /usr/local/bin. Stefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message