The execute-command tag has no wiki summary.
1
vote
1answer
38 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
11 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 ...
10
votes
1answer
506 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
100 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?
2
votes
1answer
43 views
Getting cpu usage realtime
When I execute following command to get cpu usage , I get nice + user cpu usage.
top -b -n1 | grep "Cpu(s)" | awk '{print $2 + $4}'
Output:
14.5
Here I am getting problem is that the output ...
1
vote
1answer
79 views
How to use ' and " (quotes) as an argument
Intro
In a script I want to run a command in a separate window so that output of the command will show in a new window (which is an output stream like top) and they do not interfere each other. For ...
3
votes
1answer
142 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
0answers
93 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 ...
4
votes
2answers
1k 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
# ...
3
votes
1answer
209 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.
...
0
votes
2answers
54 views
running bleachbit
I have installed BleachBit 0.8.7. Would it be possible to kindly let me know if BleachBit can be run as administrator of my account, please?
I would be most grateful for your help and advice. Thank ...
1
vote
2answers
493 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
272 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 ...
1
vote
1answer
418 views
php code to execute terminal command
Is it possible to execute terminal commands using PHP? I need to display cores alloted to each VM and some other details of virtual machine. Am using KVM. can anyone help to do so. Am using Ubuntu ...
0
votes
0answers
72 views
12.04 boot and performance problems
I upgraded to 12.04 several months ago since then I have had many problems that I cannot get to the bottom of!
The first is on boot displays a message from udev then when I am using Ubuntu my Cairo ...
0
votes
2answers
429 views
How does .desktop file EXEC field work?
It's been several months I'm having this horrible problem. I'm currently using Unity 2D, and I manage my menu entries by using .desktop files, which is tiring. Is there a better way to manage them?
...
6
votes
2answers
2k 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
56 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
747 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
...

