Search Results

Search: Posts Made By: kotak86
1,321
Posted By kotak86
Hi Thanks but I do not privilege to change any...
Hi
Thanks but I do not privilege to change any of this file.
1,321
Posted By kotak86
#!/usr/bin/perl my $file = $ARGV[0]; open...
#!/usr/bin/perl

my $file = $ARGV[0];
open SLIST, $file or die $!;
my @allserver = (<SLIST>);
foreach my $server (@allserver){
chomp($server);

`ssh -n $server su - username...
1,321
Posted By kotak86
Want to login as su and perform some command
Hi All,

I have some set of server and I want to write a code that can go to each server login as su and perform some command and redirect output of the command to the individual file.

The...
3,297
Posted By kotak86
HI.... Thanks a lot for your help and code, its...
HI....
Thanks a lot for your help and code, its working fine. Still, I am unable to understand the use of 3 backspace (escape character)
3,297
Posted By kotak86
Hi Sorry... actually there was an typo in my...
Hi Sorry...
actually there was an typo in my post; there is not /app directory but only home directory so your command is also not working my PC....

$ankit : df -h | egrep -w /home | awk '{print...
3,297
Posted By kotak86
How to join output of two command in same line?
Hi

I am trying to figureout how to join output of two command in unix in the same line.

for e.g.
$ankit : df -h | egrep -w /home | awk '{print -n $1 "\t" $5}' ;stat --format=%a /home...
Showing results 1 to 6 of 6

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