Hi all,
I'm trying to wirte a small shell script in Linux. My script has the flow like,
cmd1
cmd2
cd testdata
cmd3
After exiting the program, the CWD remains the same as where I execute the program. I need it to be changed to the latest updated directory in the program. How can I do... (1 Reply)
hi,
Iam in directory A. I run a script from there. inside the script i have a command cd B.
When i come out of the script directory is A only.
Even when i come out scrip i want the directory to be B
How to achieve (2 Replies)
Hi I have abc_ahb_one.v
abc_ahb_two.v
abc_ahb_three.v
........l
like this
-----upto
abc_ahb_ninety.v in some directory.
I need to change those file names to like below.
... (5 Replies)
I have a simple shell script that prompts the user to enter a directory to navigate to.
What i want it to do and i don't know how to do this is if the directory is invalid automatically navigate to the home directory.
echo "enter a directory to navigate to:"
read directory
cd $directory... (6 Replies)
Dear all expects,
I have a security problem that I would like to resolve.
I need to create a user ID in my AIX 5.3 environment and to point the login to a specific directory for FTP purposes. There is only 2 directories that I can allow the user ID to perform read/write. I would like to prevent... (2 Replies)
Hi,
I Installed mysql on my CentOS 6.2 Server. But when I tried to change the location of /var/lib/mysql to another directory. I can't start the mysql. Below is what I've done
yum install mysql mysql-server mysql-devel
mkdir /path/to/new/
cp -R /var/lib/mysql /path/to/new
chown -R... (1 Reply)
I am trying to do the following task :
export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)
However, it's not working. What's the way to change to directory and search some file in that directory in single command
Please help. (2 Replies)
Hi All,
There is a code like below in my script
###############################################
###Create Directories and Sub-Directories
###############################################
dpdir=DP_FROM_${from}_TO_${to}
mkdir $dpdir
cd $dpdir
mkdir AWQM WFCONTROLLER PROVCO PRISM
... (1 Reply)
#!/bin/bash
echo -n "Enter number of sanger patients : "; read id
perl -ne 'chomp; system ("perl table_annovar.pl $_ humandb/ -buildver hg19 -protocol refGene,popfreq_all,common,clinvar,clinvarsubmit,clinvarreference -operation g,f,f,f,f,f -otherinfo")' < file.txt
I have the above script... (7 Replies)
Discussion started by: cmccabe
7 Replies
LEARN ABOUT FREEBSD
install-info
INSTALL-INFO(1) User Commands INSTALL-INFO(1)NAME
install-info - update info/dir entries
SYNOPSIS
install-info [OPTION]... [INFO-FILE [DIR-FILE]]
DESCRIPTION
Install or delete dir entries from INFO-FILE in the Info directory file DIR-FILE.
OPTIONS --delete
delete existing entries for INFO-FILE from DIR-FILE; don't insert any new entries.
--dir-file=NAME
specify file name of Info directory file. This is equivalent to using the DIR-FILE argument.
--entry=TEXT
insert TEXT as an Info directory entry. TEXT should have the form of an Info menu item line plus zero or more extra lines starting
with whitespace. If you specify more than one entry, they are all added. If you don't specify any entries, they are determined
from information in the Info file itself.
--help display this help and exit.
--info-file=FILE
specify Info file to install in the directory. This is equivalent to using the INFO-FILE argument.
--info-dir=DIR
same as --dir-file=DIR/dir.
--item=TEXT
same as --entry TEXT. An Info directory entry is actually a menu item.
--quiet
suppress warnings.
--remove
same as --delete.
--section=SEC
put this file's entries in section SEC of the directory. If you specify more than one section, all the entries are added in each of
the sections. If you don't specify any sections, they are determined from information in the Info file itself.
--version
display version information and exit.
REPORTING BUGS
Email bug reports to bug-texinfo@gnu.org, general questions and discussion to help-texinfo@gnu.org. Texinfo home page:
http://www.gnu.org/software/texinfo/
COPYRIGHT
Copyright (C) 2004 Free Software Foundation, Inc. There is NO warranty. You may redistribute this software under the terms of the GNU
General Public License. For more information about these matters, see the files named COPYING.
SEE ALSO
The full documentation for install-info is maintained as a Texinfo manual. If the info and install-info programs are properly installed at
your site, the command
info install-info
should give you access to the complete manual.
install-info 4.8 December 2004 INSTALL-INFO(1)