Search Results

Search: Posts Made By: asyed
1,571
Posted By asyed
Validation of date from file name
I'm writing a shell script for cleanup of older files from various sub-directories inside a main directory

The structure of directories is as below:

Logs
daily
...
22,940
Posted By asyed
Thanks much. This log helped me understand the...
Thanks much. This log helped me understand the issue:

fatal: bad ownership or modes for chroot directory

Have modified the permissions accordingly and it fixed the issue

Lessons learnt:
...
22,940
Posted By asyed
Yeah, tried them and no change in error in both...
Yeah, tried them and no change in error in both these cases.
22,940
Posted By asyed
Thanks. Have tried this link also and still face...
Thanks. Have tried this link also and still face the same problem
22,940
Posted By asyed
Ok. I'm adding more details for your review here:...
Ok. I'm adding more details for your review here:

Firstly, entries in sshd_config are:

cat /etc/ssh/sshd_config
# $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $

# This is...
22,940
Posted By asyed
This is customer's server and hence disabling...
This is customer's server and hence disabling firewalls etc. is not possible as they adhere to their security policy. I just need password authentication. Didn't bounce the system after applying the...
22,940
Posted By asyed
secure sftp login not working in RedHat Linux
I'm using RedHat Linux 6.1 and wanted to create an user account with only access to single directory. Have followed all the steps from below link and still user is not able to login:

How to Setup...
1,741
Posted By asyed
Replace duplicate columns with values from first occurrence
I've a text file with below values viz. multiple rows with same values in column 3, 4 and 5, which need to be considered as duplicates. For all such cases, the rows from second occurrence onwards...
3,363
Posted By asyed
Hi ahamed101....thanks a lot....your solution...
Hi ahamed101....thanks a lot....your solution works fine....but,if I want to return only the missing field for e.g. DDD in above case, how to modify this command? I have redirected the output to a...
3,363
Posted By asyed
Comparing the matches in two files using awk when both files have their own field separators
I've two files with data like below:

file1.txt:

AAA,Apples,123
BBB,Bananas,124
CCC,Carrot,125

file2.txt:

Store1|AAA|123|11
Store2|BBB|124|23
Store3|CCC|125|57
Store4|DDD|126|38
...
1,735
Posted By asyed
Hi Bartus....Thanks a lot...your solution worked...
Hi Bartus....Thanks a lot...your solution worked out
1,735
Posted By asyed
Remove the partial duplicates by checking the length of a field
Hi Folks -

I'm quite new to awk and didn't come across such issues before. The problem statement is that, I've a file with duplicate records in 3rd and 4th fields. The sample is as below:
...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy