GNU/Linux Commands for Beginners: which and whatis

commandline session $which ls /bin/ls $which firefox /usr/bin/firefox $which grep /bin/grep $which whatis /usr/bin/whatis $whatis which which (1) – locate a command $whatis whatis whatis (1) – display manual page descriptions $whatis linux linux: nothing appropriate. $whatis kcore kcore: nothing appropriate. $whatis mysql mysql: nothing appropriate. $whatis locate locate (1) – find files by name …

GNU/Linux command : Changing Passwords

commandline session $sudo – [sudo] password for jeffrin: sudo: -: command not found $ $su – Password: root>passwd -e jeffrin passwd: password expiry information changed. root>exit logout $login jeffrin login: Cannot possibly work without effective root $sudo login jeffrin [sudo] password for jeffrin: sudo: Account or password is expired, reset your password and try again …

Git server and SSH Debian HOWTO

the following content may not be accurate and detailed Server 1. apt-get install git 2. apt-get install git-daemon-sysvinit 3. mkdir -p /home/user/project.git 4. cd /home/user/project.git 5. git init 6. git config –global user.name “Your Name” 7. git config –global user.email “you@example.com” 8. git commit -a 9. touch .git/git-daemon-export-ok 10. git config –bool core.bare true 11. …