02-05-2012
That is the output, I just want stated printed out. It's that easy. No csv.txt to pull in just a listing of the columns. At a later date I will update to pull in onformation, but not sure what type yet.
Thnks
walnutpony
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies
2. Shell Programming and Scripting
Hi,
My requirement is that i am login from ROOT in a script but when any
command is coming which is logging to sqlplus then i have to run it with normal user as only normal user have permission to connect to sqlplus .
i tried making a script like this :
#! /bin/ksh
su -... (3 Replies)
Discussion started by: rawatds
3 Replies
3. Shell Programming and Scripting
Hi All
I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh
URL="www.google.com"
VBURL="10.5.2.211"
echo "Setting route for $URL for GPRS"
URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1`
echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies
4. Shell Programming and Scripting
Good morning. I am searching for "how-to"'s for some particular questions:
1. How to write a script in HP-UX 11.
2. How to schedule a script.
3. How to "call" scripts from the original script.
4. How to su to another user from within a script.
This is the basics of what the... (15 Replies)
Discussion started by: instant000
15 Replies
5. UNIX for Advanced & Expert Users
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.
The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies
6. Shell Programming and Scripting
Hi Experts,
I had tried to executes this script to change the user password through script:
No lines in buffer
#!/bin/ksh
cat /etc/passwd | grep -v userid >> /tmp/pass.tmp1
cat /etc/passwd | grep userid >> /tmp/pass.tmp2
PASS1=`cat /tmp/pass.tmp2 | cut -d ":" -f2`
PASS2=`q2w3e4r5`
sed... (3 Replies)
Discussion started by: indrajit_renu
3 Replies
7. Shell Programming and Scripting
Hi Every body,
I would need a shell script program to login as different user and perform some copy commands in the script.
example: Supppose ora_toms is the active user
ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands
... (9 Replies)
Discussion started by: ujjwal27
9 Replies
8. Shell Programming and Scripting
now i have logged in username : ramesh in unix
Now i have to created script file to login into another user and have run a command inside that user and after executing the command i have to exit from that user.
Inside script, i have to login into su - ram along with password : haihow and have to... (4 Replies)
Discussion started by: rammm
4 Replies
9. Shell Programming and Scripting
i have a script which takes input from user, if user gives either Y/y then it should continue, else it should quit by displaying user cancelled.
#!/bin/sh
echo " Enter your choice to continue y/Y OR n/N to quit "
read A
if
then
echo " user requested to continue "
##some commands... (7 Replies)
Discussion started by: only4satish
7 Replies
10. Shell Programming and Scripting
Hi,
I need to switch from local user to root user in a shell script.
I need to make it automated so that it doesn't prompt for the root password.
I heard the su command will do that work but it prompt for the password.
and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 Replies
LEARN ABOUT DEBIAN
pull-debian-debdiff
PULL-DEBIAN-DEBDIFF(1) General Commands Manual PULL-DEBIAN-DEBDIFF(1)
NAME
pull-debian-debdiff - find, download, and generate a debdiff
SYNOPSIS
pull-debian-debdiff [options] <package> <version> [distance]
DESCRIPTION
pull-debian-debdiff attempts to find and download a specific version of a Debian package and its immediate parent to generate a debdiff.
OPTIONS
package
The source package to download and diff.
version
The most recent of the two versions you want to diff.
distance
If specified (default 1), the debdiff is against that many versions previous.
-h, --help
Display the usage instructions and exit.
-f, --fetch
Simply download the specified version and exit.
-d DEBIAN_MIRROR, --debian-mirror=DEBIAN_MIRROR
Use the specified mirror. Should be in the form http://ftp.debian.org/debian. If the package isn't found on this mirror,
pull-debian-source will fall back to the default mirror.
-s DEBSEC_MIRROR, --debsec-mirror=DEBSEC_MIRROR
Use the specified Debian security mirror. Should be in the form http://security.debian.org. If the package isn't found on this
mirror, pull-debian-source will fall back to the default mirror.
--no-conf
Do not read any configuration files, or configuration from environment variables.
ENVIRONMENT
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to
those in configuration files.
CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific
variable takes precedence over the package-wide variable.
PULL_DEBIAN_DEBDIFF_DEBIAN_MIRROR, UBUNTUTOOLS_DEBIAN_MIRROR
The default value for --debian-mirror.
PULL_DEBIAN_DEBDIFF_DEBSEC_MIRROR, UBUNTUTOOLS_DEBSEC_MIRROR
The default value for --debsec-mirror.
SEE ALSO
debdiff(1), dget(1), pull-debian-source(1), ubuntu-dev-tools(5)
AUTHORS
pull-debian-debdiff was written by Stefano Rivera <stefanor@ubuntu.com>, a clone of a tool by Kees Cook <kees@ubuntu.com>.
This manual page was written by Stefano Rivera, based on the original by Andrew Starr-Bochicchio <a.starr.b@gmail.com>.
ubuntu-dev-tools December 2010 PULL-DEBIAN-DEBDIFF(1)