Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Ls incorrectly says file not found in sftp. Post 303012610 by pdinsdale on Tuesday 6th of February 2018 04:04:03 PM
Old 02-06-2018
Thanks "MadeInGermany" for the reply, that makes sense. I will try some more and update the thread (unfortunately Oracle have purged some of the old files so now there are only 6k at the moment)
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Writing to a log file incorrectly

I have this script: #!/bin/ksh ######### Environment Setup ######### PATH=/gers/nurev/menu/pub/sbin:/gers/nurev/menu/pub/bin:/gers/nurev/menu/pub/mac :/gers/nurev/menu/adm/sbin:/gers/nurev/menu/adm/bin:/gers/nurev/menu/adm/mac:/ge... (5 Replies)
Discussion started by: heprox
5 Replies

2. Linux

Hostname displays incorrectly

hiii, in many of the linux machines i have tried this but the result is the same everywhere. if there are double letters in a hostname then that is displayed as single letter. e.g. if hostname is set to nepttune then login into the shell will display : NEPTUNE(admin)@/ $ hostname... (15 Replies)
Discussion started by: shamik
15 Replies

3. SuSE

scp/sftp only files which are not found.

Hi, I need to write a script to scp/sftp files from server A to server B..But i do not want to overwrite the files which already exist on server B. Anyone has a script which does the above Regards (2 Replies)
Discussion started by: SystemEng
2 Replies

4. Shell Programming and Scripting

Totals in a file - incorrectly displaying

Afternoon, I have a script which creates/modifies data into a formatted csv. The trailer record should display 2 columns, the first is a static entry of "T" to identify it as a trailer record. The 2nd is a total of amounts in a column throughout the entire file. My total isn't displaying... (8 Replies)
Discussion started by: mcclunyboy
8 Replies

5. UNIX for Dummies Questions & Answers

Strings comparing incorrectly

Hello I'm very new to Linux and shell scripting so I only know basic stuff. I'm making a script with the purpose of finding the longest string or word in a file. Here's what I got so far: #!/bin/bash longest="" for i in $(strings -n $1); do if ] then longest=$i fi done echo $longest... (4 Replies)
Discussion started by: SCB
4 Replies

6. Shell Programming and Scripting

Why sftp not found in my script

Please help I can run sftp command as following sdbs03:/a01/emm/hsup/sche/bin/dtms/si% sftp aispx02@STGISPDBS1 Connecting to STGISPDBS1... sftp> bye It seem ok, no any problem, but if I write a script and call sftp in the script, it show sftp not found error. following is my script file... (1 Reply)
Discussion started by: weyman
1 Replies

7. Fedora

sftp Unspecified GSS failure Minor code may provide more information No credentials cache found

Hi I have managed on numerous machine to set up sftp not too require a password - i finally have one that does not work and Im at a loss - looked around checked permissions etc The 2 machines Ill call then source and target I need to sftp from source to target (previously the target has... (3 Replies)
Discussion started by: wwwdaryl
3 Replies

8. UNIX for Dummies Questions & Answers

Incorrectly using 'ls' in if/then alias

I have an alias defined in which I wish to print the contents of a specific directory using 'ls' based on the if/then condition. The if/then conditions are being correctly evaluated, and the 'ls <path>' result is correct (tested directly in a terminal) although for some reason it seems the 'ls... (4 Replies)
Discussion started by: coldcoffeecup
4 Replies

9. Shell Programming and Scripting

./CARE_SM_SFTP.sh[27]: put: not found error while doing sftp

Hi, I am getting the below error while doing sftp in a script file but the same is getting executed when i run from command prompt ./CARE_SM2_SFTP.sh: put: not found Code :- sftp ${USER_ID}@${FTPHOST4}:/opt/path put <Filename with path> chmod 777 <FileName with Path>... (2 Replies)
Discussion started by: satishmallidi
2 Replies

10. Shell Programming and Scripting

Large File masking incorrectly happening Ç delimeter issue

The OS version is Red Hat Enterprise Linux Server release 6.10 I have a script to mask some columns with **** in a data file which is delimeted with Ç , I am using awk for the masking , when I try to mask a small file the awk works fine and masks the required column , but when the file is... (6 Replies)
Discussion started by: LinuxUser8092
6 Replies
mount.ocfs2(8)							OCFS2 Manual Pages						    mount.ocfs2(8)

NAME
mount.ocfs2 - mount an OCFS2 filesystem SYNOPSIS
mount.ocfs2 [-vn] [-o options] device dir DESCRIPTION
mount.ocfs2 mounts an OCFS2 filesystem at dir. It is usually invoked indirectly by the mount(8) command when using the -t ocfs2 option. OPTIONS
_netdev The filesystem resides on a device that requires network access (used to prevent the system from attempting to mount these filesys- tems until the network has been enabled on the system). mount.ocfs2 transparently appends this option during mount. However, users mounting the volume via /etc/fstab must explicitly specify this mount option to delay the system from mounting the volume until after the network has been enabled. atime_quantum=nrsec The file system will not update atime unless this number of seconds has passed since the last update. Set to zero to always update atime. It defaults to 60 secs. relatime The file system only update atime if the previous atime is older than mtime or ctime. noatime The file system will not update access time. acl / noacl Enables / disables POSIX ACLs (Access Control Lists) support. user_xattr / nouser_xattr Enables / disables Extended User Attributes. commit=nrsec Sync all data and metadata every nrsec seconds. The default value is 5 seconds. Zero means default. data=ordered / data=writeback Specifies the handling of file data during metadata journalling. ordered This is the default mode. All data is forced directly out to the main file system prior to its metadata being committed to the journal. writeback Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to the journal. This is rumored to be the highest-throughput option. While it guarantees internal file system integrity, it can allow old data to appear in files after a crash and journal recovery. datavolume This mount option has been deprecated in OCFS2 1.6. It has been used in the past (OCFS2 1.2 and OCFS2 1.4), to force the Oracle RDBMS to issue direct IOs to the hosted data files, control files, redo logs, archive logs, voting disk, cluster registry, etc. It has been deprecated because it is no longer required. Oracle RDBMS users should instead use the init.ora parameter, filesys- temio_options, to enable direct IOs. errors=remount-ro / errors=panic Define the behavior when an error is encountered. (Either remount the file system read-only, or panic and halt the system.) By default, the file system is remounted read only. localflocks This disables cluster-aware flock(2). intr / nointr The default is intr that allows signals to interrupt cluster operations. nointr disables signals during cluster operations. ro Mount the file system read-only. rw Mount the file system read-write. SEE ALSO
mkfs.ocfs2(8) fsck.ocfs2(8) tunefs.ocfs2(8) mounted.ocfs2(8) debugfs.ocfs2(8) o2cb(7) AUTHORS
Oracle Corporation COPYRIGHT
Copyright (C) 2004, 2010 Oracle. All rights reserved. Version 1.4.3 February 2010 mount.ocfs2(8)
All times are GMT -4. The time now is 02:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy