I'm new to vmware and I'm tying to execute a script but can't seem to get it to work. I've changed the file permissions a whole bunch and I end up getting either Permission Denied
or if I open it up a lot, not found
[admin@op:/tmp] chmod 755 /tmp/admin_tmp.sh
[admin@op:/tmp] ls -ll
total 35100
-rwxr-xr-x 1 root root 1213 Feb 15 19:03 admin_tmp.sh
drwxr-xr-x 1 root root 512 Feb 15 19:03 nfsgssd_krb5cc
-rw------- 1 root root 40 Feb 15 19:45 probe.session
-rwxrwxrwx 1 root root 0 Feb 15 19:04 terraform_1695115693.sh
-rwxrwxrwx 1 root root 0 Feb 15 19:24 terraform_2109053339.sh
drwx------ 1 root root 512 Feb 15 19:16 vmware-root
[admin@op:/tmp] /tmp/admin_tmp.sh
-sh: /tmp/admin_tmp.sh: not found
I've tried permission at 644
, 655
, 777
and still no luck
tried to run this to get more details on the file: cat -vet /tmp/admin_tmp.sh|head -1
but got this:
cat: invalid option -- 'v' BusyBox v1.22.1 (2016-03-26 07:03:26 PDT) multi-call binary. Usage: cat [FILE]... Concatenate FILEs and print them to stdout.
tried to run catv
and file
as well but those packages aren't there saying not found
I've never worked with busyboxy before so i'm really confused on why this is happening....