05-21-2008
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We are running a quiz and the data collected from the quiz is submitted to the database. My requirement is to write a shell script to get these submitted records.
I should be able to run this shell script at any time and the records it returns should be the ones submitted after the script was... (5 Replies)
Discussion started by: sehgalniraj
5 Replies
2. UNIX for Dummies Questions & Answers
I want to add one line to the end of my crontab using a script.
I have tried piping in the editor commands, but I can't get it to work.
crontab -e user << EX
$a
This is the text I want to add.
.
wq
EX
This doesn't work. Is there an easier way to do this? (2 Replies)
Discussion started by: johnmsucpe
2 Replies
3. Shell Programming and Scripting
Hi
I have this code, and i want work with a ls -shalR output in .txt
What i need read to do this??
Where start?
#!/usr/bin/perl
# Allrights- A perl tool for making backups of file permissions
# Copyright (C) 2005 Norbert Klein <norbert@acodedb.com>
# This program is free... (1 Reply)
Discussion started by: joangopan
1 Replies
4. Shell Programming and Scripting
Hi
I am looking for script to modify /etc/shadow.
For example:
1-)User enters username
2-)The line of that user is found in /etc/shadow and *LK* is added infront of the second field in /etc/shadow.
How can I do this?
Thanks (7 Replies)
Discussion started by: tjay83
7 Replies
5. Solaris
The script get a csv file with 2 colls for example:
123456,UNIX
963852,Microsoft
the script supose to put the number in the Description of the user in this case UNIX or Microsoft
the error i get is
does not exist.OR: UNIX
does not exist.OR: Microsoft
but the users exist so i do not... (7 Replies)
Discussion started by: shatztal
7 Replies
6. Shell Programming and Scripting
hello forum members,
I have a script which is used find the Uname and passwords and redirects into a output.txt file.I hardcoded a string "ciadev" but iwant search two more strings also "absdev" and "absprod" So modify this script please.
I am lookinmg forward from you,
please find the below... (2 Replies)
Discussion started by: rajkumar_g
2 Replies
7. Shell Programming and Scripting
We have a business need to modify the /etc/passwd file every time a new user gets added, because the user ID begins with a zero. When you create the new user in smit, even if you put the leading zero in, it does not retain it when the entry is added.
That being said, I need to create a script... (11 Replies)
Discussion started by: mshilling
11 Replies
8. Shell Programming and Scripting
please help me to modify my script
#! /bin/bash
while read line
do
echo "$line" >>/tmp/result && mysql -ss -e "use $line; select count(*) from users where type='admin' and deleted = 0;" > /tmp/result;
done < /tmp/db_data
cat result
alan_hardwsdefs
2
bgrmods
2
claudiatdsefs
1... (2 Replies)
Discussion started by: unimaxlin
2 Replies
9. Shell Programming and Scripting
I'm trying to take out strings from log files and add them to a csv.
For example, in the directory now, there are 2 log files. I get the following results:
sed -e '/custodian/b' -e '/packaged by/b' -e '/package name/b' -e '/Total Data (MB) Read/b' -e '/Begin Time/b' -e d *
packaged by =... (10 Replies)
Discussion started by: chipperuga
10 Replies
10. Shell Programming and Scripting
Hi All,
I have an input file like below,
6984 1225
6989 1220
6994 1214 ... (3 Replies)
Discussion started by: Indra2011
3 Replies
LEARN ABOUT OSF1
atmsetup
atmsetup(8) System Manager's Manual atmsetup(8)
NAME
atmsetup - Configures Asynchronous Transfer Mode (ATM) adapters and services
SYNOPSIS
/usr/sbin/atmsetup [-old]
OPTIONS
Invokes the atmsetup script. This option is for backward compatibility, and will be removed in a future release.
DESCRIPTION
The atmsetup command by default invokes the SysMan ATM Configuration application. This application enables you to configure and run ATM on
your system. Specifically, you can configure network adapters and logical interfaces on the adapters for the following environments: Clas-
sical IP, LAN Emulation, and IP Switching. Compaq recommends you use the SysMan application.
Note
Support for IP Switching will be retired in a future release. Do not use it to develop new applications.
During the adapter configuration, you specify the adapter name, the Endpoint System Identifiers (ESIs), pacing options, the type of network
physical layer, and whether to enable flow control, Integrated Local Management Interface (ILMI), signaling, and virtual circuit (VC)
accounting. In addition, you specify the User-Network Interface (UNI) version.
During logical interface configuration, you specify information related to each ATM environment. For Classical IP, you choose whether the
system is an ATMARP client or server and whether to configure permanent virtual circuits (PVCs). For LAN Emulation, you choose which emu-
lated LAN to join and how to join the emulated LAN. For IP Switching, you specify the Subnetwork Attachment Point (SNAP) VCI number and
VCI limits. In all three cases, you change only those default values that your configuration requires. See Asynchronous Transfer Mode for
information on configuring ATM and the ATM configuration application online help for more information.
Before invoking the atmsetup command, make sure that your system is connected to a switch, the network software is configured and running,
ATM is configured into the kernel, and the ATM subsets are installed.
After running atmsetup, you must configure the ATM interfaces with the correct IP address and netmask. Select Configure Interfaces from the
SysMan menu. See sysman(8) for more information.
atmsetup Script
If you specify the -old option, the atmsetup script is invoked. This script prompts you for all information that you need to enter in order
to configure ATM. The script creates and maintains a directory hierarchy /etc/atm, which contains all the ATM configuration information.
The atmsetup script configures the driver and signaling on an ATM end system. In addition, you can configure your system to operate in a
Classical IP or Local Area Network (LAN) emulation environment. See Asynchronous Transfer Mode for additional information on configuring
ATM on your system.
RESTRICTIONS
You must be superuser to use this command.
The atmsetup script (-old option) has the following restrictions: You can configure only lis interfaces to support SVCs and elan inter-
faces. It supports boot-time configuration only.
FILES
Specifies the command pathname The path name containing ATM commands to execute when the system is booted The path name containing ATM com-
mands to execute when the system is shut down ATM Configuration Help Volume (SysMan)
SEE ALSO
Commands: atmarp(8), atmconfig(8), atmelan(8), atmsig(8), sysman(8), sysman_station(8)
Network Administration
Asynchronous Transfer Mode
atmsetup(8)