06-01-2011
Is 'has' 'hash', and why toggle it so often?
When you cd, you are asking for a subdirectory unless you cd /topdir.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hey,
I was wondering if its possible to use a complete path and file name using the mget command example
mget /dir1/dir2/dir3/file.ext
or
get /dir1/dir2/dir3/file.ext
because whenever i try its says file not found or permission denied.....
but if i do
cd dir1
cd dir2
cd dir3
mget... (2 Replies)
Discussion started by: Ganondorf
2 Replies
2. UNIX for Dummies Questions & Answers
I need to CD to a particular directory to check log files and interface files. Instead of typing the path manually, is there a way of getting a script to change my working directory to the one I need?
Currently I have a script that CD's to the directories I need but a soon as the script exits,... (5 Replies)
Discussion started by: jagannatha
5 Replies
3. UNIX for Dummies Questions & Answers
How to change current working directory for dbx on UNIX?
means I'll run pgm from one directory , but getcwd() should return path which I want to be, which is not d current dir
:) (5 Replies)
Discussion started by: login0001
5 Replies
4. Shell Programming and Scripting
Hi,
I am using mget ftp command to pull a bunch of zip files from Windows to local unix machines. It is working fine as follows.
-rw------- 1 autosys autosys 614 Aug 19 13:13 02034128.zip
-rw------- 1 autosys autosys 1866 Aug 19 13:13 02034127.zip
-rw------- 1 autosys ... (1 Reply)
Discussion started by: spatra
1 Replies
5. Shell Programming and Scripting
For the below mentioned code..Files are getting transferred from first mget statement alone ie from /home/Arun/*EF01/...Could someone help me regarding this
ftp -vn <<EOD >$LOG
open
user
lcd
ascii
mget /home/Arun/*EF01/GLHEC*
mget /home/Arun/*EF03/GLHEC*
mget... (3 Replies)
Discussion started by: infernalhell
3 Replies
6. AIX
Hi,
I have searched everywhere for an answer to this question but couldn't find one so I ask it here.
From an AIX 5.3 machine I ftp to another AIX 5.3 server. I want to get all files and only files in a directory. This directory has a subdirectory with files in it.
In ftp, I enter the... (5 Replies)
Discussion started by: bheinsius
5 Replies
7. Shell Programming and Scripting
Hi
I am trying to ftp all the files from a directory in server2 to server1 (both unix) The below code is in server1
ftpfile=/home/anitha/ftptxt
echo cd mydir >>$ftpfile
echo mget *.* >>$ftpfile
cat $ftpfile | ftp -i server2
mydir is a directory in server2 and there are some test files in... (4 Replies)
Discussion started by: anijan
4 Replies
8. Shell Programming and Scripting
Hi ,
I am looking for a command to change directory in FTP server with wildcard specified. Basically this is what i am trying.
localserver# ftp remoteserver
ftp> ls
41000_42000
42000_43000
ftp> cd 41*
550 CWD failed. '41*' : no such file or directory.
Could anyone please let me know... (6 Replies)
Discussion started by: thavamaniraja
6 Replies
9. Shell Programming and Scripting
hi Team,
I am connecting from one (A) linux server to another(C)/any linux server by sftp
on A linux server:
sftp userid@C
password:
mget is Not working fine
I am using mget to pull the files. it shows mget as invalid command.
But from (B) Linux server to (C) /to Any server Linux... (15 Replies)
Discussion started by: johnsnow
15 Replies
LEARN ABOUT XFREE86
xmkmf
XMKMF(1) General Commands Manual XMKMF(1)
NAME
xmkmf - create a Makefile from an Imakefile
SYNOPSIS
xmkmf [ -a ] [ topdir [ curdir ] ]
DESCRIPTION
The xmkmf command is the normal way to create a Makefile from an Imakefile shipped with third-party software.
When invoked with no arguments in a directory containing an Imakefile, the imake program is run with arguments appropriate for your system
(configured into xmkmf when X was built) and generates a Makefile.
When invoked with the -a option, xmkmf builds the Makefile in the current directory, and then automatically executes ``make Makefiles'' (in
case there are subdirectories), ``make includes'', and ``make depend'' for you. This is the normal way to configure software that is out-
side the X Consortium build tree.
If working inside the X Consortium build tree (unlikely unless you are an X developer, and even then this option is never really used), the
topdir argument should be specified as the relative pathname from the current directory to the top of the build tree. Optionally, curdir
may be specified as a relative pathname from the top of the build tree to the current directory. It is necessary to supply curdir if the
current directory has subdirectories, or the Makefile will not be able to build the subdirectories. If a topdir is given, xmkmf assumes
nothing is installed on your system and looks for files in the build tree instead of using the installed versions.
SEE ALSO
imake(1)
XFree86 Version 4.7.0 XMKMF(1)