04-17-2008
hi
use ksh or bash
#!/usr/bin/bash or #!/usr/bin/ksh in your script
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello to Unix Guru
I need to move a ASCII file that is created from oracle into Unix box.
I need to move this particular file to somewhere on network drive which is physically hosted on different machine.
Can any one suggest what would be best approach to move the file?
Any shell script... (1 Reply)
Discussion started by: u263066
1 Replies
2. Solaris
Hi,
I am running soalries 9 on sparc machine and would like to upgrade it to solaries 10, I have downloaded and burned the ISO file on the CD. How do I upgrade it now? Is there any guide or anything available? Thanks in advance. (1 Reply)
Discussion started by: mokkan
1 Replies
3. Solaris
Hi,
Can we install solaries in regular intel pc? Or we should use sun machine? Please let me know. (3 Replies)
Discussion started by: mokkan
3 Replies
4. Solaris
i'm new with solaries and i have laptop hp pavilion ze4938ea and the sound doesn't work with it what can i do ? (1 Reply)
Discussion started by: ramy_feteha
1 Replies
5. Shell Programming and Scripting
i have a script i which i am using
#!/bin/ksh
todate=$(date +%m%d%y)
dir="$dir/port${todate}"
the above one works in linux ...ut not working in solaries
could some one please help me in that (13 Replies)
Discussion started by: mail2sant
13 Replies
6. Solaris
Hello All,
I need to basically capture any core dump of C++ binary which is running in a perl script on SUN Solaris OS.
I dont kno much in C++. Can you please suggest me a C++ binary that core dumps when i run which i can use to capture in my Perl script.
Thanks,
Sateesh (3 Replies)
Discussion started by: kotasateesh
3 Replies
7. Solaris
Hi all ,
can any one tell me how to enable ftp/ssh services in solarie 8 machine.
if this services cannot be enabled on solarie 8 machine can you kindly suggest any other alternative.
Thanks
venky (1 Reply)
Discussion started by: venky_vemuri
1 Replies
8. Solaris
Hi All I am very new to solaris and
i want to know what is the purpose of bash_profile file
Where this file is located?
Actually I want to set EDITOR variable to the file so can pls tell me hw can i do it........
one more thing what is bashrc used for is there any relation b/w bashrc and... (2 Replies)
Discussion started by: vijaysachin
2 Replies
9. UNIX for Dummies Questions & Answers
I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do
lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies
10. Solaris
On installing a package in one of the solaries VM, i am getting the below error,
pkgadd: ERROR: memory allocation failure, errno=0
Installation of <CSCObac> failed.
We also collect some stat in the troubleshooting process but could not figure out why.
SNTDCAUJD04FD2# df -h
Filesystem size... (1 Reply)
Discussion started by: Kiran Reddy D
1 Replies
LEARN ABOUT MINIX
dh_movefiles
DH_MOVEFILES(1) Debhelper DH_MOVEFILES(1)
NAME
dh_movefiles - move files out of debian/tmp into subpackages
SYNOPSIS
dh_movefiles [debhelperoptions] [--sourcedir=dir] [-Xitem] [file...]
DESCRIPTION
dh_movefiles is a debhelper program that is responsible for moving files out of debian/tmp or some other directory and into other package
build directories. This may be useful if your package has a Makefile that installs everything into debian/tmp, and you need to break that
up into subpackages.
Note: dh_install is a much better program, and you are recommended to use it instead of dh_movefiles.
FILES
debian/package.files
Lists the files to be moved into a package, separated by whitespace. The filenames listed should be relative to debian/tmp/. You can
also list directory names, and the whole directory will be moved.
OPTIONS
--sourcedir=dir
Instead of moving files out of debian/tmp (the default), this option makes it move files out of some other directory. Since the entire
contents of the sourcedir is moved, specifying something like --sourcedir=/ is very unsafe, so to prevent mistakes, the sourcedir must
be a relative filename; it cannot begin with a `/'.
-Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being installed.
file ...
Lists files to move. The filenames listed should be relative to debian/tmp/. You can also list directory names, and the whole directory
will be moved. It is an error to list files here unless you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.
NOTES
Note that files are always moved out of debian/tmp by default (even if you have instructed debhelper to use a compatibility level higher
than one, which does not otherwise use debian/tmp for anything at all). The idea behind this is that the package that is being built can be
told to install into debian/tmp, and then files can be moved by dh_movefiles from that directory. Any files or directories that remain are
ignored, and get deleted by dh_clean later.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_MOVEFILES(1)