LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2006, 02:03 AM   #1
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
told to run a check.sh by ati website... but


i finaly got a linux distro downloaded and seeming to work perfect. i chose to not let it default install and do it myself getting the ati drivers however ive run into a snag. ati website tells me to run check.sh to determine my x system being xorg or xfree. i have no clue which and am trying to learn my way around. when i run this it says permission denied, have even tried it from root.. ? am running on the latest zenwalk distro, however i had this problem on mepis as well
 
Old 09-02-2006, 02:35 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
have you actually downloaded the bin file (the .sh one that it)?

Or you might have to cd to the directory to where the .sh/bin file is. Like if it's in /usr/bin/ati then thats probably where you have to be to execute the file, you might even have to look at the permissions for it to see if it's executable or not, if not then change it so it is - You haven't put a distro in your public profile (left under name) so it's hard to give specific advice/ideas/suggestions.

If you think about it, is a .sh file, which by it's very virtue is supposed to be "run". If you're getting a "permission denied" error, then why is it denying you that permission. Thats how I try to work out whats going on - though personally, I've set my system so that I can log into root via GUI (or I open "file manager in Super User mode" - though your system might not be set too allow this, so you could try kdesu konqueror which, if allowed, should ask for your root password and then open konqueror as root, of course, thats not gonna work if you are using gnome or xfce or some other GUI, but if so, you could just move through the file system to the file, and then right click it and make it executable that way).

regards

John

Last edited by bigjohn; 09-02-2006 at 02:36 AM.
 
Old 09-02-2006, 03:27 AM   #3
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Original Poster
Rep: Reputation: 39
as i said im running zenwalk, i worked following that approach, tho i just now read your reply. i manualy changed permissions on the check.sh file and at that point it stopped with permission denied and started telling me it needs a console. as im newb beyond belief took me a bit to sort out, im assuming that bash shell and console are different things, although at the moment im running the netpkg and updating my system, i also plan to look through the lists and what not to see if i can find another terminal program. debating dropping kde in here if only temporarily. it is XFCE currently

on a side note i do like the setup of zenwalk so far. even if i do need to add a few programs that it may be lacking, for me it beats getting a distro that has 8 or 9 versions of wordpad

Last edited by Tadaen; 09-02-2006 at 03:32 AM.
 
Old 09-03-2006, 04:51 PM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by Tadaen
as i said im running zenwalk, i worked following that approach, tho i just now read your reply. i manualy changed permissions on the check.sh file and at that point it stopped with permission denied and started telling me it needs a console. as im newb beyond belief took me a bit to sort out, im assuming that bash shell and console are different things, although at the moment im running the netpkg and updating my system, i also plan to look through the lists and what not to see if i can find another terminal program. debating dropping kde in here if only temporarily. it is XFCE currently

on a side note i do like the setup of zenwalk so far. even if i do need to add a few programs that it may be lacking, for me it beats getting a distro that has 8 or 9 versions of wordpad
zenwalk and XFCE eh? Nope, not used either.

My kit can handle kde even though some say it's bloated - maybe, maybe not. All that "horses for courses" crap.

As for bash and console, well I can't explain the exact difference. Though console/konsole/terminal are the same (stuff thats a bastardised word but spelled with a K, usually means it's provided by KDE). Though bash is the specific type of shell i.e. Bourne Again Shell. There are a number of different types of shell that can be used, it's just a case of installing/trying them and see if you like something specific. Most distro's tend to use bash as the default.

8 or 9 different versions of wordpad? Hum? I'm inclined to think that it's closer that wordpad is an MS copy of an earlier Unix text editor. Though again, theres quite a few, different distros provide different ones as default. A lot just go straight with VI/VIM. Some of them are cleverer than others, e.g. emacs can do a shit load of different things and can be "enhanced". It has different commands from, say VI.

If your GUI interface has graphical root login enabled, then one of the basic ones will probably do as it's similar to using a word processor.

You have "hit the nail on the head" though, theres a fair amount of duplication amongst similar apps - though some of the abilities/facilities offered by similar apps can vary quite considerably. Hell, it's linux. It's all about choice. Try different ones and go with the one that you like - or if you have the appropriate ability/skills, write your own.

XFCE is considered "light weight", not because of ability, but because it manages to produce a usable GUI with a minimum of facilities/resources. Other stuff, you have to add yourself.

Some say it's a benefit that theres lots of the duplication, others think of it as a bit of a curse. Choice, excellent, but it can create a certain amount of inoperability between some things.

Anyhow, even zenwalk will have a terminal app, so if the permissions thing is sorted, then just open a terminal, and move to the directory where you have the .sh file, e.g.
Code:
cd /home/tadaen/Desktop
hit enter, and the prompt should change slightly, from
Quote:
tadaen@tadaenspc:~$ cd /home/tadaen/Desktop
to
Quote:
tadaen@tadaenspc:~/Desktop$
or whatever you have your system set to for username and domain etc.

Then you should just do
Code:
sh check.sh
or even
Code:
./ check.sh
whichever you find works and the check.sh you mentioned should "fire up".

regards

John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash scripting to check text in a website carlp Programming 2 09-20-2005 11:14 AM
How you check a website within a network helios007 Linux - Newbie 3 11-13-2003 07:39 PM
Program to check if website is working jpc82 Linux - Software 0 10-16-2003 07:54 AM
New band, New website, check it out:) Shade General 4 09-10-2003 11:25 PM
Help check speed of a website! DavidPhillips General 6 01-02-2003 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration