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
3 answers
1k 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 ...
Ritesh Singh's user avatar
1 vote
1 answer
161 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
2k 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 ...
SPARK Prince's user avatar
2 votes
2 answers
3k 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 ...
programmerNoob1234's user avatar
-1 votes
1 answer
464 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.
Otieno Samson Daniel's user avatar
0 votes
1 answer
114 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-...
mtleis's user avatar
  • 101
0 votes
1 answer
225 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 ...
Yw Liu's user avatar
  • 1
2 votes
1 answer
334 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 &...
Duncan's user avatar
  • 1,053
4 votes
1 answer
3k 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 ...
Ran Shorowitz's user avatar
0 votes
0 answers
12k 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-...
shola Jolaosho's user avatar
0 votes
1 answer
1k 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 -...
skirthy's user avatar
  • 11
0 votes
1 answer
206 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
667 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 ...
Daniel Perez's user avatar
0 votes
1 answer
2k 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.
basod3's user avatar
  • 37
0 votes
0 answers
116 views

Ubuntu 18.04 login loop & commands could not be located

after I powered my system on I was stuck on a login loop. After I logged in by terminal many of the commands like 'ls, sudo, ...' didn't work and said: the command could not be located because '<...
ds1371dani's user avatar
-3 votes
1 answer
455 views

I cant run sudo [duplicate]

On all distributions of ubuntu and linux that I use don't let me type in the password to use sudo what do I do what happens is that when I try to use the sudo command I cant type the password.
Hedwig7s's user avatar
0 votes
1 answer
100 views

Unable to install GATE software using "make install" command - "-- Up-to-date:" related error

I am installing GATE 8.2 (a Geant4 based software) on my Ubuntu 18.04.3 system, following instructions given in GATE website. Everything works fine but in last stage of the GATE software can't be ...
Aranyak Ghosh's user avatar
1 vote
0 answers
36 views

Can't run C on Geany [duplicate]

I'm having trouble in running C code from Geany. The code compiles successfully, but when I try to execute it, it shows on Terminal: /tmp/geany_run_script_I007A0.sh: 7: /tmp/geany_run_script_I007A0....
bakun's user avatar
  • 111
1 vote
1 answer
3k views

How Can I Make A .desktop Launcher For A Sudo command To Execute GfxTablet Program?

I am new here been trying to find a way to make a .desktop icon for the sudo command to open the program called GfxTablet but cannot get any info that actually works. All the plethera of commands I ...
redyness's user avatar
0 votes
0 answers
2k views

How to "run" Blender 2.8 in 18.04 [duplicate]

In the install instructions, they say "run" the Blender executable for v 2.8. While I have the executable in the extracted folder, I don't know which command will "run" it. I tried run blender within ...
user227495's user avatar
  • 4,089
1 vote
1 answer
346 views

How to combine JPG-file and MP3-file to MP4-file using FileManager-Actions?

I just installed »FileManager-Actions« Now i try to get a command working for combining a JPG-file (its always 1920x1080px) with a MP3-file into a MP4-file. Normally is used this command in terminal ...
RE666's user avatar
  • 21
1 vote
1 answer
290 views

What does this command mean?

While searching installation of lxqt I found apt install command for lxqt-sudo | gksu, xfwm4 | x-window-manager, firefox | www-browser. What does this commands mean? What is the difference with ...
Dr.PB's user avatar
  • 178
1 vote
1 answer
592 views

How to auto answer to a multi-stage command?

I'm new in Ubuntu terminal. I have a command to connect to a VPN server. in first step I must type sudo vpn_command and so I must type root password, then in next step I must Enter "yes" and vpn ...
Ehsan's user avatar
  • 115
0 votes
1 answer
3k views

Certain commands not working : make, wget - error message command not found

My system recently developed this error, certain commands are no longer working for example make -s ,wget, tar A brief description of the system I'm on uname -a `Linux areahints-HP-15-Notebook-PC ...
Kenechukwu's user avatar
0 votes
1 answer
820 views

I simply start video on my local computer, remotely

I simply want to start and play a video on my local computer screen from a remote device. is its possible? im using vlc and u have created a playlist. i want to execute or send command remotely to ...
Lewis M.'s user avatar
2 votes
1 answer
932 views

Shebang line for Node does not work in Ubuntu 18

I have just created an Ubuntu 18.04 instance on AWS and copied an existing project over. The usual shebang line for Node #!/usr/bin/env node now doesn't work. It gave: #!/usr/bin/env: No such file ...
Old Geezer's user avatar
1 vote
1 answer
429 views

How can I use terminal commands to access Ubuntu menu items?

I need to run a bash script that will retrieve all of the desktop files located in a specific menu item (like accessories/utilities or education, etc) and then run a specific one of them. What ...
tristo's user avatar
  • 113
0 votes
0 answers
33 views

Command needed by dialogue box generated after clicking on “Ubuntu” Tile on Windows 10 Startup Menu

I desperately need to know what response is being sought by a DOS-type dialogue box that appears every time I click on the “Ubuntu” tile on my “Windows 10 Startup Menu”. I had previously asked if ...
Brian Darke's user avatar
1 vote
1 answer
146 views

KDE5 -- bring up the "command prompt" like bar at the top of the screen

I don't remember what it's called, but I just found myself in a situation where I could use it.
Steve Wright's user avatar
0 votes
1 answer
251 views

Terminal shows malformed entry 48 in list file [duplicate]

When i try to update or install any software using the terminal for Ubuntu 18.4 it shows the following: jean@jean-Latitude-E5550:~$ sudo apt install update [sudo] password for jean: E: Malformed ...
Jean Dedieu Rwasa's user avatar
4 votes
1 answer
292 views

How to send e-mails from the terminal?

I have a Server where Calculations are being executed, they take sometimes days to finish. I would like to send an e-mail when the job is finished, maybe through a script or even with the |. Before ...
Mc Jorch's user avatar
  • 137
0 votes
1 answer
196 views

Differences using the slash in the server terminal or server terminal with GUI

I have installed the 18.04 LTS server version. I did different commands like: tar -xzf xxxx.tar.gz xxxx/ (without GUI) hadfs dfs -put input /input (with GUI) I did other commands which work with ...
CGG's user avatar
  • 111
1 vote
1 answer
7k views

"No such file or directory" error message when running program

I can navigate to the directory where the program resides, see it when I list the directory contents, and run it by using the tab auto-complete feature so I have not mis-spelled the name. There are no ...
Paul Hazelden's user avatar
-2 votes
1 answer
3k views

PROBLEM WITH COMPILER C/ PLEASE HELP ME [closed]

My first language is Spanish, and my use of English is not the best, but I need some assistance in debugging the following program code since it produces an error when compiled. CODE: #include "...
NINJA's user avatar
  • 1
1 vote
0 answers
33 views

Get command from keyboard shortcut [duplicate]

Is there a way to get the command that is executed when a keyboard shortcut is pressed? E.g., when I press Ctrl+Alt+T, the terminal is ran. Is there a terminal command or an application that would ...
Nick Bull's user avatar
  • 182
2 votes
1 answer
1k views

automatically answer input in command line

Refering to this question, I want something a little bit similar. The idea is that I execute a command, then it asks for a file name to process, and after it is done with processing, it asks for the ...
Mostafa Hussein's user avatar
1 vote
0 answers
202 views

Run command on upgrade of certain package

I am trying to automate an action so that it runs after a file in a certain package is upgraded. On Arch I can put a file in /usr/share/libalpm/hooks that specifies the package, file that is updated, ...
anna328p's user avatar
  • 113
0 votes
0 answers
1k views

idevicerestore: command not found

I'm having trouble running idevicerestore on my Ubuntu 16.4 , other commands run just fine, like ideviceinfo but when i try restoring my device through idevicerestore -e <file name.ipsw that's when ...
ice rhymes raven's user avatar
0 votes
1 answer
113 views

Python 2.7 script using curses being automatically backgrounded when halfdelay or cbreak is called

I am currently working on modernizing (was made on Trusty 14.04, modernizing for Bionic 18.04) a python script that uses curses to create a menu for a user. During the initial launch of the script ...
user1487162's user avatar
0 votes
1 answer
141 views

Bash like installation suggestion in tcsh

In a bash shell, if you put some command that is not installed on your system, it throws an error and also gives you a package installation suggestion. For example- $ iostat Command 'iostat' not ...
user3862410's user avatar
3 votes
1 answer
6k views

What does "exec 1>/var/opt/log/my_logs/MYPROG_`date '+%Y%m%d_%H%M%S'`.log 2>&1" do?

I'm trying to understand what the below piece of shell script is doing. I know that exec without any arguments redirect the output of the current shell but am not able to understand what the below ...
IA39's user avatar
  • 39
2 votes
4 answers
9k views

How do I execute a .deb file [duplicate]

I downloaded deb-creator-i386 and it seemed to install. It is supposed to be a GUI for compiling and packaging. After install it says in order to run or execute the program or app, I have to do that ...
Dani's user avatar
  • 21
2 votes
1 answer
193 views

Trying to find certain files recursively and change the filename

I'm trying to search recursively in all subfolders for files with have dots inside their filename and remove the dots (except the last one) The rename command works on its own, the find command too, ...
Henry's user avatar
  • 123
0 votes
0 answers
272 views

Install my self-made scripts to run them from the command-line [duplicate]

I have a number of self-made (bash) scripts that I often use. Here are some examples of these scripts: A script backup-system.sh that backs up my system to an external hard drive. A script repeat.sh ...
Peter's user avatar
  • 243
1 vote
1 answer
762 views

Making an executable program with a shell script..?

I made two shell (.sh) script files, audio.sh and video.sh for my Pi CCTV project. And I combined those two scripts: sh -x video.sh & sh -x audio.sh & I put the command above into a shell ...
Felix Lee's user avatar
  • 143
1 vote
3 answers
9k views

Unable to locate package vsftpd Ubuntu 17.10 [duplicate]

I am using below command to install ftp but its showing error message: sudo apt-get install vsftpd Error Building dependency tree Reading state information... Done E: Unable to locate package vsftpd
UMAIR ALI's user avatar
  • 111
0 votes
1 answer
934 views

Unable to execute .jar file from terminal despite having Java installed [duplicate]

I've installed the latest release of JDK with NetBeans on Ubuntu. When I attempt to execute a .jar file from the terminal with java -jar Minecraft.jar, this is outputted: The program 'java' cannot be ...
McGrizz's user avatar
6 votes
3 answers
5k views

"jsonlint: command not found", although jsonlint IS installed

I am interested in using jsonlint on commandline in my Ubuntu 16.04 OS. So I executed sudo apt-get install jsonlint and I got Reading package lists... Done Building dependency tree Reading ...
Shy's user avatar
  • 235
21 votes
1 answer
10k views

When will Wayland support restarting the shell by command?

On Xorg I found that doing ALT + F2 and then doing r would work in order to restart gnome-shell after an update, however with Wayland on Ubuntu GNOME 17.04 and GNOME 3.24 I have found that I get a ...
user avatar
5 votes
3 answers
3k views

Is executable permission mode S used for anything?

If you add the setuid bit for a file's permission where you have execute permission, it changes the x to an s to mean that if you execute that file, it will execute as the owner of the file rather ...
AJJ's user avatar
  • 862