I have a script that needs to run under ID say "xyz". the way I do normally is to "su" to the id, enter the password of "xyz" and run the process. However, is there any way run the process under "xyz" without "su" to the ID. A person with root access would be able to run any process under any ID as... (4 Replies)
Hi all,
I am having a little bit of trouble trying to find something out. I am trying to script a start/stop php file, for some gaming servers i host. The server have 2 lots of processes running on them, and the customers need to be able to start and stop them at their will.
So i know how to... (1 Reply)
Hey guys,
Just wondering is there anyway that I would be able to run a detached process that would continue to run regardless of me being logged into the linux host? (4 Replies)
get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same.
hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
Hi I have a perl script where i created 3 nmap scans and the results will output to a text file. But when i run the code the first ip address gets scanned then the others after, but i want to be able to choose which ip address to scan.
Here is my code:
(`nmap -v -r 99.xxx.xxx -p... (0 Replies)
Hi, I was wondering if there was any way in unix to check when a file was last run.
I'm doing a basic menu.
1. Savefile
2. Check when SaveFile was last run.
What can I use here to display when SaveFile was last run?
Coding so far is
if
then
echo Save file was last used:
... (2 Replies)
Hii Friends,
I am using Perl CGI. I am running A SCP Command via Perl CGI in Background. Like
system("scp -r machinename:/PathOfFile/ /Path/WhereToCopyIt/ &)
This Copy Process takes some times lets say 15 min.
Now I want When This copy process gets complete then send me... (5 Replies)
I have process1 running on one machine and generating some log file. Now another process which can be launched on any machine wants to know if process1 is running or not and also in case it is running it wants to stream the logs file generated by process1 on terminal from which process2 is... (2 Replies)
Dear Team,
i need to know in linux if someone run the command in linux server
where i can check on server . i need to know the below points
who (user)
when (date and time)
what (command)
regards,
scriptors (1 Reply)
Hello,
I am running under ubuntu 14.04
Very long time ago, I set a script (ban.sh) to block ip addresses abusing my system which was not active.
I have not touched the server over six months or more.
Today, after restart the system, ban.sh started running all of a sudden and keep submitting... (4 Replies)
Discussion started by: baris35
4 Replies
LEARN ABOUT CENTOS
yum-shell
yum(8)yum(8)NAME
yum - Yellowdog Updater Modified shell
SYNOPSIS
yum shell [filename]
DESCRIPTION
yum includes an interactive shell for conducting multiple commands or sets of commands during a single execution of yum. These commands can
be issued manually or passed to yum from a file. The commands are much the same as the normal yum command line options. See here yum(8) for
that information. There are a few additional commands documented below.
config
[argument] [value]
args: debuglevel, errorlevel, obsoletes, gpgcheck, assumeyes, exclude
If no value is given it prints the current value.
If value is given it sets that value.
repo
[argument] [option]
list: lists repositories and their status
enable: enable repositories. option = repository id
disable: disable repositories. option = repository id
transaction
[argument]
list: lists the contents of the transaction
reset: reset (zero-out) the transaction
solve: run the dependency solver on the transaction
run: run the transaction
Examples
The following are examples of using the yum shell.
list available packagename*
groupinfo 'Some Group'
install foo
remove bar
update baz
run
That will list available packages matching the glob 'packagename*'. It will return information on the group 'Some Group' It will
then queue the following commands into the transaction: install foo, remove bar, update baz. Then the 'run' command will resolve
dependencies for the transaction commands and run the transaction.
SEE ALSO
yum (8)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There of course aren't any bugs, but if you find any, they should be sent to the mailing list: yum@lists.baseurl.org or filed in bugzilla.
Seth Vidalyum(8)