Skip to main content

Questions tagged [execute-command]

Questions relating to the execution (running) of a file (usually a compiled binary) or a command.

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

Command locations in Ubuntu [duplicate]

For example, when I run the clear command in the Ubuntu Terminal, how does Ubuntu know whether it should run /usr/bin/clear or /bin/clear? Is there an alias for this job somewhere in Ubuntu? I ran ...
yigitboracagiran's user avatar
0 votes
0 answers
32 views

Allow users to execute everything except manage specific service

I have some workers with their own computer. All of them have access in their laptops to root user in Ubuntu. I don't rely on them and I have a critical service that I need to be always running, so I ...
Miguel.G's user avatar
  • 101
0 votes
0 answers
36 views

Need further assistance with implementing autologin followed by an automatic lock screen function (Ubuntu 22.04.3)

I made this post previously, and I have provided a thorough description of what I want to achieve along with every step I've made towards trying to make it work. The post seems to have died, and I ...
qwertyuiop's user avatar
2 votes
0 answers
219 views

How to retain 777 permission on a Subfolder and it's Subfolder and files?

I have created a folder xyz & gave 777 permission on that folder, along with its Subfolder and files with full permission. I want that if any user creates a Subfolder or files inside xyz folder ...
Atul Verma's user avatar
1 vote
1 answer
480 views

set: pipefail failing on WSL windows 11 ubuntu 22.04.3

i am currently having an issue with running a .sh file which can be found in here https://github.com/grugslair/Rising-Revenant/blob/dev/contracts/scripts/default_auth.sh i was originally dual booting ...
Al3xHaLo 3115's user avatar
2 votes
1 answer
904 views

wsl -e cannot run a script that I can run when wsl has been executed

I created a script in Ubuntu: # bash_test_01.sh echo "cmd is executed" Running the script from inside WSL works: > wsl $ cd /home $ /home/bash_test_01.sh cmd is executed. However ...
Eliseo Di Folco's user avatar
0 votes
2 answers
101 views

How to create an auto executeable for running commands ad admin?

I have an old laptop I run Ubuntu on. However the capacity of this pc is small, so I have to clean often. But opening the file with the commands, copying and pasting into the terminal, gets boring ...
SamirOnof's user avatar
1 vote
0 answers
226 views

Anaconda execution on Ubuntu 22.04: Green circle appears and then disappears but can't see application running

I am trying to install anaconda on Ubuntu 22.04. Initially I got 'directory already exists': Directory Exists which suggested: $ ./anaconda.sh -u bash: ./anaconda.sh: Permission denied zulfikar@lc2530:...
user2994783's user avatar
8 votes
1 answer
4k views

To delete the directories using find command

I am using the Linux command to delete the directories from my server. find . ! -name . -type d -mtime +30 -print -delete But the directories are not deleting. Attached the image , please refer. I am ...
Varun K M's user avatar
  • 333
0 votes
1 answer
519 views

When to use LFTP -c versus -e versus nothing

Hi someone tell me what is the difference between using -c and -e in a LFTP script? e.g. of -c: Lftp default timeout and retry? e.g. of -e: https://stackoverflow.com/a/32432851/13862759 Can someone ...
Bio's user avatar
  • 103
0 votes
0 answers
832 views

Wmi Failed to parse wdg method error every time when i turn on

I use a Dell Vostro and I was able to install Ubuntu 20.04/22.04 successfully. I did sudo apt update apt upgrade and restarted the OS, but I am getting this error wmi failed to parse wdg method.
Umesh Kumar's user avatar
6 votes
3 answers
1k views

How to open a PDF file with "Master PDF Editor" application from terminal?

I want to open a PDF file from terminal. I only know the command xdg-open file-name.xxx to open a file. But once I use this command, it opens the PDF file with the Document Viewer application (Evince)....
Hussain's user avatar
  • 63
4 votes
2 answers
640 views

Is there any way to control ls output format

I have a directory contains some svg images among its contents. I list them with following ls command to save the output in a file: ls *200px.svg > animList.js The output file looks like: file1-...
SaidbakR's user avatar
  • 789
0 votes
0 answers
32 views

What configuration might have changed as a result of which all extracted binaries are marked non executable by default?

I am using Lubuntu 22.04 OS. abhishek@abhishek:~/test_OS_proj/linux-6.0.19$ neofetch .-/+oossssoo+/-. abhishek@abhishek `:+ssssssssssssssssss+:` -----------...
Abhishek Ghosh's user avatar
0 votes
0 answers
523 views

How do you figure out what rm -rf deleted

I've accidentally executed rm -rf ~ because I failed to autocomplete a directory and it stayed with my home directory. I was quick enough to kill the command in time, so no real damage (I think) was ...
Joliver's user avatar
  • 101
0 votes
1 answer
1k views

adding files to ~/.local/bin doesn't add it to the $PATH

I've added fm6000 file to the ~/.local/bin folder assuming it'll be the same as adding it to /usr/bin folder. Though that's not the case. There are many files in ~/.local/bin folder that don't work. I'...
GoodBoyNeon's user avatar
0 votes
1 answer
5k views

