How To Make A File Executable Linux Shell Chmod Command

Forums » Linux Hosting » How To Make A File Executable Linux Shell Chmod Command
this tutorial will show you the command you need to execute in the shell prompt of linux to make a file executable so you can make it into a script. In this post you will find the linux command chmod for modifying the permissions to make a file execute.
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
Neha
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??
jerome
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
chirojit
i want to make a .jar file executable in linux(like .exe in windows).i will like to then carry the executable and run in on other machiene with linux platform.
need you help
mukul
mike
I am new in this computer, I am not part of any command, but I am going to the beach soon and I want to know more about those shells files. Mike
Title: How To Make A File Executable Linux Shell Chmod Command [467]
Tags: how to make a file executable linux shell chmod command
By
Comments 5
Visits 43587