to indent a block, select lines with v or shift+v
and j or down arrow, then use the > command.
Nice one
to indent a block, select lines with v or shift+v
and j or down arrow, then use the > command.
Nice one
I wanted to create an account in my backup machine for a good friend of mine.
As laziness is a fundamental virtue I wanted to avoid as much work as possible, including the part of calling my good friend to tell him to change the password that was random generated in the second machine.
mi first try was:
(as root)
grep <user> /etc/{passwd,shadow,group} >> user_info.text
Then, copy each line of users_info.text into the passwd, shadow and group file in /etc/ on the second unit
I tried to install Go (Google’s programming language) this WE.
Under MAC OS X the install was clean, but under Debian I had a lot of error messages.
To avoid all that noise, you need to go to $GOROOT/src/pkg and edit the Makefile
search the NOTEST section and (respecting the identation) add:
http\
net\
syslog\
Try again and let me know if it works
Powered by WordPress