08-27-2014
By alias I mean typing alias and hitting enter.
What do you get on the other server?
10 More Discussions You Might Find Interesting
1. SuSE
Sir,
I using the following commands in a file (part of a bigger script):
#!/bin/bash
cd /opt/oracle/bin
ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out
If I run this from the command prompt the result is:
2007-05-16
if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies
2. Windows & DOS: Issues & Discussions
Hi does anyone know know how to find out the password on a vista pc using command prompt /cmd not change it (1 Reply)
Discussion started by: popo123456789
1 Replies
3. UNIX for Dummies Questions & Answers
What does $ represent in command prompt? (2 Replies)
Discussion started by: ashok.g
2 Replies
4. Shell Programming and Scripting
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies
5. Shell Programming and Scripting
a) cd /root/user/dir/sd/disk
./runInstaller -silent -responseFile
b) cd /root1/user1
cp /root/user/dir/sd/disk/ram.txt
now a) executes and starts running but b) interupts a) and is executed while a) is running on the other hand
so I want b) to start only after successfull completion of... (6 Replies)
Discussion started by: sriki32
6 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am using AUTOSYS GUI based tool. But I want to get the job status from the UNIX command prompt.
1. I want to execute only autorep command in the UNIX command prompt.
If need to execute this command what are the settings need to do that.
2. Is it possible for executing this... (5 Replies)
Discussion started by: onesuri
5 Replies
7. Shell Programming and Scripting
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies
8. Shell Programming and Scripting
below is the output xml string from some other command and i will be parsing it using awk
cat /tmp/alerts.xml
<Alert id="10102" name="APP-DS-ds_ha-140018-componentFailure-S" alertDefinitionId="13982" resourceId="11427" ctime="1359453507621" fixed="false" reason="If Event/Log Level(ANY) and... (2 Replies)
Discussion started by: vivek d r
2 Replies
9. Shell Programming and Scripting
Hi All,
Even changing .bash_profile, i am getting only $ as command prompt.
My bash profile looks like this.
PS1=" $ "
stty columns 200
set -o vi
if i run bash command and run PS1=" $ " then it is working as expected.
$ bash (4 Replies)
Discussion started by: akshu.agni
4 Replies
10. UNIX for Dummies Questions & Answers
Hi everyone
I have a problem with my script
If I try directly this command
/usr/bin/nice -n 19 mysqldump -u root --password="******" wiki_schneider -c | nice -n 19 gzip -9 > /point_de_montage/$(date '+%Y%m%d')-wiki-db.sql.gz
It works
But if I simply add this command in a script and... (8 Replies)
Discussion started by: picemma
8 Replies
LEARN ABOUT DEBIAN
svn-do
SVN-DO(1) Command reference SVN-DO(1)
NAME
svn-do - export a source and run a command inside the source.
SYNOPSIS
svn-do COMMAND
DESCRIPTION
svn-do will use svn-buildpackage to export a source, run a command inside the exported source and, if the command succeeds, copy back the
debian/ tree
EXAMPLES
clean the tree (useful if this requires the full source tree)
$ svn-do debclean
I: Exporting source tree via svn-buildpackage...
[...]
I: Running command: debclean
[...]
I: Copying back the debian/ tree...
'debian/control' -> 'path/package/debian/control'
use quilt to refresh a patch
$ QUILT_PATCHES=debian/patches svn-do
sh -c "quilt push 002_static-linking-dont-build-perf.patch;
quilt refresh"
[...]
I: Copying back the debian/ tree...
[...]
'debian/patches/002_static-linking-dont-build-perf.patch' ->
'/path/package/debian/patches/002_static-linking-dont-build-perf.patch'
Start a source editing session and decide later not to copy back the debian/ tree
$ svn-do $SHELL
[...]
I: Running command: /bin/zsh
% exit 1
E: command exited with 1; not copying back the debian/ tree.
edit a patch in a CDBS' simple-patchsys based package
$ svn-do cdbs-edit-patch 02_pmount.patch
[...]
SEE ALSO
/usr/share/doc/svn-buildpackage/()
The svn-buildpackage HOWTO manual
svn-inject(1)
puts a Debian source package into Subversion repository
svn-upgrade(1)
upgrade source package from a new upstream revision
svn(1)
Subversion command line client tool
dpkg-buildpackage(1)
Debian source package tools
lintian(1)
Debian package checker
AUTHORS
Eduard Bloch
This manual page was written by Eduard Bloch in roff.
Goneri Le Bouder
Converted manpages to SGML.
Neil Williams
Converted manpages to DocBook XML and current Debian maintainer
COPYRIGHT
Copyright (C) 2009 Eduard Bloch
Release: 0.8.2 May 2009 SVN-DO(1)