Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Executing a command in the Working Directory

How can I execute a command in the Current Working Directory without needing to type the full path. I have somehow lost this ability after installing KDE.
i.e.
/usr/local/netscape>netscape&
instead of
/usr/local/netscape>$PWD/netscape&
0
KLDONNELLY
Asked:
KLDONNELLY
1 Solution
 
swwelshCommented:
You need to check your path and make sure there is an entry with a singe period - for example /usr:/usr/local:.:/usr/local/bin - the period refers to the current directory, and linux doesn't include it by default. There is probably a path statement just for KDE apps - check there to see if the entry is there.
0
 
ozoCommented:
./netscape &
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now