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

learn more… | top users | synonyms

1
vote
1answer
34 views

Bash script for execute one command for many files

I just tried to clear my holiday video stuff and found program for stibilizng vision. There are a lot of files so I made script to stabilize all. Firstly I need to run command: transcode -J ...
-1
votes
0answers
28 views

ubuntu cannot execute binary file

I am trying to install a program by a .bin file. I have already set it to be executed as program (in Properties --> Permissions) but when I double-click on it afterwards nothing happens. I have also ...
0
votes
1answer
36 views

What does 'chmod +x <filename>' and how do I use it?

I want to write a 'batch file', but I don't know how to use chmod +x <filename> command, nor where to use it.
0
votes
2answers
16 views

Extract A Squashfs To An Existing Directory

I have an Ubuntu installation backed up as a .squashfs file. I would like to extract it to the root of a partition, but when I try gives me an error saying the directory exists. I can extract just ...
0
votes
0answers
20 views

How to work with dfspace command? [migrated]

I am trying to execute dfspace command but I am getting the error root@Kali:~# /dfspace -bash: /dfspace: No such file or directory
0
votes
1answer
54 views

How can force a bash script to execute in www, and not executing in filesystem/*?

I have some .sh bash scripts which creates some directories, downloads some sourcefiles via SVN and so on. The scripts works every well, but it annoys me that they are performing the action in ...
1
vote
2answers
48 views

how change file attributes to make it executable [duplicate]

I want to execute a text file, but I need to change the file preferences so that when I open it, it will actually run the file instead displaying it. However, I don't know how to change the file ...
2
votes
2answers
69 views

How to start a program without interrupting my current session?

I'am working on some code or document and I need an additional program like IntellJ e.g. How can I start this program in the background without popping up and interrupting me on my work? Often I start ...
0
votes
2answers
97 views

Execute command before shutdown/reboot

I have a machine running a couple of vagrant VM. The problem I have is that sometimes I forget to shutdown those VM before I shutdown or reboot my machine. Because of that my machine get stuck with ...
1
vote
1answer
47 views

Resources to learn Ubuntu commands [duplicate]

I am newly installed Ubuntu 13.10 but I want to learn all Ubuntu terminal commands are there any free book or good tutorial for this ?
1
vote
1answer
38 views

In ubuntu matlab execution file cannot be run

I have stored my matlab installation in one of the partitions.But ubuntu doesn't recognize the matlab file as an executable file even after executing chmod +x command. Kindly help me to resolve the ...
0
votes
0answers
63 views

Can not execute binary file

I installed ubuntu 12.04 in Laptop. In this laptop two windows win7 and win 8 are already installed. I installed the 3rd OS i.e uBuntu. Installed from USB flash drive. Installation wise no problem. ...
1
vote
1answer
839 views

rc.local not executing command

I was trying to make my laptop running Ubuntu 13.10 remember the brightness from the last time and set it automatically on start-up. I was thinking about using xbacklight to set the brightness. So, as ...
0
votes
2answers
340 views

how to use the terminal with linux 13.10? [duplicate]

I would like to know how can I use the terminal? The functionality of commands. I don't know how can I use the terminal for download movies or software.
0
votes
1answer
115 views

Installing Invenio

When I execute the command make to install invenio this error appears: make all-recursive make[1]: Entering directory `/root/src/invenio' Making all in po make[2]: Entering directory ...
2
votes
1answer
350 views

Unable to change execute permissions of .sh file [duplicate]

I'm out with a new problem. I've downloaded a jdk7.sh file. Now I'm unable to change the permission of the file to allow executing the file as a program. I mark the check box and again it disappears.
1
vote
2answers
86 views

How do I execute a program with default variables?

How can I execute a program (specifically a bash alias) with the default environment variables? Consider this example: export test="something I dont want to exist" alias _xterm='xterm -fn 7x13 -fa ...
1
vote
2answers
2k views

not able to execute .sh file

I downloaded modelsim install file which contained .sh file in it -setup.sh I did the following two things Right click->properties->permision->allow executing file as program ->double clicked the ...
0
votes
1answer
44 views

Running a command as soon as I save a file

I want to run a command as soon as I save a specific text file. I know how to do it when the file closes, but I am looking for the code to execute as soon as I hit Ctrl+S. Thanks in advance..
2
votes
2answers
15k views

Moving file from folder 1 to folder 2 in terminal

I am trying to move a text file from folder 1 to folder 2 via terminal. I'm doing this for a school project to show what actually happens when you copy paste. I'm doing cp/home/rits/desktop/folder1 ...
2
votes
2answers
101 views

root@mickey:/#su goofy && ssh goofy.com — why does this fail?

mickey (who is logged in as root) tries to use goofy's account to ssh into goofy.com. root@mickey:/#su goofy && ssh goofy.com however this fails to login goofy on goofy.com, instead: ...
0
votes
2answers
269 views

cannot start application if not on correct path

I have the following app "System monitor indicator" and I want to make it start on boot up. So I am trying to find whats the name of the app to call it from the terminal, I find the "exe" at ...
0
votes
1answer
280 views

Run a command after a specific USB was plugged in [duplicate]

I want my usb to run a command or a script --like autorun-- when it is plugged in. I've also searching and found out that autorun was not present because of some security reason(s). How do you run a ...
1
vote
1answer
155 views

Admin name appears twice if it asks for admin password. Ubuntu 12.04 LTS

I was trying to apply some given items at this page to secure my Ubuntu 12,04. After applying item number 4; my user name which is the only admin, appears twice if system asks for an admin password as ...
0
votes
0answers
33 views

rcsed command? how do i get it?

There is apperantly a command called rcsed wich check out files from RCS and opens them in editor and then checks the file in again when closing it? I have installed RCS but cant find anything about ...
35
votes
8answers
18k views

How do I run executable scripts in Nautilus?

When I double-click on a script in Nautilus to run it, the script just opens in my text editor with no option to run it. Using Nautilus, how do I run executable text files and/or scripts?
10
votes
1answer
635 views

What does this “… | ps `cat`” command do?

On my Internet research, I found the following command as solution to find the process name of a window: xprop _NET_WM_PID | sed 's/_NET_WM_PID(CARDINAL) = //' | ps `cat` I just do not understand ...
3
votes
1answer
158 views

What is the difference between `command` and `./command`?

I found that sometime I use the command to run a command, but sometime I use the ./command to run another command. What is the difference?
5
votes
0answers
4k views

How do I run executable scripts in Nautilus rather than open them in Gedit text editor? [duplicate]

When I double-click on a script in Nautilus in order to run it, the script opens in my text editor with no option to do so. Using Nautilus, how do I run executable text files and/or scripts?
3
votes
1answer
1k views

How to automate execution of sequence of commands in ubuntu?

I am new to LINUX operating system. I am using ROS (Robotic Operating System) where I type few commands in separate terminal windows for doing the setup. ie Before I run my program, I have to ...
1
vote
1answer
206 views

find command does not find string in subfolders

I have a file structure something like this: /apps/base/logs1 and /apps/base/logs2 Both logs1 and logs2 folders have .log files with some other files as well. I am trying to do this From /apps ...
8
votes
2answers
11k views

Why doesn't rc.local run all my commands, and what can I do about it?

I have the following rc.local script: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # ...
4
votes
1answer
858 views

How to run - from Firefox context menu - terminal commands selected in web pages?

Instead of copying it from the web and pasting it in the terminal, I want to be able to select a command displayed in a web page and with right click context menu to add it and run it in terminal. ...
1
vote
2answers
753 views

Open terminal output in sublime2

I want to open the output of terminal commands in sublime2. e.g. when I do $ list , it lists all files/folders in terminal. I want that when I run this command a temporary text file should be created ...
0
votes
0answers
363 views

How can I fork OpenVPN client?

I have my own OpenVPN server that works, however every time I run the client from the terminal I'm stuck with it open -- if I close it the connection will drop. I tried forking it with & however ...
8
votes
2answers
5k views

How do I change the launcher commands?

I'd like to change the behaviour of the launcher, so that if I click on the firefox icon, it runs the command $ optirun firefox Does anyone know how to change it? Thank you
2
votes
1answer
68 views

What is the difference between -exec with '{}' ';' and -exec with {} /;?

While trying my hand at writing some bash scripts I've come across various usage of the -exec parameter. In my context, I'm using it after the find command. This guide states to use {} /; after the ...
1
vote
2answers
1k views

how can I add a command in terminal to open a file

I save a file Logisim2.7.1.jar in my directory at /home/danny/Application. Whenever I want to run this file in terminal, i have to type these following line in terminal: cd /home/danny/Application ...