How To Make A File Executable Linux Shell Chmod Command



How To Make A File Executable Linux Shell Chmod Command
 (380) Click. Work. Collect
How To Make A File Executable Linux Shell Chmod Command
Post Description:
Post Tags: how, to, make, a, file, executable, linux, shell, chmod, command
This Post Has Been Viewed 2772 Times Since Tue Jan 08, 2008 1:03 pm Posted By hostman with 2 replies
Next Post »» how to list crontab jobs process display show cron jobs
How To Make A File Executable Linux Shell Chmod Command
if you want to know how to make a linux file executable you can use this example

my file is called example.exe

chmod +x example.exe

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About How To Make A File Executable Linux Shell Chmod Command




:: 1 :: #39725 - Reply By Neha On Mon Feb 04, 2008 10:34 am
hi,

someone pls help me..

i want to create my own command,suppose "cl"(which counts the number of lines in a file).when i write cl on the command prompt with the filename as an argument,it should return me the number of lines in a file.
how do i add "cl" to /bin and treat it as a new command??
:: 2 :: #48277 - Reply By jerome On Wed Apr 02, 2008 8:47 am
no need to add it in /bin, creating an alias will do the trick !
enter command:
alias cl='wc -l'

then type cl filename => it will echo
123 filename