Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [execute-command]

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

0
votes
0answers
9 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 ...
1
vote
1answer
35 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 ...
1
vote
1answer
48 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 ...
0
votes
0answers
21 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 ...
1
vote
1answer
32 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.
0
votes
1answer
55 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 ...
4
votes
1answer
89 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 ...
0
votes
1answer
57 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 ...
1
vote
1answer
847 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 ...
-2
votes
1answer
176 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 "...
1
vote
0answers
26 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 ...
2
votes
1answer
286 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 ...
1
vote
0answers
171 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, ...
0
votes
0answers
210 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 ...
0
votes
1answer
66 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 ...
0
votes
1answer
63 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 ...
0
votes
0answers
54 views

How can I run an extracted binary executable from anywhere like those in /usr/bin? [duplicate]

I have a .tar.gz file and after extracting files the result container has the executable app (no install or configure files). How to make this app run anywhere on shell like other /usr/bin apps.
2
votes
1answer
610 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 ...
0
votes
0answers
32 views

How to Install Ubuntu system from kali

I have kali on a Lenovo with amd64 I need to install Ubuntu instead of kali, I have thumb drives no cds or other computer and not to good with kali yet
1
vote
4answers
693 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 ...
0
votes
0answers
22 views

How to use a script to gtk-window display the output of a simple download speed checking command 16.04 [duplicate]

I use speedtest-cli on my Ubuntu 16.04 install on my Yoga 2 11, to check my download speed. I was going to write a simple script file to run, probably on login, to show me the output of speedtest-cli, ...
2
votes
1answer
71 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, ...
0
votes
0answers
69 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 ...
1
vote
1answer
380 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 ...
0
votes
2answers
2k views

Unable to locate package vsftpd Ubuntu 17.10

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 ...
0
votes
1answer
277 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 ...
1
vote
1answer
1k 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 ...
14
votes
1answer
2k 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 ...
4
votes
3answers
117 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 ...
1
vote
0answers
301 views

How can I start using Snappy compression in Ubuntu after installation?

I have recently installed google's snappy compression library (link) in my Ubuntu (16.04 LTS) machine. As I want to use the library to compress and decompress the files of my interest, what are the ...
2
votes
0answers
743 views

“cannot execute binary file: Exec format error” 32-bit .run file on 64-bit system [duplicate]

I'm trying to install this (32-bit) on a 64-bit machine (using Ubuntu 16.04 both as a standalone OS and through WSL) and I keep getting this error, no matter what I do. I solved it a while ago on an ...
0
votes
0answers
110 views

How do I install and run TnT (Trigrams 'n' Tags) in Ubuntu?

I downloaded the TnT Part-of-Speech Tagger and want to use it on Ubuntu. I have been following the instructions in the manual (setting the path, environment variables) however when I finally type a ...
4
votes
2answers
257 views

Running a program that is installed via aptitude

After a installation via aptitude, how does one actually run the program? (via nautilus or even terminal) for example, i'm now trying to use a program called pulseview. for this i installed a ...
0
votes
1answer
84 views

How do I remove the Ubuntu customization kit from my install? [closed]

How do I remove the Ubuntu customization kit from my install? I no longer need it and have tried several ways get rid of it and don't know the command line command to get rid of it.
1
vote
1answer
79 views

How to automate commands I use very often on VPS?

I have some projects on DigitalOcean VPSs. I deploy parts of code very often. Almost after every upload I have to do multiple commands. For example if I change Django models and add some static files:...
0
votes
1answer
87 views

What is the meaning of “-y” in this command [duplicate]

I don't understand the meaning of -y. command: apt-get install -y clickhouse-client & sudo apt-get install -y passenger There are many commands have -y.
-1
votes
1answer
163 views

How to use pv command for executable file?

I know that I can use pv command for showing progress of the command. for example: for i in {1..200}; do sleep 0.1; echo "$i"; done | pv -ls 200 > output.txt But when I have a file main.c which ...
0
votes
2answers
187 views

How to make some commands executable?

I have some python commands that I want to run at startup, what I need to do everytime I boot my machine is manually start them by changing directories and executing them. Is it possible to make an ...
0
votes
0answers
2k views

project not configured (run 'waf configure' first)

make install command i am getting WAF_MAKE=1 python ./buildtools/bin/waf install project not configured (run 'waf configure' first) Makefile:11: recipe for target 'install' failed make: *** [install]...
2
votes
1answer
362 views

How do I change the disk size with mkdosfs [closed]

So I recently have received a 256GB SD Card on eBay for pretty cheap, but turns out that the factory part number printed on the back plastic was listed as an 8GB card. It was modified from the ...
0
votes
0answers
47 views

I want to run BST.linux (Brads spin tool) on Ubuntu 16.04 LTS If I cklick on it nothing happens

I'm a TOTALLY newbee to linux. I want to emphasize that. TOTALLY. If something to do requires opening a window that is not directly visible on a freshly installed UBUNTU 16.04 LTS you have to describe ...
3
votes
1answer
692 views

Execute binary from shell script, and see output in terminal

I have a binary that outputs to a terminal window when running. I wish to start this binary from a shell script, because I need to set a environment variable first. But, when it's executed from: #!/...
1
vote
1answer
58 views

Easy access to selfmade program [duplicate]

I have a program named Log. I want to run log, but normally I have to go to ~ directory and use the command ./Log . How would I make it so that I can use the command Log to do the same thing, from any ...
3
votes
1answer
791 views

Which LINUX command to be used for 'cut and replace a column' task?

http://paste.ubuntu.com/24184546/ This is the file. Here, I need to replace the 6th column with numbers from 1 to 158 respectively. The output should be like, http://paste.ubuntu.com/24184581/ How ...
9
votes
2answers
2k views

How do I start Telegram from the command line?

How do I start Telegram messenger from the command line? I have tried "telegram", but it's not that. I have installed Telegram via ppa: ppa:atareao/telegram.
0
votes
1answer
586 views

ldd 32-bit exe / 64-bit OS

I need explanation about this on my 64-bit Xubuntu : ldd /home/isa/Downloads/Fusion/Fusion not a dynamic executable But strace it : [...]libgtk-x11-2.0.so.0: cannot open shared object file: No such ...
0
votes
0answers
371 views

busybox shows for `type -a ls` command links to /bin/ls instead of ls

I did some modifications in busybox source. Then I executed some commands as below with output: root@sai ~$ ls 1D_bar barcode_serial insmod pam_aut root@sai ~$ /bin/busybox ...
-1
votes
1answer
644 views

-f command not found

echo"enter first file" read file echo"enter second file" read file1 if [-f $ file] then if[-f $file1] then cmp $file $file1 if [$? -eq u] then rm $file1 ...
1
vote
1answer
2k views

Whitespace in command alias

For example, I want to make a command good night and this would look something like alias good night="many many many commands here". I tried this but, whitespace is not allowed. Is there any way I ...
3
votes
4answers
4k views

How do i make my jar file execute like a regular application from Terminal

We all know that there are some commands i.e. executables we can run directly from terminal without having to set the full path for them. For e.g. all the executables in the /usr/bin I have a jar ...