10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We have lftp command inside shell file. which is intern calling .cfg file for transferring the file from one server to other.
Below command to not working.
lftp -e "set net:max-retries 1; set net:reconnect-interval-base 1; put -E -O /destinationdir/inbox/ /sourcedir/test.txt; bye" -u... (4 Replies)
Discussion started by: johnsnow
4 Replies
2. UNIX for Dummies Questions & Answers
cleanwork /saswork removes sas orphanded processes in the saswork directory. Subdirectories under sasem are sas94, sas92 and sasworks .
I am getting the following error messages:
1.
'/usr/bin/sudo -S apt-get update <~/opt/SiM/pos/ps/db_auth.cfg... (4 Replies)
Discussion started by: dellanicholson
4 Replies
3. Solaris
I want to run solaris10 with my pxelinux server
i put on pxelinux.cfg/default this
LABEL solaris 10
kernel mboot.c32
append -solaris solaris/boot/platform/i86pc/kernel/unix -v -m verbose install dhcp nowin nfs://192.168.0.2/jumpstart/config.tar -B install_media=192.168.0.2:/solaris... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
4. Solaris
hi folks
I have issue in printing pdf while using ERP application, it's using pasta utility to print pdf. If i print from command line its successful while when ERP user give print command the printer doesnot print anything rather it gives error which is as follows
ESP Ghostscript 815.01:... (12 Replies)
Discussion started by: smazshah
12 Replies
5. UNIX for Dummies Questions & Answers
Hi guys,
I am not experienced with Unix, so please dont mind if the question seem to be irrelevant.
I have written a simple script, that connects DB & fetches few records from a table. I wanted to get those details as file in .CSV format via mail.
-I stored the query o/p in a file.
-I... (6 Replies)
Discussion started by: sumitburnwal88
6 Replies
6. Shell Programming and Scripting
first i created a profile file(my_var.profile) which contains
export my_var=20
after that i created shell scripts(my_var.sh) which contains
#!/bin/bash
. ./my_var.profile
echo '$my_var='$my_var
but when i am executing sh my_var.sh it is showing error that no such file/directory .profile.... (6 Replies)
Discussion started by: pratikjain998
6 Replies
7. Shell Programming and Scripting
I am new in shell scripting. currently i am using cygwin. My problem is
i created a profile file in my own folder. file name is first.profile in which i gave following values to variable
export a=10
now i am executing this profile file by below command
./.first.profile
it executed... (4 Replies)
Discussion started by: pratikjain998
4 Replies
8. Shell Programming and Scripting
Greetings.
In sh or bash How do you load a conf file (full of variables / functions) from a different directory in your script?
That way my main script can be function free so i just have to call the functions from my cfg file.
I have this setup.
Scripts in : $HOME/scripts/shl (it's in my... (4 Replies)
Discussion started by: Sekullos
4 Replies
9. Shell Programming and Scripting
Hello,
I don't understand why the script below doesn't act the way it should :
#!/bin/sh
awk 'BEGIN{printf("Entrez la date : "); getline date < "-"}
$0 ~ date {f=1;print;next}
/^{2}\//{f=0}
f' Planning.csv > planning.txt
It doesn't create file planning.txt with only the result of... (14 Replies)
Discussion started by: freyr
14 Replies
10. Shell Programming and Scripting
Hi, I am trying to create sql statements from a file, but I have a problem with ':
This is what I do:
cat filex.txt | awk -F: '{print $1,"A","and personnavn like",$5}' | sed -e "s/^/select bruker.brukernavn, person.personnavn from bruker, person where brukernavn like '/" -e "s/$/' and... (2 Replies)
Discussion started by: hannem
2 Replies
mz.cfg(1) General Commands Manual mz.cfg(1)
NAME
mz - a fast versatile packet generator
SYNOPSIS
/etc/mausezahn/mz.cfg
DESCRIPTION
Mausezahn is a free fast traffic generator written in C which allows you to send nearly every possible and impossible packet. Mausezahn's
MOPS subsystem (Mausezahn's Own Packet System) supports an interactive mode with a Cisco-style command line interface (CLI). In order to
activate this interactive mode, execute Mausezahn using the -x argument, optionally followed by an arbitrary TCP port number, such as
# mz -x 99
in which case you can connect to Mausezahn via
$ telnet 127.0.0.1 99
If no port number is specified, Mausezahn uses the default port number 25542 (which is the date of towel day followed by the answer to the
universe and everything; however, you don't need to understand this in order to continue).
Login credentials as well as other MOPS-related parameters can be specified in the Mausezahn configuration file mz.cfg located in
etc/mausezahn. Currently, user-specific configuration files are not supported.
If no configuration file is present Mausezahn assumes the following default login credentials:
username: mz
password: mz
enable password: mops
Currently only login credentials can be configured within the configuration file. Here is an example content of /etc/mausezahn/mz.cfg:
user = herbert
password = moTTe
enable = T0p5ecreT
Additional configuration options will be officially supported with the next releases.
FILES
/etc/mausezahn/mz.cfg
SEE ALSO
mz(1)
AUTHOR
Herbert Haas.
Visit www.perihel.at/sec/mz/ for Mausezahn news and additional information.
This manual page was written by Herbert Haas <herbert AT perihel DOT at>, for the Debian project.
March 7, 2010 mz.cfg(1)