niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux
shell script
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 71

PostPosted: Tue Mar 08, 2005 6:15 pm    Post subject: re:shell script Reply with quote

first make sure your script is executable:

Code:

ls -al filename

if you see something like : -rwxr-xr-x ( the x means eXecute ) then you can execute it so just type ./filename or /full/path/to/your/filename
if your script is not executable do :
Code:

chmod +x filename
Back to top
linix
*nix forums beginner


Joined: 08 Mar 2005
Posts: 1

PostPosted: Tue Mar 08, 2005 5:45 pm    Post subject: shell script Reply with quote

Hello everyone, I'm new to Linux, can anyone tell me how I can execute a shell script ?
Thanks
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Tue Dec 02, 2008 6:13 am | All times are GMT
navigation Forum index » *nix » Linux
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts does squid 2.6 support setting cache_peer port in redirec... Victor Tsang Squid 0 Fri Jul 21, 2006 8:16 am
No new posts mail script eeb4u@hotmail.com shell 3 Fri Jul 21, 2006 5:50 am
No new posts A simple bash script JPB Suse 2 Fri Jul 21, 2006 2:19 am
No new posts Getting started in PXPerl, i.e how to run a script? Markus Hänchen Perl 5 Thu Jul 20, 2006 2:12 pm
No new posts Match pattern in ksh script lnrntx@gmail.com shell 6 Thu Jul 20, 2006 1:48 am

Repair Bad Credit | Mortgages | Loan | Ringtones | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1735s ][ Queries: 20 (0.0966s) ][ GZIP on - Debug on ]