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

learn more… | top users | synonyms

0
votes
1answer
22 views

How can I accept virtual box license agreement in Ubuntu(16.04) terminal?

I am new to Ubuntu. I have just installed Ubuntu-16.04 in virtual-box and my host-OS in windows-8.1. I have run this command: sudo apt-get install virtualbox
0
votes
2answers
44 views

How can I execute a command from the text editor?

I am using Ubuntu 16.0.4 and Steam need a workaround: LD_PRELOAD='/usr/$LIB/libstdc++.so.6' steam It gets annoying to put it in the terminal every time I play. Is there a way to put the command ...
0
votes
1answer
47 views

command line calendar (cal) on M10 tablet not working

The command cal does not work on my M10 tablet, both in tablet and in desktop modes; it is the only failure I have found so far. Has anyone any ideas as to why it fails? Are there any other ...
-1
votes
1answer
32 views

Need help using a terminal command [duplicate]

http://forum.corsair.com/v3/showthread.php?t=149621 I don't understand how to use make && sudo make install
0
votes
0answers
13 views

code command for visual studio code doesn't work [duplicate]

hello guys I have installed VSCode for ubunto by downloading it from its site,extracting it to an arbitrary path (in my case /home/MASOUD/Programs )then clicking on Code binary file. however I should ...
3
votes
1answer
30 views

how to set some application to run only as root

I'm running Ubuntu 14.04 and I was wondering is there a way to set some applications to run only as root? for example the application X can normally executed by any user, and I want to set it to be ...
24
votes
3answers
1k views

How do I run a sudo command needing password input in the background?

I have recently disabled sudo's authentication caching ability so that it now prompts me for a password every time. And though this is good for security, it has caused one slight problem which I ...
0
votes
2answers
39 views

$ apt-get install git , this command is not running [duplicate]

It gives me this error E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? Please help me ...
1
vote
1answer
21 views

MMV doesn't execute in bash script (only if run by CRON)

this is my script "backup.sh": #!/bin/bash date=$(date +"%m-%d-%Y_%r") mmv -r "uploads/temp/*" "#1\ '$date'" mv /ftphome/uploads/temp/* /ftphome/uploads/arch/ My dir structure is like that: ...
18
votes
3answers
2k views

How do I run a command?

I am a new user, who has just been told to run / execute a command. The answer has some text with a grey background like this text here or sometimes this text here. However, I don't know what "run" ...
0
votes
1answer
91 views

LPCXpresso 8 on Ubuntu 14.04 64 bit

I'm trying to install LPCXpresso IDE 8 on ubuntu 14.04 64 bit but I receive an error: No protocol specified invalid command name "bind" while executing "::unknown bind Text <Tab>" ...
0
votes
0answers
20 views

How do I make Ktimer play an audio loop after countdown?

I want Ktimer to function as an alarm. It executes a command when it's done its countdown. How do I make it play an audio loop?
0
votes
1answer
41 views

Can't execute this file [closed]

I can't execute the skype file. I have the permissions I need. What's the meaning of filename* in the ll output?
3
votes
0answers
21 views

How to only allow a file to be opened or executed by certain application(s)?

