1
vote
1answer
693 views

opening sar activity files error “Invalid system activity file”

Note: I opened this question on Stackoverflow first and realized that this is the right place for the question. Just stating that it is not a duplicate, already closed the question on SO. I am new ...
0
votes
1answer
651 views

How to pipe and echo the result that is being processed? [closed]

I'd like to execute this command: find /apps/ -type f -print0 | grep -z log$ | xargs -0 grep 'this->aForm' And in parallel, I'd like to see which files are being processed. How to to this?
0
votes
1answer
283 views

Bash: php comand not found when called from a script run with sudo

I have this weird problem. The php command is not found in one specific sitiation. I try to call the command in three different ways. Only one of them fails: Being user john I create a simple ...
-3
votes
1answer
66 views

bash + create proccess from function before program ended

the following short bash program described how to execute the func1 by process ( func1 & ) func1 is function that do some tests and verification on Linux machines And this program run after ...
0
votes
1answer
198 views

Continue running a task with terminal disconnected?

Say I'm running a task on a remote (Ubuntu) server which last hours, but I need to disconnect my shell client now. Foolishly, I didn't use screen or think of starting the task with nohup. Is there a ...
1
vote
2answers
630 views

Amazon EC2 instance - issuing “top” command just goes blank on the ssh terminal

I have created an Amazon EC2 micro instance, running Amazon AMI. I logged into the server using ssh client. Once it logs in successfully, if I issue the "top" command, the top output never shows up ...
1
vote
1answer
71 views

Pre-supplying answer to linux program

When I run the following command: yiic webapp main /home/david123/domains/david123.servehttp.com/public_html/main It waits for my answer: Create a Web application under ...
0
votes
2answers
71 views

Search and sync files from remote systems

I have a folderA remotely which has 2 subfolders folderB and folderC.I have to search for my file where it is located in the 2 subfolders(folderB and folderC) and should copy it. Is it possible with ...
0
votes
2answers
58 views

Which process creating cracker files?

A large number of cracker files with name FOO** are created by some of the process. I executed following command to found culprit process lsof -f -F /tmp/* But didn't found anything useful. Is ...
2
votes
2answers
407 views

How to power a serial port under linux?

I got a serial to ethernet device connected to a Serial (COM) port on a Linux machine (debian etch), I connected it correctly but it did not power up, I suppose I need to power the device port, anyone ...
0
votes
2answers
866 views

Get screen window title

I'm looking for a way to get the current window title in GNU screen . I have a script that use screen -X title something to change the window title when running and I would like to set it back to it's ...