Shell Practise¶
$ who
$ wc
word count
$ wc -l
only cont lines
$ who | wc -l
$ cat > nusers who | wc -l
ctrl + D ( end of file, on mac maybe ctrl + c)
$ chmod +x nusers $ ./nusers
change Authoriation and run it
$ who
$ wc
word count
$ wc -l
only cont lines
$ who | wc -l
$ cat > nusers who | wc -l
ctrl + D ( end of file, on mac maybe ctrl + c)
$ chmod +x nusers $ ./nusers
change Authoriation and run it