08-12-2013
Create the equivalent of the command WC
hi all, i'm trying to do this exercise, i want to create a script that can substitute WC command in unix, can someone help me?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all.
After installing ssh on a server, i'd like to create a user with root privileges.
My problem is that after creating a user rootssh (uid=0, gid=20, /home/rootshh), i make rootssh's ssh keys. The problem is that normally the ssh-keygen should create the keys under $HOME/.ssh/, and actually... (6 Replies)
Discussion started by: penguin-friend
6 Replies
2. Solaris
What is the Solaris equivalent of the HP-UX "ioscan -funC" command which lists all hardware on the system? (5 Replies)
Discussion started by: etc
5 Replies
3. Shell Programming and Scripting
Can anyone tell me which is the equivalent command to
'stats' in ksh shell which discribes the file system?
Thanks in advance
Regards,
Im_new (6 Replies)
Discussion started by: im_new
6 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am new to HP-UX.
Can someboby help me with the svcs equivalent command in HP-UX ???
svcs is command that we use in Solaris for service status. I need to get the status of services in HP-UX.
Thanks in advance. (2 Replies)
Discussion started by: EmbedUX
2 Replies
5. AIX
i know after you do something in smitty via the gui, you can click something in smitty that will show you how to do the same thing via the command line, (not using the gui) can anyone tell me how (2 Replies)
Discussion started by: asyed123
2 Replies
6. UNIX for Dummies Questions & Answers
May i know what is the equivalent tool in linux for pflies in solaris. ? (2 Replies)
Discussion started by: mohtashims
2 Replies
7. Shell Programming and Scripting
Hi guys,
I am new to Unix, Need your help here.
I have installed cygwin software (Unix) in my computer (Windows vista). Now i want to create a shell script (.sh file)/other script which is equivalent of VBA code (at the bottom) and then put this .sh file into bin directory of c:/cygwin.
so... (7 Replies)
Discussion started by: bansalpankaj88
7 Replies
8. UNIX for Dummies Questions & Answers
Hello guys,
I'm cleaning out big XML files (we're talking about 1GB at least), most of them contain words written in a non-latin alphabet.
The command I'm using is so slow it's not even funny:
cat $1 | sed -e :a -e 's/<*>//g;/</N;//ba;s/</ /g;s/>/... (4 Replies)
Discussion started by: bobylapointe
4 Replies
9. Windows & DOS: Issues & Discussions
Hi,
The title of this post is a little vague but I couldn't think of what to call it.
In Unix you can perform the following command
ftp -v IPADDRESS <<END
put FILE
END
In a DOS command prompt, is it possible to do the same kind of thing that the "<<END" does?
So for example, ... (4 Replies)
Discussion started by: Ste_Moore01
4 Replies
10. SCO
Sir I have read the book SCO Unix System Administrators Guide and I have found the command sysadmsh useful for system administration. I have tried the above command in unixware7.1.3 and I got the message command not found.
Currently I am running unixware7.1.3 in VmWare WorkStsation10.0.
... (1 Reply)
Discussion started by: rupeshforu3
1 Replies
LEARN ABOUT DEBIAN
grid-ca-package
GRID-CA-PACKAGE(1) Globus Commands GRID-CA-PACKAGE(1)
NAME
grid-ca-package - Prepare a CA certificate, configuration, and policy for distribution
SYNOPSIS
grid-ca-package [-help] [-h] [-usage] [-version] [-versions]
grid-ca-package [-ca HASH] [-g] [-b] [-r] [-d]
DESCRIPTION
The grid-ca-package utility creates a tarball containing an RPM spec file and the files needed to use a CA with grid tools. It optionally
will also create a GPT package for distributing a CA.
By default, the grid-ca-package utility displays a list of installed grid CA and prompts for which CA to package. It then creates a tarball
containing the CA certificate, signing policy, CA configuration files, and an spec script to generate a binary RPM package containing the
CA. If the CA hash is known prior to running grid-ca-package, it may provided as an argument to the -ca parameter to avoid prompting.
In addition to generating a spec script and tarball, grid-ca-package creates a GPT package if either the -g or -b options are used on the
command-line. These packages may be used to distribute a CA and configuration to systems which do not support RPM packages.
The grid-ca-package utility writes the package tarballs to the current working directory.
The full set of command-line options to grid-ca-package follows.
-help, -h, -usage
Display the command-line options to grid-ca-package and exit.
-version, -versions
Display the version number of the grid-ca-package command. The second form includes more details.
-ca CA
Use the CA whose name matches the hash string CA. When invoked with this option, grid-ca-package runs non-interactively.
-g
Create a GPT binary package in addition to the RPM script tarball. This package may be installed on other systems using the gpt-install
program.
-b
Create a GPT binary package with GPT metadata located in the path expected by GPT 3.2 (used in Globus 2.0.0-5.0.x) instead of
${datadir}/globus/packages as used in Globus 5.2.x. This option overrides the -g command-line option.
-r
Create a binary RPM package for the CA. This option currently only works on RPM-based distributions.
-d
Create a binary Debian package for the CA. This option currently only works on Debian-based distributions.
EXAMPLES
Package a Simple CA with hash 0146c503
% grid-ca-package -ca 0146c503
Creating RPM source tarball... done
globus_simple_ca_0146c503.tar.gz
ENVIRONMENT VARIABLES
The following environment variables affect the execution of grid-ca-package:
GLOBUS_LOCATION
Non-standard installation path of the Globus toolkit.
SEE ALSO
grid-cert-request(1), grid-ca-sign(1), grid-default-ca(1), grid-ca-create(1)
AUTHOR
University of Chicago
Globus Toolkit 5.2.0 07/22/2011 GRID-CA-PACKAGE(1)