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

learn more… | top users | synonyms

0
votes
1answer
29 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
8
votes
2answers
176 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
21 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
12 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] ...
2
votes
1answer
33 views

How to prevent commands being removed from history?

I have noticed that when I go up through my commands using the arrow keys, UP and DOWN, that if I then edit a command, it edits it in history, and I can even remove a command like that, however I do ...
-4
votes
4answers
54 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
28 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
32 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
34 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
33 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
25 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 ...
4
votes
1answer
100 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
38 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
23 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
57 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 ...
0
votes
0answers
29 views

How to run a compiled cpp file after booting up the system [duplicate]

I am using an arm v7 soc system which runs ubuntu very well. I can run my compiled cpp file (compiled with g++) perfectly from terminal by ./myproject. However i want code to start automatically ...
1
vote
1answer
64 views

Need help with .sh script

I’m trying to get this ~/Desktop/Tor/tor-browser_en-US/ && ./start-tor-browser to run as a .sh. I've tried over and over again to get it to work, what am I doing wrong? #!/bin/bash chmod ...
14
votes
6answers
784 views

Most efficient way of launching and separating a program from the terminal? [duplicate]

I'm trying to launch a program from the Terminal in such a way that the following occurs: Closing the Terminal does not close the program The program is not outputting anything to the Terminal while ...
0
votes
1answer
152 views

Executable won't execute

I hope that my post is acceptable although I am actually running lubuntu, not ubuntu. I am trying to create an executable file but I am having difficulties. I created a script with a text editor and ...
0
votes
0answers
10 views

Every new compiled file has not the permission to be executed [duplicate]

As in the title stated, every time a compile a c++ file with g++ program.cpp -o program, I have to change the permissions for it to be executed. Two questions: How do I change the permissions? ...
0
votes
0answers
12 views

how to pause iterations in middle?

Currently I am executing file in ubuntu for various iterations. KIndly tell me how to pause the iterations in between and resume the same. Thanks in advance.
0
votes
1answer
45 views

Make command run when MySQL database connection is made

I have successfully set up an AMP server (Apache, MySQL, and PHP) and have installed my Content Management System (Joomla!), which I am using to make a small website. The CMS connects to MySQL ...
0
votes
0answers
14 views

Notification upon task completion in terminal [duplicate]

Is there a feature which gives a notification if the terminal is idle? It would be very useful while compiling and executing large codes and doing something side by side.
0
votes
1answer
590 views

Unable to access .jar file with .desktop

I have a Minecraft.desktop on /home/myuser/Escritorio (Where myuser i put my username and Escritorio means Desktop in spanish) [Desktop Entry] Type=Application Name=Minecraft Launcher ...
1
vote
4answers
99 views

Is there anything that can let me run 64bit binary executable files? [duplicate]

Is there anything in ubuntu 32 bit 14.04LTS something light, that will let me execute 64 bit binary executable files? Architecture: i686 CPU op-mode(s): 32-bit, 64-bit Byte Order: ...
1
vote
1answer
51 views

Redirection with pipe

I have the following command to be executed. ls > myFile.txt | wc The output of the command shown is 0 0 0 Why isn't the above command giving the line/word/character count of ls output? Am ...
-1
votes
1answer
45 views

What is the complete command to be type in the command prompt to add the execute permission? [duplicate]

Help! I just need to know the complete command. To add the execute permission. Please.
0
votes
1answer
93 views

So many user apps, but only a few on launcher, why not a launcher page or a command to install on launcher? [duplicate]

I am new to Ubuntu, have v. 14.04. I look on installed apps page and see user apps installed but find no way to access them, and no way to place an app link in the launcher, why is this? People would ...
2
votes
1answer
380 views

Ubuntu / Bash recognising “export PATH=$PATH:~/…” but not “export PATH=$PATH:/home/…”

So I've been using ubuntu since 09.04 but have limited experience with sys admin. I now want to get into web development and as part of installing the Play Framework, I had to add the activator path ...
1
vote
1answer
2k views

Cannot Execute Binary File: Exec Format Error OOTP2015

I am trying to install OOTP15 for linux. I have downloaded the file and it is in my home folder. When I go to execute the file I get the error message: bash: ...
1
vote
1answer
147 views

text editing using tr command

On using the command: tr -s '\n' ' '< test1 where test1 is a text file. If test1 is written in a manner such that it contains newlines (linefeed characters) and not \n (backslash-n) then the ...
0
votes
0answers
185 views

