hi,
am a new learner to shell programming.
i have a script which will prompt for user to key in their name & display their name afterwards.
script
=====
echo "Pls enter your name:"
read name
echo "Your name is $name."
output
=====
Pls enter your name:
Bob
Your name is Bob.
what... (2 Replies)
What is the command to find the path of a file if we know the file name and the root directory where the file resides..
For eg. if a file abc.dat resides in /home/mydir/myfiles/. I am looking for a command which will be fired from / directory, takes abc.dat as input and display the path of... (3 Replies)
I'm trying to autogenerate a PATH variable from the output of a find command as follows:
PATH=`find $dir -name "*.jar" | sed 's/$/:/'`
The output looks similar like this if I echo it:
PATH=/path/to/1.jar:
/path/to/2.jar:
/path/to/3.jar:
I want the path to be on one line.
I'm on... (3 Replies)
Hi,
I am triying to make sure that there exists only one file with the pattern abc* in path /path/. This directory is having many huge files. If there is only one file then I have to take its complete name only to use furter in my script.
I am planning to do like this:
if ; then... (2 Replies)
i understand by using the pwd command we get the present working directory.
which command is used to find absolute path from home directory to root..
What is absolute path to your and root user's home directory.:confused::confused::confused: (2 Replies)
Hi,
While typing the Unix command, entire command is not visible.When the input command is long, it is not visible. I want the entire command to be displayed when i type it. Please help to resolve this issue.
Thanks
Sampath (7 Replies)
I have a script built that takes the standard inputs $1 $2 $3 after the name and parses some data.
hexsite=`echo "obase=16;$1"|bc`
hexfix=$(printf "%.3X" 0x$hexsite)
if || ;then
type=33
elif || ;then
type=59
elif ;then
type=99
else type=00
fi
cat /directory/*.2012$3*|
I am... (8 Replies)
Hi guys. I want to know the path of a command. I tried "which" command also . But no luck.
Please tell me how to find and update the correct path of the command.
Here I'm unable to find the path of ext2online command
# resize2fs /dev/vg01/lvora_backup
resize2fs 1.39 (29-May-2006)... (3 Replies)
Hi Folks,
I want to run the below command and to exclude the specific path like /var/test/support/... . How to achieve using the below command
find / -type f \( –perm –4000 –o –perm –2000 \) –print
-Siva
Please do not use FONT tags inside CODE tags. And, there is usually no reason to... (2 Replies)
Discussion started by: gsiva
2 Replies
LEARN ABOUT DEBIAN
wzd-config
WZD-CONFIG(1) wzdftpd Client Applications WZD-CONFIG(1)NAME
wzd-config - retrieve information about the installed version of wzdftpd
SYNOPSIS
wzd-config { --prefix | --exec-prefix | --data-dir | --libs | --cflags | --version }...
DESCRIPTION
The wzd-config utility prints configuration parameters of the currently installed version of wzdftpd. It is intended, for example, to be
used by software packages that want to interface to wzdftpd to facilitate finding the required header files and libraries.
OPTIONS
To use wzd-config, supply one or more of the following options:
--prefix
Print the installation prefix, as specified in configure script.
--exec-prefix
Print the installation prefix for executables, usually the same as prefix. This is where you will find server ($eprefix/sbin) or
tools ($eprefix/bin).
--data-dir
Print installation dir for data, modules and backends.
--libs Print the location of object code libraries (use to develop new extensions).
--cflags
Print the location of include headers (use to develop new extensions).
--version
Print the version of wzdftpd and exit.
If more than one option (except for --version) is given, the information is printed in that order, one item per line.
NOTES
In releases prior to wzdftpd 0.4, before the wzd-config came to be, a method for finding the equivalent configuration information did not
exist.
HISTORY
The wzd-config utility first appeared in wzdftpd 0.4.
Application 2003-11-02 WZD-CONFIG(1)