Hi all
Does anyone have a script that will allow me to stop inside a while read loop.
I want to pause the loop until a enter is pressed.
e.g.
While read line
do
echo something
if LINECOUNT > 40
then
read ENTER?"PRESS ENTER TO CONT..."
... (3 Replies)
hi, i will like to know whether awk command can ignore case?
i written a script that will take in user input and search for data on the 1st field from a text file.
echo -n "Title:"
read title
awk -F":" '$1~/'"$title"'/{print $0}' Filename
read ans
return
... (5 Replies)
Hi
I am new to writing script and want to use a Bash Piped while-read and read from user input.
if something happens on server.log then do while loop or if something happend on user input then do while loop.
Pseudocode something like:
tail -n 3 -f server.log | while read serverline || read... (8 Replies)
Hi,
I am working on a script, which requests users to enter input.
Ex: read -p "Please enter your email id:" email
I don't want users skipping this entry, this has to be mandatory.I dont want to proceed without input.
I can do a check if variable $email is empty and proceed if not.But, i... (7 Replies)
Hi,
This query is a part of a much more lengthy script.
I wish to look for all the files in a folder named "data" which in this case has two files i.e. plan.war and agent.properties. For all the files found under data I wish to ask the user as to where they wish copy the files to.
Below,... (14 Replies)
Hi Experts,
Need your guidance for case statement. I tried many way but no success yet.Now my existing code is doing something like below. Each Line of the input file contains one test case.#!/bin/bash
FILE=$1
while read LINE; do
do COMMAND
done < $FILE
Now I want to modify the code... (6 Replies)
I'm having an issue with bash read input when using a case statement.
The script halts and doesn't read the input on the first loop. if I hit enter then the scripts starts to respond as expected. Need some help here.
defaultans=8hrs
read -e -i $defaultans -p "${bldwht}How long would you like... (5 Replies)
Discussion started by: woodson2
5 Replies
LEARN ABOUT OSF1
dtadvfs
dtadvfs(8) System Manager's Manual dtadvfs(8)NAME
dtadvfs - Starts the AdvFS graphical user interface
SYNOPSIS
/usr/bin/X11/dtadvfs [options] [-N] [-C hostname]
OPTIONS
Turns off information messages about starting up the
asemgr utility. This message is displayed at startup and whenever the file system configuration is changed when the system is running
TruCluster Software. Connects to other hosts that are running the AdvFS GUI daemon, advfsd.
OPERANDS
Uses the standard X Windows options. See the X(1X) and xterm(1X) reference pages for information.
DESCRIPTION
The AdvFS graphical user interface (GUI) organizes AdvFS functionality into system management tasks and makes them available through a
graphical interface.
Issue the dtadvfs command to display the AdvFS GUI Main window. This window serves as both the starting point for all AdvFS GUI-managed
tasks and as a monitor for file-system status. When the Main window is displayed, disk-space usage information is shown for the host and
file domains.
From the Main window, you can choose tasks from the following menus: Choose GUI setup options or exit the GUI. Choose file domain, file-
set, clone, or volume configuration tasks. Choose what information displays on the main window or view devices and volumes information.
Choose file domain balance or defragment procedures.
Online help is available for all tasks and windows available through the GUI. To access help, click on the Help button in any window or
choose Help from the menu bar to display information.
RESTRICTIONS
You must be the root user to use this utility and you must register the Advanced File System Utilities license.
FILES
/Storage_Management/Dtadvfs
The indicator for graphic icons. The dtadvfs message log file. Remove or copy this log to another location periodically to prevent
the log from becoming too large. The AdvFS Manager user-interface executable file. The dtadvfs online help files. The dtadvfs X
resource file. The dtadvfs message catalogs. The GUI graphic icon files. The launch script for the graphic icons.
SEE ALSO advfs(4), advfsd(8), X(1X), xterm(1X)dtadvfs(8)