Linux Shell Programming : linux
Hello comrades,
I get began in linux programming and I’ve 2 issues to unravel, of which I have no idea the decision. If anybody might assist me I’d be endlessly grateful. Thanks!
1 – Identify directories whose dimension is larger than a given dimension, specified by the person as a script argument, and compress them.
2 – Enter the server and create a file in your space by making final -f /var/log/wtmp > teste.wtmp. That file accommodates the historical past of system logins and logouts. The purpose is to know, for every person, what number of occasions has she/he entered the system and the overall utilization time. If the person has not logged out, depend the time till the current second.