03-08-2002
For your first question, I would use a
simple shell script; not an alias.
Your second question, use "man -P cat ..."
which would change the "man" pager to the "cat"
command.
Your third question, the result will be that
"hh" will contain whatever "file" contains.
Now for the discalimer...
Since this is your first post, I'm going to
assume this is not homework. We typically do
not like to answer homework questions, at least
not without the poster actually doing some
resarch and attempting to find a solution
on their own first.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello friends,
I am doing my first year Engineering. I am intrested in learning UNIX. Please let me know how to start and what classes I have to take privatly. I am in US. (5 Replies)
Discussion started by: bluespark_c99
5 Replies
2. UNIX for Dummies Questions & Answers
friends i wanted to now whehter there exists a book as a solution to the questions posted in exercies of the Design of Unix Operating system by Maurice J Bach !..its really urgent !! (1 Reply)
Discussion started by: darshaan
1 Replies
3. UNIX for Advanced & Expert Users
Hi All,
I need to find out the completed transactions count which happened during a particular time duration from a log file. I'm a newbie with scripts and i'm unable to figure out how to get this task done with scripts. I have a transaction log file which has various lines indicating the... (1 Reply)
Discussion started by: haran_3k
1 Replies
4. Shell Programming and Scripting
Hi,
Can i get some help from any of you guyz on writing Unix script.
my requirement is like reading a csv file, finding a specific pattern in the lines and repalce the string with new string and write it to another file.
My file is file ABC123.dat
Col1,Col2,Col3
102628,AB10 0,21... (2 Replies)
Discussion started by: prashant_jsw
2 Replies
5. Shell Programming and Scripting
Hi,
I have multiple servers and each server hosts multiple databases. Now i have requirement as below
1) Create a file in any server which will hold all the database name.
2) Write a shell script that will read the file and connect to each and every database. and log out of it one by... (2 Replies)
Discussion started by: amritansur
2 Replies
6. Shell Programming and Scripting
Hi,
Solutions may be in ksh or bash
1. i have some files like.
CAT_CO00102_20100816190955.Z CAT_CO00102_20100816190955Q.Z CAT_CO00202_20100825135947A.Z
to find out files ends with A.Z or Q.Z i use following in ksh.
CAT="CAT*.Z"
ls $CAT
CAT_CO00102_20100816190955Q.Z ... (5 Replies)
Discussion started by: malikshahid85
5 Replies
7. Homework & Coursework Questions
#!/bin/sh
#Buddy Gibbons
#COP3353 - Assignment 4
#4/21/12
file=$1
directories=0
files=0
rfiles=0
xfiles=0
wfiles=0
if
then
echo "Usage: assignment4.sh <directory_name>"
exit
fi (1 Reply)
Discussion started by: tennistennis1
1 Replies
8. Homework & Coursework Questions
1 Petras Pavardenis 1980 5
08 Linas Bajoriunas 1970 10
3 Saulius Matikaitis 1982 2
5 Mindaugas Stulgis 1990 7
6 Rimas Nasickis 1964 10
7 ... (1 Reply)
Discussion started by: vaidastf
1 Replies
9. Shell Programming and Scripting
Hi,
I have 2 variables which is having like the below data
a=x.1 y.2 z.3 m.4
b=No (zero) rows read (0)~ No (zero) rows read (0)~ Complete: 273894 row(s)~ Complete: 729002 row(s)~
I need a file which should contain
x.1,No (zero) rows read (0)~
y.2,No (zero) rows read (0)~ ... (2 Replies)
Discussion started by: Ravindra Swan
2 Replies
10. Homework & Coursework Questions
The 'env' command prints out all of the environment variables and their values.
Come up with a command that prints a list of environment variables whose names
end with either 'NAME', 'DIR' or 'PATH'.
What I've tried.
$ env | grep ''
Although it highlights the part of the variables... (8 Replies)
Discussion started by: edujs7
8 Replies
LEARN ABOUT DEBIAN
condor_store_cred
condor_store_cred(1) General Commands Manual condor_store_cred(1)
Name
condor_store_cred securely - stash a password
Synopsis
condor_store_cred [-help]
condor_store_credadd[ -c | -u username] [-p password] [-n machinename] [-f filename]
condor_store_creddelete[ -c | -u username] [-n machinename]
condor_store_credquery[ -c | -u username] [-n machinename]
Description
condor_store_credstores passwords in a secure manner. There are two separate uses of condor_store_cred:
1. A shared pool password is needed in order to implement the PASSWORD authentication method. condor_store_cred using the -coption
deals with the password for the implied condor_pool@$(UID_DOMAIN) user name.
On a Unix machine, condor_store_cred with the -foption is used to set the pool password, as needed when used with the PASSWORD authen-
tication method. The pool password is placed in a file specified by the SEC_PASSWORD_FILE configuration variable.
2. In order to submit a job from a Windows platform machine, or to execute a job on a Windows platform machine utilizing the run_as_own-
erfunctionality, condor_store_cred stores the password of a user/domain pair securely in the Windows registry. Using this stored pass-
word, Condor may act on behalf of the submitting user to access files, such as writing output or log files. Condor is able to run jobs
with the user ID of the submitting user. The password is stored in the same manner as the system does when setting or changing account
passwords.
Passwords are stashed in a persistent manner; they are maintained across system reboots.
The addargument on the Windows platform stores the password securely in the registry. The user is prompted to enter the password twice for
confirmation, and characters are not echoed. If there is already a password stashed, the old password will be overwritten by the new pass-
word.
The deleteargument deletes the current password, if it exists.
The queryreports whether the password is stored or not.
Options
-c
Operations refer to the pool password, as used in the PASSWORD authentication method.
-f filename
For Unix machines only, generates a pool password file named filenamethat may be used with the PASSWORD authentication method.
-help
Displays a brief summary of command options.
-n machinename
Apply the command on the given machine.
-p password
Stores password, rather than prompting the user to enter a password.
-u username
Specify the user name.
Exit Status
condor_store_credwill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
Author
Condor Team, University of Wisconsin-Madison
Copyright
Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu
September 2012 condor_store_cred(1)