09-25-2009
Symbolic links don't work across the network. You can use one of NFS or SMB/CIFS. Or, if you're on Linux, you can use FUSE to mount remote directories via WebDAV, FTP, or SFTP.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
How will you refer one variable's value using another in unix?
For e.g
Take the case
System1_ip=172.120.20.54
And in latter part of the program while I'm using the values in a for loop
I use
i=System1
j=${i}_ip
k=$j
But K's value at the end of the run is System1_ip
I want... (2 Replies)
Discussion started by: dayanandra
2 Replies
2. UNIX for Dummies Questions & Answers
I want to see a command that I typed a few days back. It looks like I can access only the latest 1000 commands through the history command. Is there a way I can access it or has it been deleted? (2 Replies)
Discussion started by: Legend986
2 Replies
3. Programming
Hi
I have the following block of code in korn shell and don't now how to refer to variable `print variable1.$dvd` ?
---
integer dvd=4
integer number=0
while (( dvd!=0 ))
do
print "Iteracja numer : $dvd"
print "$_" #it refers to $dvd var but want to refer... (3 Replies)
Discussion started by: presul
3 Replies
4. UNIX for Dummies Questions & Answers
When we write a Unix command for example like this:
curl -0 ........
What is meant by "-0"?
Thanks. (7 Replies)
Discussion started by: Abder-Rahman
7 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
How to retrieve/get *.sql file names which we refer in all *.sh files.
Can any one help me on this.
Thanks,
Kolipaka (3 Replies)
Discussion started by: lakshmanrk811
3 Replies
6. UNIX for Dummies Questions & Answers
This may be a dumb question, but googling is not giving me an answer. I'm trying to figure out how to refer to an input file in my code.
Lets say i run a script in bash:
"sh shellscript.sh inputfile"
(Inputfile will be variable...whatever file i run the script on)
I wanted to make... (5 Replies)
Discussion started by: legato22
5 Replies
7. Shell Programming and Scripting
Hi,
In the script below, how can I refer both the input files at the same time?
nawk '{print NR "-" FNR "-" FILENAME}' f1 f2
output:
1-1-f1
2-2-f1
3-3-f1
4-4-f1
5-1-f2
6-2-f2
7-3-f2
I want output like: (4 Replies)
Discussion started by: juzz4fun
4 Replies
8. Shell Programming and Scripting
I am trying to cat on a file located on remote server and assign it to remote variable.
I have both local and remote variables. Running below script from local. test.sh
J_NAME=XXX2
J_IP=XXX
ssh $J_IP "ps auxw |grep java | grep -v grep |grep $J_NAME | awk '{print ... (2 Replies)
Discussion started by: oraclermanpt
2 Replies
9. UNIX for Beginners Questions & Answers
What does this do:
f{
local logfile=$1
] && logfile=$AMS_LOGFILE
echo -e "--"
}
Can someone please guide me what does
a) local variable do
b) -z option stands for what?
c) what other options are there (like -n, or -e, .., which man page do i refer to go through these... (6 Replies)
Discussion started by: AKS_Techie
6 Replies
10. Shell Programming and Scripting
Hi All,
I'm having a python script: test.py in /path/to/script/test.py
I'm using a properties file: test_properties.py (it is having values as dictionary{}) which is in same DIR as the script.
Sample Properties file:
params = {
'target_db' : 'a1_db'
'src_db' : ... (15 Replies)
Discussion started by: saps19
15 Replies
LEARN ABOUT DEBIAN
conchftp
CFTP(1) BSD General Commands Manual CFTP(1)
NAME
cftp -- Conch command-line SFTP client
SYNOPSIS
cftp [-B buffer_size] [-b command_file] [-R num_requests] [-s subsystem]
DESCRIPTION
is a client for logging into a remote machine and executing commands to send and receive file information. It can wrap a number of file
transfer subsystems
The options are as follows:
-B Specifies the default size of the buffer to use for sending and receiving. (Default value: 32768 bytes.)
-b File to read commands from, '-' for stdin. (Default value: interactive/stdin.)
-R Number of requests to make before waiting for a reply.
-s Subsystem/server program to connect to.
The following commands are recognised by :
cd path
Change the remote directory to 'path'.
chgrp gid path
Change the gid of 'path' to 'gid'.
chmod mode path
Change mode of 'path' to 'mode'.
chown uid path
Change uid of 'path' to 'uid'.
exit Disconnect from the server.
get remote-path [local-path]
Get remote file and optionally store it at specified local path.
help Get a list of available commands.
lcd path
Change local directory to 'path'.
lls [ls-options [path]]
Display local directory listing.
lmkdir path
Create local directory.
ln linkpath targetpath
Symlink remote file.
lpwd Print the local working directory.
ls [-l [path]]
Display remote directory listing.
mkdir path
Create remote directory.
progress
Toggle progress bar.
put local-path [remote-path]
Transfer local file to remote location
pwd Print the remote working directory.
quit Disconnect from the server.
rename oldpath newpath
Rename remote file.
rmdir path
Remove remote directory.
rm path
Remove remote file.
version
Print the SFTP version.
? Synonym for 'help'.
AUTHOR
cftp by Paul Swartz <z3p@twistedmatrix.com>. Man page by Mary Gardiner <mary@twistedmatrix.com>.
REPORTING BUGS
Report bugs to http://twistedmatrix.com/bugs/
COPYRIGHT
Copyright (C) 2005-2008 Twisted Matrix Laboratories
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
BSD
October 8, 2005 BSD