Solved

Running things in Linux ???

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to find Linux Server's last patch date 9 68
android secure ftp 3 50
lunix and unix command 21 86
what do I need to host my own web sites? 13 50
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
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…
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…

856 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