Skip to main content

UNIX

find+xargs and paths with white spaces

Posted in

Today I had to modify permissions on a set of files, so I start with find and xargs:

$ find . -type f | xargs chmod o-r

but I got tons of errors similar to these:
 

Passwordless SSH

Posted in

Assume that you need a passwordless access to TARGET computer via SSH from ORIGIN computer. You need an authorization key for that:

user@ORIGIN> ssh-keygen -t rsa

Syndicate content