nisSa_miLo 0 Report post Posted September 28, 2007 Soklan 1: Logged in User Information For all logged in users, show their real names and the time and date of their last login. Hint: use who, lastlog, and parse /etc/passwd.*if ade sape2 yang tau..tolong ajar saya... saya hanya tau -- bash$ who -- bash$ lastlog tapi tak tau nak wat cam mana..sy tak tau apa maksud parse /etc/passwd.PLSSS...ANYBODY HELP ME...TQ Quote Share this post Link to post Share on other sites
Paralys3r 0 Report post Posted September 29, 2007 biasanya kita bleh dapatkan real user name dari /etc/passwd. Fields ke 5. Oleh kerana setiap field separated with colon, salah satu cara simple untuk dapatkannnya adalah dengan command cut (e.g cut -f 5 -d ":").. btw rasanya awak boleh dapatkan jawapan kalau post mesej ni kat ruangan Linux. Quote Share this post Link to post Share on other sites