Let's say that I've got a security application (or something which I just don't want any old application or user to have access to because it is very important and if the wrong guys had access to it ...
3
votes
0answers
11 views

How to run a command at startup with systemd? [duplicate]

I've got a specific command which I want to run at startup, I am running Ubuntu GNOME 15.10 with GNOME 3.18 with systemd. But after searching I can only seem to find ways of doing it through upstart. ...
0
votes
2answers
227 views

How can I find the source code for linux commands? [duplicate]

I often come across interesting Linux commands that make me wonder; what are these commands actually doing? Yes, they might be 'force-removing dependencies', 'installing programs' and doing lots of ...
0
votes
0answers
21 views

ubuntu 14.04 getting error permission denied on STABILIZE command

I read this link and implemented sumlator via virtual box(this was my first question) and yes, sumlator is working fine. Now I have to run this command : STABILIZE>param load ...
0
votes
1answer
165 views

Why do I get a “Permission denied” error every time I try to execute a C++ program?

Every time I try to execute a program, no matter what program, I get this message: bash: ./filename.cpp: Permission denied When I compile I have no problems, it works fine. But when I want to ...
0
votes
1answer
42 views

creating an executable file [duplicate]

I want to create a file which will execute a code, for example: sleep 60s; dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend ...
4
votes
1answer
82 views

How to execute a command after a certain period of inactivity, triggered by keyboard & mouse activity and full screen window?

My machine suspends after 5 minutes of inactivity, however I want to execute a command as well after 4 minutes and 30 seconds of inactivity. Is there a way to run a command after 4 minutes and 30 ...
2
votes
2answers
148 views

Command to exit and then relaunch gnome-terminal that can be executed from gnome-terminal?

I was wondering if it is possible to sort of restart gnome-terminal from itself? What I mean by that is, is there a command which I can use to tell gnome-terminal to close and then immediately ...
1
vote
1answer
110 views

How do I get Ubuntu 15.10 to show the desktop version

I downloaded and installed Ubuntu 15.10 alongside Windows 8.1. Everything was fine and working. Then I booted my computer and it goes to terminal, asks for login and then password, and then something ...
35
votes
1answer
2k views

Why do some programs running from Terminal using '&' close when Terminal does and others do not?

I was just wondering, for instance when I launch qtox with: qtox & And then close Terminal, qtox closes with it. However when running etherape using: sudo etherape & Closing Terminal ...
0
votes
2answers
73 views

How to make a command execute once a certain command terminates?

What I want to do: Whenever the apt-get install command is run and terminates, run another command immediately without any involvement on the user's part. In my case I want to run a script, but since ...
-5
votes
4answers
215 views

How to automatically execute a command every time a certain command terminates?

Example: Once the add-apt-repository process has terminated, immediately run apt-get update - without having to enter the command manually. Is there a way to do this? Is it possible to set such a ...
1
vote
1answer
138 views

How to add a python script as a terminal command? [duplicate]

Lets say I have a script which creates a file and writes something into it (but could be anything). It could be a script that runs a set of xrandr commands to set a resolution, for example. Is there ...
1
vote
1answer
74 views

How to allow scrolling to view complete command output in the command-line?

An example: When I enter compgen -c to view all possible terminal commands I get something like this: ll ls which if then else elif fi case esac for select while until do done and quite a bit ...
0
votes
1answer
38 views

How to execute something that is not in the directory you are in nor a sub-directory of that?

I want to execute a program by running ./path/to/program, however I want to be able to run this command to execute it no matter where I am. And the problem is that with this command it will only run ...
1
vote
1answer
223 views

View audio files by length - command line?

Is there a command(s) to view audio files sorted by length in the command-line? For example the shortest to longest?
0
votes
0answers
19 views

Command to view open ports as a server [duplicate]

first of all, I am not sure of what is "port as a server". that is a question of the school. someone can help me! I want to know how i can see open ports as a server by PROCESS. . thanks in ...
0
votes
1answer
129 views

Which numbers; 0 or 1 disable/enable gconftool?

Will this command enable or disable unredirection? gconftool-2 --set /apps/compizconfig-1/profiles/Default/plugins/composite/screen0/options/unredirect_fullscreen_windows --type bool 0 I think 0 is ...
1
vote
1answer
93 views

Mathematica & Ubuntu 14.04. Installation complete but command not found!

I just uploaded to Ubuntu 14.04, but Mathematica 10.1 is not working any more. I un-installed it and re-installed again. $ sudo bash Mathematica_10.1.0_LINUX.sh Mathematica 10.1.0 for LINUX ...
9
votes
1answer
352 views

How to check what command is taken?

I have a shell script called foo.sh in /usr/local/sbin. Besides I use another script with the same name. It is stored in /home/user/scripts. Both paths belong to PATH. How can I find out, which one ...
1
vote
1answer
202 views

How to run bin file on 14.04?

I have a .bin file I want to install. I have 14.04 64bit. I think the bin file is 32 bit. I already installed all the 386 libs as below: sudo apt-get install libc6:i386 libx11-6:i386 libasound2:i386 ...
0
votes
3answers
807 views

What does 'exec' do?

I recently meant to run the command pkexec, but accidentally managed to run the command exec by itself with no options or arguments. I looked in the man pages for the description of exec, but I still ...
0
votes
1answer
132 views

how to run a compiled CPP file with geany [duplicate]

I have recently compiled a .CPP file with Geany. The result file is a .o file. How can I run this .o program?
0
votes
1answer
123 views

What is help command in grub rescue mode

I tried ?, man and help but these commands did not give me any help. I am looking for a command to show help in grub rescue mode
11
votes
2answers
407 views

How to make it so that a file can only be executed by root, but not as root?

There are certain applications that I don't want people to be able to open unless they have root privileges, however I do not want to give the programs root privileges. So how can I make it so that ...
0
votes
1answer
91 views

Can not run a command at startup in ubuntu14.04 LTS

I am trying to run command with start up of computer, for that I add the command in cd /etc && sudo gedit rc.local But still when I restart the computer it's not running automatically. I have ...
0
votes
0answers
49 views

ERROR with gem for a ruby tool?

I am trying to install a tool script called bio-polyploid-tools and I am getting this error after command sudo gem install bio-polyploid-tools sammanmahmoud@samman[bioruby-polyploid-tools-master] ...
-4
votes
4answers
376 views

copying a file from documents folder to home folder using cp command [closed]

I am trying to learn how to copy a from one folder to other using command prompt using 'cp' command,file is getting copied from "home" folder to "documents" folder but i am unable to copy from ...
0
votes
2answers
74 views

how do I send control characters to serial device

I have a serial device, which needs to receive the commands ctrl+W and ctrl+V before I can begin programming it. I was trying to use cutecom, but I don't see an option to send control characters. ...
0
votes
1answer
83 views

Issues Executing a Shell Script

I'm new to Linux. Recently I bought a VPS to host a teamspeak server on. I am running Ubuntu 14.04. All is well but I need to run a script called ts3recover.sh: #! /usr/bin/env bash # init function ...
1
vote
3answers
73 views

History command in graphic interface of OS

Does Ubuntu store a history of command executed in the graphic interface (not in a shell session)? For example if, by mouse, I click on System Settings, then click on Network, do these steps ...
0
votes
2answers
56 views

command for opening android studio

I recently installed easystroke on my Ubuntu 14.04 LTS system. I want to add a shortcut stroke for the same. Can you guys tell me what command to use? location of android studio is ...
0
votes
2answers
30 views

appends n-th line from the file x at the end of the file y

I have been asked to write a command that appends the n-th line (MYN) from a file (x)to another file (y). Here's what I've done so far: MYN=4 hey=$(awk 'NR==$MYN' x) echo "$hey" >> y But why ...
7
votes
1answer
1k views

How to get sudo to prompt you for a password each time

I find that if I execute something using sudo that then if I execute something else soon after also using sudo, that it does not prompt me for my password, and although this can be inconvenient in ...
1
vote
2answers
57 views

How to excecute a .sh program with old date

How can i make a .sh file that will run another .sh file on a old date like... Set date to 2014/06/03 run .sh file set date back to real time
0
votes
1answer
42 views

execute-command; limit program cpu usage for executable program

Is it possible to limit usage of a program to specific kernel or limit usage of processor capacity? It otherwise runs on 100% during long time.
0
votes
2answers
71 views

Minecraft not Executing

So, I've had Ubuntu for a good 6 months on my HP Chromebook 14. I downloaded and began playing Minecraft immediately with no problem. Then, today I go onto my laptop and open up Ubuntu. I double click ...