Is "screen" better than "nohup"? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
nohup and screen both does the similar job. But, I want to know why screen is being preferred over nohup command in linux?

screen is good for interactive processes, where you might need to detach and reattach a vtty. nohup is best for unattended processes like userspace daemons or processes you will check on later.

Related

How to lock my monitor with command in linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to lock my desktop with a shell command. How can I do this?
What desktop environment are you using?
Using GNOME:
gnome-screensaver-command -l
Using KDE:
qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock
Using xfce:
xflock4
if you have xscreensaver installer this will work:
xscreensaver -lock
Other then that it is depending on which DE you have.

Is there a way or tool that enables me to use linux like shell environment on top of windows? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there a way in which I can use linux command like ls -l on the window command prompt ? or maybe use powerful commands like grep on windows ?
Cygwin will do what you're looking for
MinGW/MSys is a minimal unix environment.

Is there a way to view who viewed/accessed a file in linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hi I am a noob with linux server stuff.
I was wondering if there is a command in linux or there is a way to see which "user" has viewed or accessed a file in linux?
is there a such command?
I thought 'stat' command works could be a possible option, but after googling, I found out that someone posted here at the bottom:
http://www.howtogeek.com/howto/ubuntu/get-last-accessed-file-time-in-ubuntu-linux/
that there is not a way to view 'who' accessed a file. Is this true?
The audit subsystem can tell you who or what has accessed a filesystem object.

top command in linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I would like to know meaning of each and every column of top command result.
If you see the screenshot, It shows lot of Java process under the user 'resoultion'. But here only one Tomcat is running.
%Mem is same for some of the processes, The Consolidation of these numbers are higher than 100.Please explain what does this mean?
You can find everything you need to know about that command and the meaning of the columns, here: http://linux.about.com/od/commands/l/blcmdl1_top.htm
You can also use the following command to access the manuals in the console: man top
there is a system wide command available
man top

How to hide other users processes from 'ps aux' output for 'users' group? Debian squeeze [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm running Debian. I want users to be unable to see my processes when they type 'ps aux'. A web search wasn't clear enough on how to do that, but it seems to be possible. How do I do that?
There are no simple ways, other than fancy things like tweaking the kernel code or the ps command code, or things like trying to use an innocent-looking name for the process. See:
https://superuser.com/questions/199044/is-it-possible-to-hide-a-process-from-the-listing-of-ps-or-top-on-linux
There are no questions of users or groups: everyone can see everyone's processes.
This cannot be done. What are your motivations for doing this?

Resources