Can't execute file via dot slash in terminal

Moderator: Forum moderators

Post Reply
User avatar
vtpup
Posts: 765
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 206 times
Been thanked: 174 times
Contact:

Can't execute file via dot slash in terminal

Post by vtpup »

What the heck am I doing wrong?? Is it me? It's gotta be.....

Screenshot121-1.jpg
Screenshot121-1.jpg (48.22 KiB) Viewed 236 times

I just did the usual Window>Terminal here in the folder of interest, intending to run it. Why can't terminal find the files?

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
vtpup
Posts: 765
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 206 times
Been thanked: 174 times
Contact:

Re: Can't execute file via dot slash in terminal

Post by vtpup »

Very weird testing after:

so if I shorten the extension of Test it finds it and executes it (ignore the other error messages -- I can deal with those):

# ./Test.App
[0324/122209.238476:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

then I tried a little longer extension, also works:

# ./Test.Appima
[0324/122305.002588:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

and so on:

# ./Test.Appimag
[0324/122346.183936:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

and so forth until...hell now it works full length:

# ./Test.Appimage
[0324/122432.380013:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

but the unchanged other file doesn't!!??

# ./gSender-1.4.12-Linux-Intel-64Bit.Appimage
bash: ./gSender-1.4.12-Linux-Intel-64Bit.Appimage: No such file or directory

what the heck????

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
Trapster
Posts: 228
Joined: Sat Aug 01, 2020 7:44 pm
Location: Texas
Has thanked: 2 times
Been thanked: 71 times

Re: Can't execute file via dot slash in terminal

Post by Trapster »

Your first command in the first photo needs a capital "I" in *Test.AppImage

User avatar
Jasper
Posts: 1821
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 895 times
Been thanked: 384 times

Re: Can't execute file via dot slash in terminal

Post by Jasper »

How to run a Appimage in Puppy Linux.png
How to run a Appimage in Puppy Linux.png (148.7 KiB) Viewed 211 times
User avatar
vtpup
Posts: 765
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 206 times
Been thanked: 174 times
Contact:

Re: Can't execute file via dot slash in terminal

Post by vtpup »

Jasper wrote: Mon Mar 24, 2025 5:39 pm

How to run a Appimage in Puppy Linux.png

Yup, thanks, knew that part -- it was the file not found that was the hangup.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
mikewalsh
Moderator
Posts: 6518
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 993 times
Been thanked: 2170 times

Re: Can't execute file via dot slash in terminal

Post by mikewalsh »

@vtpup :-

This is why I usually make my AppImage names as short as possible, Steve.....AND remove the '.AppImage' extension completely. If that was me, I'd rename that to just "gSender64". If it's going to run, it'll run......trust me!

Most of the long-winded names they give these things are for archival purposes, so the individual developer knows exactly what file you're talking about if you ever need to contact them about it. But for actually running/executing it? Nah.

When you execute it in the terminal, it's exactly as though you've clicked on it.....and with an AppImage, what that does is to 'transfer' the executable action to the 'AppRun' file within. Hence, you can name it what you like.....because the outer shell of the AppImage, the bit you see, is just a container for the program itself inside.

I've been doing this for years with these AppImages.....and it always, but ALWAYS, "works". Does that make sense?

Mike. ;)

User avatar
vtpup
Posts: 765
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 206 times
Been thanked: 174 times
Contact:

Re: Can't execute file via dot slash in terminal

Post by vtpup »

Yes Mike! I agree.

I thought I was going crazy re. above until Trapster spotted my idiocy it! :lol:

I do have glasses. Obviously I should have worn them that time! :lol:

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
wizard
Posts: 2169
Joined: Sun Aug 09, 2020 7:50 pm
Location: Oklahoma, USA
Has thanked: 2980 times
Been thanked: 799 times

Re: Can't execute file via dot slash in terminal

Post by wizard »

@vtpup

Mikes way is best, but many times have resorted to copy and pasting the file name to eliminate my errors.

wizard

Big pile of OLD computers

Post Reply

Return to “F96-CE”