[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

.sh command disabled

Posted on 2003-12-11
10
Medium Priority
?
716 Views
Last Modified: 2012-05-04
I have Mandrake Linux 9.1 and reinstalled it yesterday but when I wanted to install something the .sh command was disbled. When I go to the directory and did a ls the install.sh file showed like this install.sh*. I did some reading on it and found that the command is disabled. Does anybody knows how I can enable it.
0
Comment
Question by:SilverMecer
[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
  • 4
  • 2
10 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 1000 total points
ID: 9918897
just do
cd <dir where this file is >
chmod +x install.sh
./install.sh
0
 

Author Comment

by:SilverMecer
ID: 9918945
I will let you know tommorow, I don't have the system with me at the moment to test it. Thank you
0
 
LVL 20

Expert Comment

by:Gns
ID: 9919515
By default ls is aliased to "ls -F --color=auto" on modern Mandrake systems.
The -F flag adds an "indicator" to the file, so that
install.sh*
means that it already is "executable" (has the x bit set).
Also by default, your PATH does not contain the "." directory (current directory), so you need explicitly use a path (either an absolute path from root (/( on down, or as shivsa shows, use a relative path (./ is the shortest possible relative path there is:-)). The current directory is left out of the PATH for security reasons, but having it "tagged on" as the last component is fairly OK, so you could do
PATH=${PATH}:.
to be able to just type
install.sh<Enter>

What is the exact error you get, and what is it you are trying to install? Perhaps there is an rpm alternative;-).

-- Glenn
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

Author Comment

by:SilverMecer
ID: 9919960
I want to install some themes for X Windows. I am also going to install Unreal Tournament 2003 for Linux which also has a install.sh. When I want to run the command the error is "no such command". I can give you a exact answer tommorow. The Linux box is my home PC and I bought Linux just last week and this is my first Linux PC.
0
 
LVL 20

Expert Comment

by:Gns
ID: 9920025
That indicates that you simply do not find the command (since the directory it resides in isn't in the PATH... not even the current directory). Good. Makes it real simple to "fix":-).

Good Luck.

-- Glenn
0
 

Author Comment

by:SilverMecer
ID: 9920385
The directory where the files reside is /home/jaco//Documents/library/linux-themes/Aqua_Beta_2

Must load some files to install the command. As if the files to run the command is not loaded
0
 
LVL 20

Expert Comment

by:Gns
ID: 9920657
Where did you get the Aqua theme? Share an url with us, and perhaps we'll find time to DL and look at the actuall script;-).

-- Glenn
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9920798
Or u can do debugging:
set -x
./install

and post the ouput.
0
 

Author Comment

by:SilverMecer
ID: 9926367
The Aqua theme can be located here:
http://www.kde-look.org/content/show.php?content=8621

There are many of these but his one look the best to me.
0
 
LVL 20

Expert Comment

by:Gns
ID: 9926889
Yes it's rather ... spiffy... usn't it:-).
Glad that it worked out for you. Hopy you gained some understanding of the "problem" as such too.

Happy linuxing!

-- Glenn
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.
Suggested Courses

656 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