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
-2 votes
0 answers
29 views

"import" command not found Linux on Mac [closed]

On Linux on the Mac, I do not have access to the "import" command. I think I have to change the $PATH variable but I don't know how to find the path of the folder.
user avatar
0 votes
0 answers
18 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 ...
user avatar
0 votes
0 answers
27 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:...
user avatar
-2 votes
0 answers
28 views

How to execute a script after switching user with sshpass

I know how to execute a command. sshpass -p<password> ssh <command> I am wondering if a path to script can be placed instead of a command.
user avatar
  • 1,502
2 votes
1 answer
122 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 ...
user avatar
  • 312
0 votes
1 answer
36 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/...
user avatar
  • 1
0 votes
0 answers
109 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 ...
user avatar
0 votes
1 answer
52 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,...
user avatar
0 votes
1 answer
25 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 ...
user avatar
0 votes
1 answer
384 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 ...
user avatar
0 votes
0 answers
88 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 ...
user avatar
0 votes
1 answer
870 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] ...
user avatar
  • 1
0 votes
0 answers
68 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 ...
user avatar
0 votes
0 answers
10 views

What does the command `~man cd` mean? [duplicate]

I accidentally ran the command ~man cd in the terminal and it returned bash: /var/cache/man: Is a directory leaving me scratching my head. What is the meaning of the output here? cd is a shell-builtin ...
user avatar
  • 143
1 vote
0 answers
144 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 ...
user avatar
  • 121
0 votes
0 answers
7 views

prevent closing terminal window from stopping task started with "&" [duplicate]

I can start a command in the CLI interface and have it run in the background using the "&" symbol. Here, I start a command and hide all stderr and stdout and also send it to the ...
user avatar
0 votes
0 answers
25 views

Tell a rookie how to execute a program

I've downloaded Miniconda3. I've located it in downloads. How do i execute it and run the program to get a shortcut on the desktop. Please advise. Thx
user avatar
1 vote
0 answers
35 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 ...
user avatar
  • 109
10 votes
3 answers
670 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 "...
user avatar
0 votes
1 answer
53 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 ...
user avatar
  • 3
0 votes
0 answers
75 views

Command is not responding

I am trying to add ssh key to Gerrit account. $ssh -p PortNumber username@xyz.com After hitting enter, it becomes just standstill. Not seeing any progress, and even the command is not coming out after ...
user avatar
1 vote
1 answer
790 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 ...
user avatar
1 vote
1 answer
475 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 ...
user avatar
  • 224
0 votes
1 answer
80 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
user avatar
0 votes
1 answer
283 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 ...
user avatar
0 votes
0 answers
142 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 ...
user avatar
0 votes
1 answer
521 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 ...
user avatar
  • 89.7k
0 votes
0 answers
86 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. ...
user avatar
  • 101
0 votes
1 answer
64 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.
user avatar
0 votes
0 answers
2k 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 ...
user avatar
  • 73
0 votes
1 answer
92 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: ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
0 answers
332 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 ...
user avatar
  • 1,054
0 votes
1 answer
187 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 ...
user avatar
-1 votes
1 answer
404 views

Disable root to execute normal user's file

vim mycheck.py print('writing in normal user') chmod 000 mycheck.py ls -al mycheck.py ---------- 1 normal normal 27 Aug 23 11:01 mycheck.py The file belong to the user normal and set mode as 000,...
user avatar
  • 222
0 votes
1 answer
495 views

Cannot execute screenfetch

I have downloaded screenfetch in one directory I make. mkdir ~/screenfetch wget -O screenfetch 'https://raw.github.com/KittyKatt/screenFetch/master/screenfetch-dev' chmod +x screenfetch ./screenfetch ...
user avatar
2 votes
3 answers
667 views

Why does ./a.out work, but a.out doesn't? [duplicate]

In my opinion, even a simple a.out on the terminal holds complete information about the file being in the current directory. Reiterating it with ./a.out seems superfluous. Why do we need to specify ...
user avatar
1 vote
1 answer
124 views

