LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-16-2006, 06:09 PM   #1
Mithic
Member
 
Registered: Nov 2006
Location: Downers Grove, Illinois
Distribution: Slackware 11, Kernel 2.6.18
Posts: 42

Rep: Reputation: 15
Question How Do I Run A Script?


I'm new to linux and i just downloaded slackware 11 and installed it just fine. Seems to work except i cant mount my usb storage devices, So i looked all over the internet for help and found somewhere it said "Go to /dev and run the script "MAKEDEV" and that should work" when i go to that folder in the browser and click on the "MAKEDEV" file it just opens it in a text editor. So my question is how do i run that script?
 
Old 11-16-2006, 06:12 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You may need to add the execuable attribute to the script.
chmod +x name_of_file

Brian
 
Old 11-16-2006, 06:42 PM   #3
Mithic
Member
 
Registered: Nov 2006
Location: Downers Grove, Illinois
Distribution: Slackware 11, Kernel 2.6.18
Posts: 42

Original Poster
Rep: Reputation: 15
I checked the properties of the file and it is checked as executable.
I went into konsole and typed

Code:
root@darkstar:~# cd /dev
root@darkstar:/dev#
root@darkstar:/dev# chmod +x MAKEDEV
root@darkstar:/dev#
How do i know if it did something?
 
Old 11-16-2006, 07:15 PM   #4
thelastknowngod
Member
 
Registered: Nov 2006
Location: jersey
Distribution: Arch
Posts: 54

Rep: Reputation: 15
it would give you an error if it didnt work... youre fine now.

check out this podcast...

http://www.linuxreality.com

it helps out a whole lot esp for a new linux user (myself included).
 
Old 11-16-2006, 07:32 PM   #5
Mithic
Member
 
Registered: Nov 2006
Location: Downers Grove, Illinois
Distribution: Slackware 11, Kernel 2.6.18
Posts: 42

Original Poster
Rep: Reputation: 15
Ok, Thanks for the help everyone.
 
  


Reply

Tags
script


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
how to run a shell script in the perl script sharad Linux - General 1 05-24-2006 03:23 AM
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 02:53 AM
Script to run script in multiple directories... seabass55 Linux - General 5 07-06-2004 12:44 AM
on Network Up Script run? On Battery power run script? v2-ncl Linux - General 0 12-08-2003 09:34 AM
can't run a script script from icon in konqueror scottsteibel Linux - Software 1 08-02-2003 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:42 AM.

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
Open Source Consulting | Domain Registration