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 Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Root cannot change /home permission moe2266 UNIX for Dummies Questions & Answers 6 10-31-2007 10:19 AM
change file type to hidden using chmod command rinku Shell Programming and Scripting 2 09-13-2007 01:12 AM
How to change the default permission of a file reachsamir UNIX for Dummies Questions & Answers 2 08-28-2007 05:57 PM
Permission Change Upon Reboot gross SUN Solaris 2 06-25-2007 11:34 AM
Timestamp of File permission change jyotipg UNIX for Advanced & Expert Users 1 02-19-2003 03:02 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-30-2006
Minguccio75 Minguccio75 is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 33
change permission chmod

Hi,
when I launch my perl script, I write on the shell:

perl x.pl

How I can can change the permission to write only:

x

to launch the program?
  #2 (permalink)  
Old 11-30-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Rename x.pl to x, change permissions of x to 555 or 755 , and add the directory where 'x' resides to your path.
  #3 (permalink)  
Old 11-30-2006
Minguccio75 Minguccio75 is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 33
Thanks a lot!
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 06:42 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