Skip to main content

Questions tagged [executable]

The permission bit in a file mode that allows a file to be run as a program. Also, questions related the format of program files, and to locating and executing program files.

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Context I have a system user caddy and a shell script placed under /run/caddy/caddy-cert-obtained-wrapper.sh. /run and /run/caddy are owned by root:root with permissions 0755. caddy-cert-obtained-...
Martin Tovmassian's user avatar
0 votes
1 answer
117 views

Please note: This is not a question related to pip or python. I am trying to make sense of why I see a "permission error" instead of "path not found" error. I have done many ...
Ayusman's user avatar
  • 141
1 vote
1 answer
77 views

There may be a simple answer to this, but if there is, I'm not aware of it. I've downloaded the latest GitHub release of Neovim, because the one in the apt repositories is outdated by a few major ...
Tumbleweed64's user avatar
-1 votes
1 answer
103 views

I find it peculiar, that I could not execute binaries / scripts on my new RAMdisk (tmpfs). 1) tmpfs /ramdisk tmpfs exec,size=3G,noauto,sync,user,rw,x-gvfs-show,x-gvfs-name=RAM 0 0 versus 2) ...
Vlastimil Burián's user avatar
0 votes
2 answers
111 views

Suppose apt modifies or removes an executable, say a script file, of the package, while the executable is running. Can you rely the running executable will be intact so that the executable runs like ...
jarno's user avatar
  • 738
4 votes
1 answer
408 views

I am trying to run the COMSOL license manager in Pop OS; however, when I try to run: $ ./lmgrd -c ../license.dat -l /var/tmp/comsol55.log I get the following error: bash: ./lmgrd: No such file or ...
Time4Tea's user avatar
  • 2,650
0 votes
0 answers
193 views

When hitting enter (or double-clicking) an executable shell script (a ".sh" file, for instance), it would be nice if this would launch the script inside a console window. I am using the ...
JonathanDavidArndt's user avatar
9 votes
3 answers
1k views

I need to run the binary that I don't fully trust. I've created a systemd unit for it where it's locked down as much as humanly possible, it works great. Now it's still on my system (Fedora) and I may ...
Artem S. Tashkinov's user avatar
0 votes
2 answers
3k views

The standalone executable yt-dlp recommended for macOS suddenly stopped working. I used it two weeks ago and it worked. I have not had any updates to my system, expect some brew updates/upgrades. ...
Kamil's user avatar
  • 59
1 vote
1 answer
3k views

I have a laptop with both a discrete and an onboard graphics card. I want to run a Game executable file using the discrete GPU but instead it runs on the obnboard one. How can I run it with the ...
Ryno's user avatar
  • 13
0 votes
2 answers
486 views

I have a collection of bash commands (one liners) that I use on a regular basis to open new shells or start programs with a given set of arguments. As I use dmenu, I'd like to be able to use those ...
PinkFloyd's user avatar
  • 439
1 vote
1 answer
2k views

One of my Flatpak application stopped working properly, probably after a silent upgrade. I found a fix online that tells me to add a parameter. That fix works. Nonetheless, I like running that app ...
SteeveDroz's user avatar
0 votes
2 answers
250 views

I have a script (say Task.sh) (with executable permission): Pseducode: if [[ Not called from inside a script ]]; then echo 'Not called from inside a script' else echo 'Called from a script' fi I ...
Porcupine's user avatar
  • 2,176
-1 votes
5 answers
784 views

I spend a lot of time downloading things that I am going to execute, without a doubt, after having downloaded them. Out of the 900-ish files in my download folder right now, roughly a third is stuff ...
Jean-Michaël Celerier's user avatar
0 votes
1 answer
65 views