Is it possible to attach commands to a programme I want to run?

UBUNTU 20.04 I have PCSX2 but in order for it to run correctly I need to open the terminal and run: vblank_mode=0 /usr/games/PCSX2-linux.sh having to do this every time is a bit of an annoyance so is ...
user avatar
0 votes
1 answer
95 views

How to create an auto executeable file of some terminal commands used for running any specific application

I have a .sh file of XP Pentablet driver Every time I need to run these commands to run in order to run the program $ cd /home/path/ $ chmod +x Pentablet_Driver.sh $ sudo ./Pentablet_Driver I wanna ...
user avatar
2 votes
2 answers
2k views

Every time I open the terminal, several commands are already executed

I am a beginner and have not used Linux for a long time. Now I no longer know what I did then that every time I open the terminal 3 commands are executed, which I no longer need and which no longer ...
user avatar
-1 votes
1 answer
260 views

I want to uninstall notepad++ but in the terminal I get the message notepad-plus plus not installed. What can I do? [duplicate]

The app is installed and functional but I wanna uninstall it. I've tried through the command line but I get the error message saying "notepad-plus plus" not installed.
user avatar
0 votes
1 answer
73 views

How to resolve error while running an executable .bin file? [closed]

I am trying to run an executable '.bin' file. Under ubuntu-server 18.04, I run this command: ./pentaho-business-analytics-9.0.0.0-423-x64.bin also tried ./pentaho-business-analytics-9.0.0.0-423-...
user avatar
  • 101
0 votes
1 answer
97 views

How to write repeat command in Terminal

In my path, I have totally 120 cases, each case has two files, the path looks like this: 00001_FA.nii.gz 00001_FA_grot.nii.gz 00002_FA.nii.gz 00002_FA_grot.nii.gz .. .. 00120_FA.nii.gz ...
user avatar
  • 1
2 votes
1 answer
223 views

How does one get a command to execute on startup on Ubuntu 18.04? [duplicate]

I would like a command to execute when my PC starts up. My OS is Ubuntu 18.04 LTS. The command is: xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync &...
user avatar
  • 941
2 votes
1 answer
1k views

20.04: Command / Shortcut to toggle on-screen keyboard?

Currently I'm using Ubuntu 20.04 on my Microsoft Surface. I want to have it so I can toggle the On-Screen keyboard via a command. I specifically mean this keyboard: Currently the only way to do it is ...
user avatar
0 votes
0 answers
9k views

Loaded: Bad-setting ( Reason unit tomcat.service has bad unit file setting.) am using ubuntu20.04

[that is the error coming out after trying to run tomcat with sudo systemctl status tomcat] [output] tunji@tunji-HP-EliteBook-840-G4:~$ sudo nano /etc/systemd/system/tomcat.service tunji@tunji-HP-...
user avatar
0 votes
1 answer
793 views

Why can't I run this executable file (.exe) in Octave?

I have a source code written in Fortran 90: sourcecode.f90 It needs Lapack libraries for compilation so, I compile the source code with this command: gfortran -o executable.exe sourcecode.f90 -...
user avatar
  • 11
0 votes
1 answer
102 views

How can I run (execute) many files with the same filename wild card using one command?

I am using a desktop Windows program that copies multiple Linux ASCII text job files to an AWS CloudFormation (EC2, Linux), as well as copies data to sub-folders. All of the ASCII text "job files" ...
user avatar
0 votes
1 answer
325 views

how to run an appimage app stored at a fat32 storage

As appimage aims to allow portability I was expecting something very similar to the apple .app format (apple.application-bundle) . I don't know how to launch an app from an appimage file stored in a ...
user avatar
0 votes
1 answer
783 views

How to give a user with a limited shell, regular shell access?

I have a user lets say user1, this user has a limited shell and can only run very few & specific commands if they log into ssh, how do I switch the user to regular access if I'm root.
user avatar
  • 37

1
2 3 4 5 6