# date --set="$(ssh user@server date)"
Or you can do it the other way around:
# ssh user@host "date --set \"$(date)\""
[root@perlrh5-179 .ssh]# tail -n 10 /var/log/secure
Dec 4 12:39:56 perlrh5-179 sshd[9397]: Authentication refused: bad ownership or modes for directory /root
Dec 4 12:39:59 perlrh5-179 sshd[9398]: Connection closed by 10.200.58.179
...
log shows the issue was the permission of the root dir
drwxrwxr-x 20 root root 4096 Nov 25 10:08 root
change it to 700 and the issue was resolved.
find . -name CVS -exec ls -dl {} \;
also we can use shell
for i in `find . -name CVS` ; do echo -n $i," "; done
change ls, echo to whatever suits you, like rm -rf
{
my $str = "abcd\r\n";
$str =~ s/\r|\n//g;
print "[$str]";
}
{
my $str = "abcd\n";
$str =~ s/\r|\n//g;
print "[$str]";
}
{
my $str = "abcd\r";
$str =~ s/\r|\n//g;
print "[$str]";
}
Alt-left arrow: Go back in navigation history.
Alt-right arrow: Go forward.
our %IMAGEPADV = (
'SxRT-5.1' => [ qw(sol_sparc sol_x64) ],
'LxRT-5.1' => [qw(rhel5_x86_64 sles10_x86_64 sles11_x86_64)],
...
);
In my own module use this to access %IMAGEPADV
%bait::IMAGEPADV