I installed a tool called herd (http://diy.inria.fr/herd/). The original version of this I think is in the global path so I can call it from anywhere by writing herd7. Now I also have a second ...
IIM's user avatar
  • 103
4 votes
1 answer
7k views

I see that there are other questions like this out there, but the answers there did not work for me. I am using I downloaded the Julia 1.9.2 (Linux, x86-64, glibc) prebuilt binary and tried to execute ...
loonatick's user avatar
  • 171
1 vote
1 answer
1k views

Windows EXE files which are in the PE format have a header and it contains a checksum. Is it possible to verify it under Linux? Because I am looking for a Linux command I hope you understand that this ...
javanerd's user avatar
  • 113
2 votes
0 answers
158 views

I just started to wonder what ever happened to the original a.out binary file format and why it was superseded by ELF?
Whitequill Riclo's user avatar
0 votes
0 answers
19 views

After installing n to manage node versions on my alpine vm, I am having the following issue where the node executable is not found, despite existing vscode ➜ /workspaces/tom $ which node -a /...
StuperUser's user avatar
0 votes
1 answer
122 views

I am using the command -v "program" >/dev/null 2>&1 construct if I need to POSIX-ly find out if such program is installed in an if-statement. From its help page is not clear, ...
Vlastimil Burián's user avatar
3 votes
2 answers
892 views

I’ve made a script that would work on rhel distros and forks. It’s for personal use to automatically download repositories and software that I use. When I make the script executable on the host ...
Veritas's user avatar
  • 33
1 vote
1 answer
243 views

I wrote a Python script which sends any message via Telegram: #!/opt/anaconda3/bin/python import asyncio import telegram import os import sys async def main(): bot = telegram.Bot(os.environ["...
Dims's user avatar
  • 3,485
0 votes
1 answer
887 views

I am observing the following behaviour, and want to know if it is expected. I am trying to run disk usage ( du ) as user2 on a directory test_directory which is owned by user1. If I change the ...
teeeeee's user avatar
  • 305
0 votes
1 answer
148 views

I'm trying to run a binary. But when I'm trying to run the file I'm facing the following error. pegasus@pegasus:~/Documents/Courses/heaplab-main/house_of_force$ ./house_of_force bash: ./...
Zeshan Ahmed Nobin's user avatar
5 votes
1 answer
486 views

In MacOS you can name a folder with the suffix .app and it will be launchable from the GUI as an application based on an internal folder structure convention. Does such a thing exist in Linux? Can I, ...
David Alsh's user avatar
0 votes
2 answers
558 views

Can process execute new program without the kernel knowing? Usually, when the program is executing kernel gives to it its own process after receiving the syscall (such as exec() or fork()). In this ...
user551100's user avatar
1 vote
0 answers
131 views

I have a .exe file that I need to run in HPC and I am not sure how to do this. I tried using wine-4.0.4 as follow but I get the following chmod a+x Rtools35.exe ./Rtools35.exe wine: Bad EXE format ...
geo_dd's user avatar
  • 111
-3 votes
2 answers
957 views

I have two files with the following permissions: -rwsr--r-- 1 root root 213 Oct 22 12:15 f1 -r--rwxr-- 1 Bob staff 113 Oct 22 12:18 f4 Can the user Bob execute f1 and why? What is the effect of the ...
user543663's user avatar
1 vote
1 answer
774 views

Like I will use google chrome whenever I use linux (most probably) But I don't want it to auto start when ever I open it. I could open it manually, but I have HDD so it is pain to load for the first ...
Afroz Alam's user avatar
1 vote
0 answers
3k views

How can ELF 64-bit LSB shared object be executable that is readilt executed/launched right away, isn't it opposing the word terms "shared object" (Windows equivalent to dynamic link) ?
user avatar
2 votes
3 answers
290 views

I have an executable compiled from my code. I am trying to run this executable when I insert a serial device into my Raspberry Pi Zero W using udev. However, for some reason the executable will not ...
guyus15's user avatar
  • 31
0 votes
0 answers
20 views

I am new to Kali Linux i was trying to run clang file which i did but a a.out file appears what to do next? zsh: no such file in directory: /a.out I have trying to do it so many time please help
Chirag's user avatar
  • 1
1 vote
0 answers
40 views

This is under the assumption that the binary is large enough that not all pages were loaded into memory at the start of execution. What would happen if the underlying file system suddenly disappears (...
SUPERCILEX's user avatar
9 votes
4 answers
3k views

When reading over Google's shell style guide, I found the following line that confused me a little: "Executables should have no extension (strongly preferred) or a .sh extension. Libraries must ...
Hunter T.'s user avatar
  • 623
2 votes
2 answers
2k views

I have a desktop application that provides the user with a tarball (.tar.gz) that they can unpack to find the binary that can be run with executable permissions which starts the overall program. This ...
Vass's user avatar
  • 5,501
1 vote
1 answer
6k views

Very similar with Run a command in an interactive shell with ssh after sourcing .bashrc, yet the answer there doesn't work for me. I want to to execute remote command via ssh under the full ...
xpt's user avatar
  • 1,924
1 vote
2 answers
4k views

I have build a server that ships in executable format, and I want to register it as a service that I can start/stop/restart. I have read the following questions and many others like it > How can I ...
YaRmgl's user avatar
  • 133
1 vote
1 answer
834 views

So I just bought a new Samsung T7 Portable SSD. I initially intended to format it to exFAT, for use with both Windows, MacOS and Linux, but upon inspection, the disk comes with a default file system ...
genbatro's user avatar
1 vote
1 answer
131 views

Is there a philosophy behind running a folder as an executable in linux? user@node main % ls -lash ./bin total 0 0 drwxrwxrwx 2 user staff 64B May 23 21:04 . 0 drwxr-xr-x 6 user staff 192B ...
Elijas Dapšauskas's user avatar
0 votes
1 answer
209 views

I am trying to run the .exe of an app I have downloaded from the Apple store onto my virtual machine. However, every time I run the file, I get the following error: cannot execute binary file: Exec ...
Dollar X's user avatar
0 votes
2 answers
230 views

I have created a .sh executable file that generates several files in the working directory/folder that are used by the same script. If it is run twice in the same folder it would be a mess because the ...
wildos's user avatar
  • 1
0 votes
1 answer
2k views

In this article we see x permission is added to myfile.txt: mode of `myfile.txt' changed to 0751 (rwxr-x--x) What is execute permission in the context of non-script file? When would I need ...
Andrew Anderson's user avatar
1 vote
0 answers
271 views

I wanted to know if there was a way (some sort of library that I'm unaware of) that gets the signing certificate details of an executable. I know it's possible to sign a binary using openssl but how ...
beginner123's user avatar
0 votes
1 answer
124 views

I'm not sure what to try next to resolve this issue. ~ 🌝 cat /etc/fstab # /dev/sdg1 /mnt/d/ ntfs noatime,nodiratime,users,noauto,x-systemd.automount,autodefrag 0 0 /dev/md127 /mnt/d btrfs ...
jaksco's user avatar
  • 165
0 votes
1 answer
1k views

Background Using xfce4-terminal as an example, I want to run the program by just typing term. When I type which xfce4-terminal it returns /usr/bin/xfce4-terminal. So, I created a symbolic link: sudo ...
dungarian's user avatar
  • 465
1 vote
1 answer
4k views

I'm not talking about a Windows EXE. I mean an actual Linux executable file. At first, I've been wondering whether Linux executables even have embedded icons, and it seems as though they do, because ...
GPWR's user avatar
  • 162
1 vote
0 answers
72 views

I've created a bind mount in /tmp/test which I then use to establish a chroot jail. For example: mount --bind -o ro /usr/bin/ /tmp/test chroot /tmp/test /some_executable This seems to work fine - most ...
stumbling.fool's user avatar
0 votes
1 answer
76 views

I'm working with a tool that uses a whitelist to allow certain commands to be executed. The whitelist works using file paths like so: command1=/bin/echo command2=/bin/sed ... The problem is commands ...
cdbuzz17's user avatar
0 votes
1 answer
245 views

I would like to access my cloud data on Google Drive from terminal, so I have downloaded gdrive from this source; I have selected gdrive_2.1.1_linux_amd64.tar.gz since I am on Fedora 35 with a 64 bit ...
Noumeno's user avatar
  • 203
0 votes
2 answers
1k views

Note that the FS is mounted with the relatime option (thus the recent last access time is not shown). Is there a way to see when an executable (ELF 64-bit LSB executable) was run for the last time? ...
Déjà vu's user avatar
  • 656

1
2 3 4 5
12