Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: sarathy_a35
2,137
Posted By sarathy_a35
UNIX Log File Content - Duplication Issue
I have a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a...
3,706
Posted By sarathy_a35
Print Error in Console and both Error & Output in Log file - UNIX
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected...
1,664
Posted By sarathy_a35
yes i need to read each line from file and want...
yes i need to read each line from file and want to use each line as Input data.
1,664
Posted By sarathy_a35
Reading File line by line - Issue
I am trying to read the below file line by line for the below operation
i) extract the directory alone and assign it one variable
ii) extract the permission available in the line and add comma...
2,421
Posted By sarathy_a35
Only Diff command here will not give the required...
Only Diff command here will not give the required output .. im trying to bring the filename and non-matching patterns in single line as shown below

Required Output:
*********************
...
2,421
Posted By sarathy_a35
@Rudic : Im not sure what is the command you are...
@Rudic : Im not sure what is the command you are using ?? Can you explain it ?
2,421
Posted By sarathy_a35
Comparing two files and list the difference with common first line content of both files
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. ...
2,658
Posted By sarathy_a35
@Rudic : I am looking for solution for both the...
@Rudic : I am looking for solution for both the scenario's.

--- Post updated at 12:13 PM ---

@Rudic : For scenario-1, it is not working as expected. Instead of comparing the existing one, it...
2,658
Posted By sarathy_a35
@Reduic : Please find the below explanation on my...
@Reduic : Please find the below explanation on my requirements for scenario-1.

Input parameter:
********************
Scenario-1:

STRING="user::r--,user::ourfrd:r--"

Data available in...
2,658
Posted By sarathy_a35
@ Neo : Windows os only and im using Unix...
@ Neo : Windows os only and im using Unix Shell/Bash scripting.
I have applied the below logic to eliminate comma if available in the string and then kept each string in array. Then I tried to...
2,658
Posted By sarathy_a35
Search partial string in a file and replace the string - UNIX
I have the below string which i need to compare with a file and replace this string in the file which matches closely. Can anyone help me on this.

string(Scenario 1)- user::r--,user::ourfrd:r--...
Showing results 1 to 11 of 11

 

Featured Tech Videos

All times are GMT -4. The time now is 11:15 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy