Hi,
I'm a complete novice at Unix and need to create a script that does the following...
checks to see if an application server is running.
If the app is running then print 'Available'
Else print 'Unavaliable'
exit from scriopt
I have no idea where to start. I'd be very grateful... (0 Replies)
I have a ksh script that does a bunch of things, then runs
telnet server_b
I then manually login, manually run one command (which launches an application with display back to my workstation), then logout at which point the main script takes back over, runs something else, then ends.
Is... (4 Replies)
I want to write a server application that would accept HTTP requests from client.
The server would be on a machine that has no connection to the INTERNET.
The clients that would be posting their HTTP requests would be doing so through webbrowser .Thus it would be sort of intranet application.... (0 Replies)
Hi,
I need to do frequently server down and up. Every time i am using nearly 5 to 6 commands to down and agin i am using the commands to up.
Can anybody help me to write a script to down and up.
which i can use once on unix platform it can down later it can up the server. (1 Reply)
Hi,
I am little bit new to this scripting langauge as such, though I know the basics.
I want to write a C script which connect to a server which is listening on tcp/ip via port number 6901 with username and password and then i have to call various services to test the server.
Can some one help... (7 Replies)
Hello friends
I want to write a script in which I will connect to my friends network.
I want to use SSH.
Even they can use the script to log into my network and copy files.
ssh user@hostname command
I know the following command will help me to log into Google's servers and see all the... (12 Replies)
Hello,
Can you help me to write a shell script for rsync a folder from my server to remote server ?
i do this in ssh by this command :
rsync -avz -e ssh /copy/me/ login@serverip:/where/to
i want have a shell script that do this command.
and you know that this command ask remote... (0 Replies)
while
do
if ;then
read driverName
else
driverName=""
fi
done
can anyone please explain what exactly is happening on 1st line...is it like the conditions being ORed...I have no clue about this. (4 Replies)
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
LEARN ABOUT ULTRIX
packf
packf(1mh)packf(1mh)Name
packf - compress a folder into a single file
Syntax
packf [ +folder ] [ msgs ] [ -file name ] [ -help ]
Description
Each message in a folder is normally stored as a separate file. The command takes all messages from the current folder and copies them to
a single specified file. Each message in the file is separated by four <CTRL/A>s and a newline.
You can specify a folder other than the current folder by using the +folder argument. If you do not want all the messages in a folder to
be packed into one file, you can specify a number of messages or a range of messages with message numbers.
The first message packed will become the current message. If you specify a +folder argument, that folder will become the current folder.
When messages have been packed into a file using you can separate them into individual messages using the command. See
Options-file name
Specifies the file in which you want the message(s) to be stored. If you specify an existing file then the specified messages
will be appended to the end of that file. Otherwise, a new file will be created and the messages placed in it. If you do not
specify a filename, attempts to place the messages in a file called in the current working directory. If this file does not
exist, asks whether you want to create it.
-help Prints a list of the valid options to this command.
The default settings for this command are:
+folder defaults to the current folder
msgs defaults to all
-file ./msgbox
Examples
The first example shows all the messages in the folder being packed into a file called
% packf +lrp -file planning
The next example shows how prompts you if you do not specify a -file option. A file called is created by in your home directory, and mes-
sages 3 to 5 are packed into it:
% packf +lrp 3-5
Create file "/machine/disk/username/msgbox"? y
Profile Components
Path: To determine the user's Mail directory
Msg-Protect: To set protections when creating a new file
Files
$HOME/.mh_profile The user profile.
See Alsoburst(1mh)packf(1mh)