Where does finger info come from in RedHat? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
One of the data elements produced by the finger command gives information on how long a logged in session has been idle. Where does finger get that information from on RedHat? I've looked in /proc/<pid>/ but did not find anything useful, and the documentation doesn't go into the commands implementation.
So, where in the system is finger (or w) pulling this information from?

The finger program get's this information from utmp file located at /var/run/utmp.

Related

Is it possible to see "hidden" documents without knowing they exist? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
Improve this question
is it possible to see all files that are theoretically viewable by a link but not linked on the main website?
For example:
Let's say the website has:
index.html
undepage/index.html
supersecretdocument.pdf
Is it possible to see the supersecretdocument.pdf know that the document exists without knowing that it's there?
If you're asking "Can I know a file exists without trying to GET (or HEAD) it?", the answer is "no."

How can I rename a directory in linux with terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
scenario: I have ssh onto a remote server and have created a directory named helloworld/ and after working with it for some time I wanted to rename it to something like hello_world/ I was wondering how I can easily do that.
I was looking online and I was not able to find much resources, but I think this is a pretty simple thing, so I imagine there will be a simple way of achieving this.
Please let me know
mv <source_directory> <target_directory>

Hardlinks in linux command line input [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Hard links cannot span physical devices. Exactly this statement I read while understanding the concept of hard link in Linux. Can anyone help me to understand this ?
A filename, is a pointer to an inode.
So if you're not on the same drive, it's impossible to link a file, because the inodes belongs to a specific disk

What is the opposite of "xset"? Is there an "xget" command? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
My mouse sensitivity sometimes changes on its own, and I would like to see what the acceleration/sensitivity values are at any point. Sometimes I forget my keyboard repeat rate settings and have to feel around for it.
Is there a command like "xset", but to get the current values?
From the man of xset :
q
The q option gives you information on the current settings.
Is that what you are looking for ?

Is there any way to go back in terminal where I left off? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am new to terminal and I just wanted to know if there's any way I could start from where I left off to avoid typing the whole commands again.
Indeed there is. This is the main feature of GNU Screen, and also of tmux - choosing one is a matter of preference.

Resources