1 / 4

Managing User Sessions and File Operations in Systems

This revision lecture by Mauro Jaskelioff addresses key user session queries, such as how many users are currently logged in and the frequency of specific user logins. It also covers file management issues, including locating a specific file, handling error messages, adjusting file paths, and inspecting file contents without viewing the entire file. Practical solutions for creating and appending files are discussed, including how to find words that begin with a specific letter and generating a new file with specific entries.

colton
Télécharger la présentation

Managing User Sessions and File Operations in Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 32 Revision Lecture Mauro Jaskelioff

  2. About Users • How many users are logged on right now? • How many times user zlizmj is logged on? • Full name of users logged on? • How many times users with name “Mauro” is logged on?

  3. Words • There is a file somewhere in the filesystem named “words” • Argh! Too many errors! Can we send all the errors messages to a file? • What’s the size of the file? • The path to the file is too long. I would like to have the file in my home directory. Which options do I have for doing this?

  4. More words • Which type of file is words? • Can we take a look at the contents without listing the whole (big!) file? • How can we find all the words that begin with ‘x’? • Create a file with all these words called mywords • Append to mywords all the words with the letters (a,b,c,d,e) in order (for example “scabicide”).

More Related