Solved

Running things in Linux ???

Posted on 1998-09-10
4
222 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
Comment Utility
Edited text of question
0
 

Accepted Solution

by:
atu earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
I would agree with atu's answer.You would only have to type: $./qwsv   ...............
Good Luck.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

11 Experts available now in Live!

Get 1:1 Help Now