Solved

Running things in Linux ???

Posted on 1998-09-10
4
225 Views
Last Modified: 2010-04-20
How can I run my Qwsv file just by writing qwsv in the
catalog. Linux say's that it isn't a command. BUT when I use
Mc (Midnight Commander) it is a command (green and got a *)
and I can run it and it works. I had this problem with an earlier linux installation, but a guy at a Lan fixed it
for me. And I cant remember how! I am running the newest S.u.S.E.
0
Comment
Question by:joar
4 Comments
 

Author Comment

by:joar
ID: 1637990
Edited text of question
0
 

Accepted Solution

by:
atu earned 50 total points
ID: 1637991
You would run that file by this way:
your Forder ]$./qwsv
or you can creat symbolic link so you only have to type qwsv to run that program.Firstly you would need to specify the forder which contains that program and logging as root then you would type: #ln -s /home/yourname/your forder/qwsv qwsv
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1637992
You don't have the executable path in the PATH environment variable. Linux (or any unix) NEVER looks in directory "." for executables, this is a BAD THING (TM). Under bash you can look at PATH by executing "echo $PATH" and you set it with "export PATH=/dir:/dir/dir:/anotherdir".

Good luck
0
 

Expert Comment

by:neewbie98
ID: 1637993
I would agree with atu's answer.You would only have to type: $./qwsv   ...............
Good Luck.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now