The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to get file extension shirleyeow Shell Programming and Scripting 17 01-17-2008 08:40 AM
without extension adurga UNIX for Dummies Questions & Answers 3 07-02-2007 12:34 PM
Changing extension mohan705 Shell Programming and Scripting 4 06-30-2007 01:06 PM
Problem for extension .fs in Linux donaldfung UNIX for Dummies Questions & Answers 3 05-23-2005 04:44 AM
How to change extension? prkwan Shell Programming and Scripting 4 11-16-2002 07:14 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-24-2007
sharmasdeepti sharmasdeepti is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 1
extension problem please help

I am executing a program wp1s0000.sh_old and it is executing as expected irrespective of the extension "sh_old"

how is this possible ??
  #2 (permalink)  
Old 10-24-2007
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
In Unix, the extension or filename does not determine whether the file is executable or not. Type
Code:
file wp1s0000.sh_old
to know the actual type of the file. Note that name may be misleading in some cases.

Also, check for access permissions and particularly the x (execute) permission. Use chmod command to change access permissions of a file.

Last edited by Yogesh Sawant; 10-24-2007 at 07:31 AM.. Reason: added reference to chmod command
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0