How to list all users on a Linux machine?
cat /etc/passwd | cut -d":" -f1
a christian web developer’s random writings
Posts tagged ‘Linux’
cat /etc/passwd | cut -d":" -f1
In Linux, issue this command
$ convert -thumbnail 200 INPUT_FILE.png OUTPUT_FILE.png
To convert into another image type, just change the output file extension — as simple as that!
$ convert -thumbnail 200 INPUT_FILE.png OUTPUT_FILE.jpg
For more information please visit Cyberciti.biz Tips on How to create image thumbnails.
I have set up svn repositories on dedicated Linux server of my clients but the constant typing of svn password everytime I access the repository makes life for a developer less livable. Until I found the solution…
So here it is, follow the step and hurray!
/Applications/Utilities/Terminal)
ssh-keygen -b 1024 -t dsa
Do not enter a passphrase. Hit enter when prompted for one.
cat ~/.ssh/id_dsa.pub
Copy the output to the clipboard.
cd .ssh
If the directory doesn’t exist, create it:
mkdir .ssh
cd .ssh
vi ~/.ssh/authorized_keys
Hit i to enter Insert mode and then paste your public key (if there is already a key in this file, move to the bottom before pasting). Hit the ESC key to leave Insert mode and type :wq and hit enter to save and exit vi.
That’s it, no more password typing while doing your svn stuff. Go ahead and try your svn commands.