Re: Avoiding to type "./" before command if in same directory ?
- From: The Natural Philosopher <a@xxx>
- Date: Sun, 04 Jun 2006 08:31:28 +0100
Carsten Eishold wrote:
If I want to execute a command whose program is in my current working directory
I have always to type "./" before the actual command. E.g.
/etc/init.d> smb start
bash: smb: command not found
/etc/init.d> ./smb start
Starting Samba SMB daemon
Is there a way of prepending automatically the ./ to every command if necessary?
Carsten
Put it in the default path in the environment.
.
- Follow-Ups:
- Re: Avoiding to type "./" before command if in same directory ?
- From: Lee Sau Dan
- Re: Avoiding to type "./" before command if in same directory ?
- Prev by Date: Re: Avoiding to type "./" before command if in same directory ?
- Next by Date: Re: Listing all users including their UID, GUI and last login time?
- Previous by thread: Re: Avoiding to type "./" before command if in same directory ?
- Next by thread: Re: Avoiding to type "./" before command if in same directory ?
- Index(es):
Relevant Pages
|