[xubuntu-users] Marking a text file as executable
pereira
ninorpereira at gmail.com
Wed May 24 00:29:52 UTC 2017
Since I do everything from the command line this one is easy.
First, do ls -l filename; that should verify what you told us; it's
readable and writable by you, but not executable;
(owner, etc) -rw-r--r-- filename
then do
chmod 755 filename
now check: ls -l should give
(owner, etc) -rwxr--r-- filename,
with the extra 'x' in the 4'th place.
I'd also check on what /usr/bin/wish does. I didn't know about this
command but 'man wish' tells you.
HTH,
Nino
On 05/23/2017 07:46 PM, John R. Sowden wrote:
> I have a text file that appears to be a script to run an acct app. I
> cannot execute it, and it shows in the file manager as a 'plain text
> file'.
>
> Right clicking on properties then permissions, there is no check box
> for 'make executable'.
>
> The text file starts with #! /usr/bin/wish
>
> How do make this file executable? I tried on a root file manager, no
> change. The files is owned by me for r/w/.
>
> John
>
>
More information about the xubuntu-users
mailing list