Solved

Running things in Linux ???

Posted on 1998-09-10
4
228 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

772 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