permission denied when executing "exec" on /tmp Ubuntu 22.04 [duplicate]

I have the script below, it works fine for Ubuntu 18.04 #!/bin/bash set -euo pipefail # This form is convenient for locking a file without spawning a # subprocess. The shell opens the lock file for ...
Tien Dung Tran's user avatar
0 votes
1 answer
506 views

I get a "symbol lookup error" when running "dig google.com" in the terminal

I want to run the command dig google.com in the terminal, but what I get is this error message: dig: symbol lookup error: /lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1.1-Ubuntu.so: undefined symbol: ...
LanangAkira's user avatar
0 votes
2 answers
171 views

What is the use of ''dd'' command

As a beginner I am learning the basics use of command line. While exploring I get to know about "dd" command . I am not sure about the utility of this command as a beginner. Kindly explain ...
Rana Zuhair's user avatar
0 votes
0 answers
73 views

How do I run the Ubuntu startup command with commands to run within Ubuntu on the same line?

I can run ./start-ubuntu.sh in my (Android emulator) terminal and then run my commands cd code-server-4.5.2-linux-arm64 && cd bin && export PASSWORD="pass" && ./code-...
Xan's user avatar
  • 1
0 votes
2 answers
456 views

What is the command or script to add a part of folder name of that folder's filename?

Suppose I have folder structure like below 01. folder1 |- 1. video1 |- 2. video2 |- 3. video3 02. folder2 |- 1. photo1 |- 2. photo2 03. folder3 |- 1. doc1 |- 2. doc2 Now I want to ...
Shezan's user avatar
  • 545
0 votes
0 answers
617 views

Error when using 'make install' command in qbittorrent installation

