09-30-2018
Do you mount the NAS via /etc/fstab?
Then have mount options sync,hard,bg
In case you see the random number of files, please check them with
ls -li and df.
And compare it with the working situation.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to write a script that reads down a listcontaining various columns, if line1 column 1 != 0 then copy various field to variable field1, then check line1 column2 if > 0 this time copy to variable field2 ...
Once all columns checked I want to print the value of each variable if it exists... (2 Replies)
Discussion started by: gefa
2 Replies
2. UNIX for Dummies Questions & Answers
Google's failed me (and admins), hoping you guys can help out.
I wrote a web-enabled polling app that goes out and sudo lastb's all our servers every so often, and stores the results. All was well, until I added 3 new servers to my list.
Normal lastb output (my code basis):
userx ... (0 Replies)
Discussion started by: jtp353
0 Replies
3. Shell Programming and Scripting
Hi,
The following shell script returning null results could you please tell me whats the problem in script,
*********************************
#!/bin/ksh
. $HOME/conf/systemProperties/EnvSetup.properties
a=`date +"%y%m%d"`
set -x
for i in `cat... (2 Replies)
Discussion started by: shivanete
2 Replies
4. UNIX for Dummies Questions & Answers
Hello there, I'm a total noob to shell scripting. :)
What I want to do is compare the contents of Folder A and Folder B, and copy any files in Folder A that do not exist in Folder B over to Folder B.
I have gotten so far as:
diff -rq folderA folderB
which returns the names of the files,... (3 Replies)
Discussion started by: raaaaaa
3 Replies
5. Solaris
Solaris experts,
Am struggling, and wondering for the past more than one week that, how to calculate the total available and used memory/swap space.
Finally installed and used top & got some understanding, but while cross-checking, there are mismatches.
Main Memory
top o/p - 2GB... (7 Replies)
Discussion started by: thegeek
7 Replies
6. Shell Programming and Scripting
Hello ,
When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all, I have a tab separated file, and one of the fields is sub-delimited by colon. The problem is there can be zero to 4 colons within this field. When I try to change colons to tabs the result is a file with a differing number of fields.
I want to go from:
a:b:c:d:e
a:b:c
a:b:c:d:e
a... (4 Replies)
Discussion started by: torchij
4 Replies
8. UNIX for Beginners Questions & Answers
So my ldapsearch works great, except for some results I found today. My search is:
/usr/lib64/mozldap/ldapsearch -T -h 10.1.1.1 -p 3891 -D "uid=datapower,ou=People,dc=blah,dc=com" -w xxxxxx -b "ou=Certs,dc=blah,dc=com"... (0 Replies)
Discussion started by: primerib
0 Replies
9. Shell Programming and Scripting
Good morning all,
This is the file name in question OD_Orders_2019-02-19.csv
I am trying to create a bash script to read into files with yesterdays date on the file name while retaining the rest of the files name. I would like for $y to equal, the name of the file with a formula output with... (2 Replies)
Discussion started by: Ibrahim A
2 Replies
10. UNIX for Beginners Questions & Answers
Hi,
Below are the sample files. x.txt is from an Excel file that is a list of users from Windows and y.txt is a list of database account.
$ head -500 x.txt y.txt
==> x.txt <==
TEST01 APP_USER_PROFILE
USER03 APP_USER_PROFILE
TEST02 APP_USER_EXP_PROFILE
TEST04 APP_USER_PROFILE
USER01 ... (3 Replies)
Discussion started by: newbie_01
3 Replies