Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Running things in Linux ???

Posted on 1998-09-10
4
Medium Priority
?
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Author Comment

by:joar
ID: 1637990
Edited text of question
0
 

Accepted Solution

by:
atu earned 150 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

670 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