05-24-2004
Thank you zazzybob
I was actually trying to make things easier on myself. You see, many users have access to /home/user. The code I posted is an example, I'm actually adding more stuff into it like sensitive information that I do not wish to share to the whole group. Thats why I want to run it from my pc.
I wonder if I add the fully-qualifed name for check.sh on my .kshrc profile works....
tony
10 More Discussions You Might Find Interesting
1. AIX
Hi ,
I am working on AIx server which is connected to another network which is a stock market via leased line ,
From my side I connect to the server locally but what i need is to know the ip whic the server connect to the stock market how I can Know this ????
Thanks (1 Reply)
Discussion started by: habuzahra
1 Replies
2. Shell Programming and Scripting
I have two redhat linux server. i have created one script which contain some command that run on Local server as well as remote server.I am using this command to connect to remote server
ssh user1@192.x.x.x 'command'
but when i am running the script in local server it connecting to the server... (1 Reply)
Discussion started by: ranvijaidba
1 Replies
3. Programming
I have a web based app that I need to launch from time to time using Java. The app only runs in a browser window so I need to get that running. I used OS X for my development and it runs fine on my laptop running the server on localhost. But when I deploy (in an oc4j container in a Solaris... (4 Replies)
Discussion started by: Solerous
4 Replies
4. Shell Programming and Scripting
Hi,
need to write a script which will check number of ip address are able to ping or not .. (2 Replies)
Discussion started by: mail2sant
2 Replies
5. AIX
Hello Guys,
Unfortunately after look for it on entire www I did not find anyone that have made a tutorial how to make it works.
I'm using an AIX 5.3 as a nis client from a SUSE 1.0 server.
I can see the maps - ypcat passwd (so I can Bind server)
and I can su NIS users.
BUT I CAN... (0 Replies)
Discussion started by: michelan
0 Replies
6. Shell Programming and Scripting
Hi All,
I have totally two server. First server name is ABC which contains the file name is Sum.txt and Second server name is Sun here one file generate during the runtime.
Currently I am in First Server. Now, I need to compare the server one file (Sum.txt) with server two file.
If it... (2 Replies)
Discussion started by: suresh01_apk
2 Replies
7. Shell Programming and Scripting
Everyday my code will send 100's* of mails from linux server to outlook using*sendmail command .
I need to take a backup of those mails which are exactly sent from my linux server.
This is needed for backup purpose.
backuplocation is my local home dir.Is it possible to do this.
I dont have root... (4 Replies)
Discussion started by: mohanalakshmi
4 Replies
8. BSD
I put this thread to shell and bsd, because I want to resolve this matter on bsd.
May somebody can explain to me how to ping a remote server, in unix. BTW the following code examples were tried on a linux system as well, with the same output, nothing. But on my bsd are not installed nmap neither... (4 Replies)
Discussion started by: 1in10
4 Replies
9. Red Hat
Actually this is a Centos 6.x question, but I think it fits here.
I have a client that has a pretty beefy server that will be running all sorts of VMs once I unleash it to the developers. For several reasons, they would like to do a complete clone of the server as is right now, that is with just... (2 Replies)
Discussion started by: xdawg
2 Replies
10. UNIX for Advanced & Expert Users
How do I install a LAMP server on a new installation of Debian 9 using the lalest versions of
AMP?
Here is what I have.
Corrections please.
MYSQL
apt-get install mysql-server mysql-client
You can verify the MySQL server status using command:
systemctl status mysql
-------
PHP7... (0 Replies)
Discussion started by: Meow613
0 Replies
LEARN ABOUT DEBIAN
service
service(8) System Manager's Manual service(8)
NAME
service - run a System V init script
SYNOPSIS
service SCRIPT COMMAND [OPTIONS]
service --status-all
service --help | -h | --version
DESCRIPTION
service runs a System V init script in as predictable an environment as possible, removing most environment variables and with the current
working directory set to /.
The SCRIPT parameter specifies a System V init script, located in /etc/init.d/SCRIPT. The supported values of COMMAND depend on the
invoked script. service passes COMMAND and OPTIONS to the init script unmodified. All scripts should support at least the start and stop
commands. As a special case, if COMMAND is --full-restart, the script is run twice, first with the stop command, then with the start com-
mand.
service --status-all runs all init scripts, in alphabetical order, with the status command.
EXIT CODES
service calls the init script and returns the status returned by it.
FILES
/etc/init.d
The directory containing System V init scripts.
ENVIRONMENT
LANG, TERM
The only environment variables passed to the init scripts.
SEE ALSO
/etc/init.d/skeleton,
update-rc.d(8),
init(8),
invoke-rc.d(8).
Jan 2006 service(8)