lsof
To print out a list of all open files, which means programs accessing files at the moment, use the lsof command. You'll get a long list; it's best to use it with grep to filter the content. To quickly do some math calculations on the command line, use the PC calculator. screen is a very useful command to detach from an SSH connection without actually disconnecting or exiting from it, which is very useful to pause your work and later go back to exactly the same point where you left, or to work from another computer. This can save a tremendous amount of time. First, in order to create a new detachable session, type screen. Now do your work, for example, type a text in VI. Now, imagine your day at work is over and you go home. Without the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access