Posts Tagged ‘ssh’

Script pentru afisare utilizatori linux, bash login, home directory

[code] #!/bin/bash case $1 in ( list-users ) reset echo "Listing users..... " cat /etc/passwd |cut -d ':' -f1 ;; ( list-valid-users ) reset echo "Listing valid users for god >:)" cat test|grep -w  "/bin/sh"$|cut -f1 -d':' cat test|grep -w  "/bin/bash"$|cut -f1 -d':' ;; ( get-user-home ) reset echo "Listing the users home...and username" echo [...]

Share

Download Manager BASH

Anul trecut la faculta avem de facut un download manager in bash la SO(Sisteme de operare) printre altele, era un proiect destul de interesant dupa parerea mea, dar ar fi mult mai interesant sa fi avut si o interfata web un script php care sa apeleze comenzile de bash jumatate php jumatate bash nu ii [...]

Share

Unix Nerd Seeks Love – Funny Craigslist Post

This is a real posting at craigslist classifieds: There is a sad truth to the world today. I am part of a dying breed of people known as “shell users.” We are an old-fashioned bunch, preferring the warm glow of a green screen full of text over the cold blockiness of a graphical interface. We [...]

Share