Questions tagged [execute-command]

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

266 questions
6
votes
3 answers

How do I modify the reboot command?

I am trying to edit the reboot command to echo a message to the user, but the command itself located in /sbin is compiled. Is it possible to edit the command and have it print something out when the user types reboot?
2
votes
1 answer

How do you add execute permissions to a USB Flash Drive?

So for the longest time I've been trying to get Steam to a be a fully functional program on my Chromebook 14 and I've gotten pretty close. I unfortunately ran out of space however and decided to buy a USB 3.0 Flash Drive and added a SteamLibrary…
Teddy
  • 21
2
votes
4 answers

How do I execute a .deb file

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 with a command in terminal. Tried use ./. Did not…
Dani
  • 21
1
vote
1 answer

Easy access to selfmade program

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 directory? Would I have to add it to /usr/bin?…
1
vote
1 answer

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: /home/patrick/ootp15linuxsetup.bin.tar.gz: cannot execute binary file: Exec format…
Patrick
  • 11
  • 1
  • 3
1
vote
1 answer

Terminal commands not recognized as an internal or external command

I tried: startx and it didn't work saying: startx is not recognized as an internal or external command And tried: sudo apt-get install ubuntu-desktop But I get: sudo is not recognized as an internal or external command Then I tried: removing sudo…
ScorpionX108
  • 11
  • 1
  • 2
0
votes
1 answer

Executing script in GUI

I have an executable file in my home directory (/home/user/filename/filename.sh). I am a non-root user. How do I make this script launch by typing the name in terminal? Not using the cd command, chmod command, and ./. I also want to launch the…
yeyint
  • 21
0
votes
2 answers

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 /home/antony/Documents/Android Studio Installation…
0
votes
1 answer

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
1 answer

I get a "symbol lookup error" when running "dig google.com" in the terminal

I want to run the command dig google.com in the terminal, but what I get is this error message: dig: symbol lookup error: /lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1.1-Ubuntu.so: undefined symbol: uv_sleep How can I fix it?
0
votes
2 answers

What is the use of ''dd'' command

As a beginner I am learning the basics use of command line. While exploring I get to know about "dd" command . I am not sure about the utility of this command as a beginner. Kindly explain me in simple words usage of this command
0
votes
0 answers

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 file: Exec format…
0
votes
1 answer

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 00120_FA_grot.nii.gz I want to do fslstats…
Yw Liu
  • 1
-1
votes
1 answer

-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 echo"both are same" echo"deleted second…
ashu56
  • 9