I am attempting to install qbittorrent software from tar.gz (https://www.qbittorrent.org/download.php) on ubuntu 22.04. I can unpack the zip files, run configure, and make executes just fine, but when ...
deathisinvtbl's user avatar
1 vote
0 answers
685 views

docker-compose entrypoint commands get stuck

I'm trying to add "curl" to a container permanently so it can do health checks like this: healthcheck: test: ["CMD-SHELL", "curl --fail -s -I https://localhost:...
Kenji Bailly's user avatar
3 votes
1 answer
377 views

What is the name of the "run command" program?

What is the name of the program that is invoked when Alt+F2 is pressed, in Gnome? The grey dialog box presented here, where you can type in the command/program you want to run: from this article on ...
Dave's user avatar
  • 392
0 votes
1 answer
315 views

FSL error: fsl_vbm_1 -b problem imglob not found

I am trying to run the command fslvbm_1_bet -b but get the following errors: /usr/local/fsl/bin/fslvbm_1_bet: 1: /usr/local/fsl/bin/imglob: not found /usr/local/fsl/bin/fslvbm_1_bet: 1: /usr/local/fsl/...
Nadine's user avatar
  • 1
0 votes
0 answers
1k views

Script to show free memory (Ram) column on `free` command in linux?

I want to write a script that shows available memory in my system every second with the updated value. I have some clues like I can use the free command with the -m option to show in megabytes. I have ...
mr_aarvee's user avatar
0 votes
1 answer
333 views

sudo command make child process to zombies

I'm trying to make a program that divides into child and parent processes with fork(). Child executes arguments with execv() and parent traces him with ptrace(). I made almost all parts of the program,...
SEONGROK KIM's user avatar
0 votes
1 answer
34 views

give a program owner file access as well as user file access

I have an executable (created from python code) which I need it to access a file created by me as well as a file created by the person who runs the executable. I am not allowed to change the ...
Abdo Saied Anwar's user avatar
0 votes
1 answer
2k views

How to configure .desktop file to run .jar file exactly as if run from terminal

I have a java program that works correctly when I run java -jar "lizzie.jar" from the terminal, but when I double click it in Nautilus it runs (i.e. UI shows) but returns the error "No ...
Christopher.L's user avatar
0 votes
0 answers
156 views

bash: ./prob: cannot execute binary file: Exec format error

I tried to run the binary given below but found the following error. May you kindly shed light on it? ankur@ankur-G3-3500:~/Desktop/JUNO_Analytical_for_CC$ ./prob bash: ./prob: cannot execute binary ...
Ankur Nath's user avatar
1 vote
2 answers
12k views

"Composer update failed: "/usr/local/bin/composer" could not be written." after installing Composer using the terminal

I'm on ubuntu 20.04 LTS and I have installed Composer directly using the terminal, but I'm getting this error: [Composer\Downloader\FilesystemException] ...
SMILEY's user avatar
  • 11
0 votes
0 answers
335 views

How can I execute a command before login?

Ubuntu 20.04 LTS I want to execute the command xdotool mousemove 960 540 to center my mouse pointer before login. I can do it just by adding the command to Startup Applications, but then it only runs ...
pogodemon's user avatar
1 vote
0 answers
497 views

Fail to execute command on startup

I want to run a simple command after my ubuntu starts up and network services are established (it should do so no matter wheater I'm logged in or not) If I run the command manually, it start's up the ...
feder's user avatar
  • 121
1 vote
0 answers
122 views

Keyboard shortcut to convert simplified to traditional Chinese

I am trying to create a keyboard shortcut that runs a python script to convert selected simplified Chinese characters into traditional Chinese in the clipboard. Here are the essential code: s2t.py ...
Sati's user avatar
  • 59
10 votes
3 answers
822 views

Run command inside application

On Ubuntu 16.04, I had a keyboard shortcut (Alt+F1) that would open a menu to run a command of a specific application. For instance, if I were using LibreOffice Calc's, I could do Alt+F1, type "...
Arthur Colombini Gusmão's user avatar
0 votes
1 answer
87 views

Command date execution

I'm trying to execute this command date +'%-4.4h %2.1d %H:%M' however the output is not correct: %-4.4h %2.1d 12:50 I believe that there is something wrong either with my ubuntu terminal or the ...
HANA's user avatar
  • 3
0 votes
0 answers
753 views

Command is not responding

I am trying to add ssh key to Gerrit account. $ssh -p PortNumber [email protected] After hitting enter, it becomes just standstill. Not seeing any progress, and even the command is not coming out after ...
Murugesh's user avatar
1 vote
1 answer
3k views

How to run an executable from any directory in terminal by setting path?

The executable file name is julia. This executable is located at /home/siva/juliapro/julia/bin. I have set the path to this directory, but still, if I enter julia in the terminal, it says command ...
user1319128's user avatar
1 vote
1 answer
2k views

Execution gets stopped in ssh remote server

I am trying to run Quantum ESPRESSO on a remote server through SSH in the Linux terminal from my machine. For this, I am running a binary executable program with a text input file as: $ mpirun -np 20 ...
UJM's user avatar
  • 224
0 votes
1 answer
127 views

How do I find the location of a file?

I’m new to Ubuntu, and I don’t know how to find the location of a file to follow a tutorial for creating a luncher for Windows programs run through Wine. This is the example I’m trying to follow
Iron Fist351's user avatar
-1 votes
1 answer
966 views

can't find executable file WSL2

i'm using WSL2 with Ubuntu 20.04. I installed a program libFM and followed the installation process (which is fairly simple). When I try to reach executable using ./libFM it fails, returning the ...
Kozolovska's user avatar
0 votes
0 answers
400 views

no execution (rights) at home / can not make /home executable (exec) when using encrypted (LUKS) / mounted home

The issue: I do not have / lost executable rights in my /home. Which is quite devastating for TOR onion use. This pops up on increasing number of machines with Ubuntu 20.xxSome new set up and some ...
opinion_no9's user avatar
  • 1,052
0 votes
1 answer
2k views

How to correctly install LibreOffice using FlatPak to have libreoffice command in $PATH environment variable?

I have just removed deb-packages of LibreOffice from my Ubuntu 16.04 LTS system with sudo apt purge --auto-remove $(dpkg -l | grep "^ii libreoffice" | awk '{print $2}') To replace it with ...
N0rbert's user avatar
  • 102k
0 votes
0 answers
157 views

Bash script launching bash script with ends in exec

In one script (A) I set some env variables, check for presence of other required binaries and at that end exec <mybinary>. Now, new script appeared (B) which in similar way starts other binary. ...
T4ng10r's user avatar
  • 101
0 votes
1 answer
100 views

How can I run an executable file named "c2p.i696"

I am trying to run a file name c2p.i686. This is an executable file, but I don't know how to execute this file.
Ali Lee's user avatar
0 votes
0 answers
4k views

Using exec bash in bash script

I am trying to set up my environment using a bash script. One of the things that I need to do in the bash script is to restart bash, which I use exec bash for. Is there a way to have the script ...
Ben Rei's user avatar
  • 73
0 votes
1 answer
356 views

Execute command in directories that DON'T contain a certain file extension

I'm looking for a way, to find all (sub-)folders that DO NOT contain a certain file type (*.log) and then execute a command within that folder. All my simulation folders contain three different files: ...
user13949555's user avatar
1 vote
1 answer
6k views

Error when using 'make install' command

I am attempting to install the WRF weather software (http://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php#STEP7) that requires the installation of certain libraries. I can unpack the ...
jmaloney1985's user avatar
0 votes
0 answers
1k views

How do I execute a file as root using admin://

I have this executable: /opt/lampp/manager-linux-x64.run which needs to run as root. If I execute this with sudo /opt/lampp/manager-linux-x64.run then it works fine. I would like to add an entry to ...
Aaron Franke's user avatar
  • 1,136
0 votes
1 answer
834 views

Command output is not redirected to file

I want to execute the following command, which is related to Rational ClearCase. The output of this command should be redirected to the file testout. Command rgy_check -vobs > testout Output ...
andy meissner's user avatar

1
2 3 4 5 6