How can I restrict a user to specific command?

I will restrict my user chipi to only one executable command. I will allow him only to use ./ftprestart.sh: $ cat ftprestart.sh sudo service proftpd restart How can i do this? I searched a lot ...
1
vote
2answers
636 views

difference between mkisofs and genisoimage

Is There any changes in mkisofs, Previously for creating iso I have used mkisofs, but now it is taking gensioimage ? With mkisofs my work going good, but genisoimage I am facing problems with ...
0
votes
0answers
26 views

How to execute command automatically when a specific directory receives a new file [duplicate]

I would like to execute a command when a specific directory receives a new file from an external server. The scenario is the following; a directory receives a new file. execute java command ...
0
votes
0answers
17 views

How to deploy nodes quickly?

I want to know how I can deploy a lot of nodes via PXE-Boot very quickly and then run a command on each node, for example to start the lokirender grunt for rendering. I would really like to use ...
0
votes
0answers
11 views

Passing arguments while running a build

I have a folder with source code files in it. (.hh and .cc files). I modified one of the .hh file as below, if(a>='number1' and a<='number2') { ..... } So every time I change the number1 and ...
0
votes
1answer
120 views

how to fix error ./configure error configure: error

configure: error: Package requirements (libczmq > 2.0) were not met: No package 'libczmq' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a ...
0
votes
1answer
184 views

What is the difference between running a certain command in terminal and a Thunar action command that opens a terminal and runs the first command?

What I mean is that on several occasions I was able to successfully run a command in a terminal window opened in a certain folder, but when using a command (run not directly from terminal, but from a ...
1
vote
1answer
243 views

Running executable files in GUI [duplicate]

I have an executable file called drracket in a folder : However in GUI it appears as a source file : Is there a way to run the file via GUI like double-click etc.? (Running it in prompt forces me ...
0
votes
1answer
120 views

unable to execute .sh scripts - only on one pc

This is an unusual problem for me - what would cause one pc to suddenly be unable to execute an install.sh script, yet two other pcs with the same OS have no problem doing so? I get various errors ...
1
vote
0answers
388 views

sublime text 2 via gnome-Terminal GLib-CRITICAL

Whenever I run sublime text 2 from the command line (via the 'subl' shortcut command) I receive the following error (sublime_text:4679): GLib-CRITICAL **: Source ID 15745 was not found when ...
1
vote
1answer
105 views

How to create your own commands that can be used anywhere [duplicate]

I am new to linux, and I am learning bash scripting at the moment. I was wondering how I would save my script as a command and then be able to call that command anywhere in the terminal. So i could ...
1
vote
0answers
229 views

Failed to start custom template in openvz

I have created custom template in openvz webpanel. I can use this template to create VM's, but i can't start them. Here is the output after executing vzctl start 333 Starting container... The ...
0
votes
0answers
24 views

How to make special new folder in right click? [duplicate]

I want to create folder but it's name date of current day. I know how to make it in terminal by this command: mkdir $(date -I) How to add this to right click to be easy?
0
votes
1answer
118 views

lost access to executable file (file not found)

I am trying to execute a file that I have recently run. However the system says file is not found? The file was taking a long time to execute and in the end I had to close the Terminal window that ...
-1
votes
1answer
37 views

Terminal window closes within a second

I am new to Ubuntu. Whenever I execute a .sh file, it closes within a second. I need to install macbuntu but i cannot do so as i cannot see the output of the terminal window. Can you please help?
3
votes
1answer
605 views

Why some server requires './' to run scripts but others don't?

I'm wondering why some Ubuntu servers are different. I have two Ubuntu 12.04 server which are running a web application. Today I tried to run an sh file from its folder. Server 1 can run shell ...
2
votes
1answer
166 views

Where are key press scripts stored?

When I hit the Volume Up multimedia key, I receive the following output from xev. KeyRelease event, serial 38, synthetic NO, window 0x4200001, root 0x91, subw 0x0, time 100844850, (1037,434), ...
0
votes
1answer
43 views

Path to shell script in aliases with ./

I'm trying to make an alias for my shell script which is saved in ~/Dokumente/music.sh Therefore, I added following line to ~/.bash_aliases: alias music='.//home/robin/Dokumente/music.sh' After ...
1
vote
2answers
144 views

How to run executables directly from nautilus? [duplicate]

When I write C codes in geany and the build and then run the program from there using the buttons there, it works fine. Again I can run the compiled executables using ./file_name command from terminal ...