All the running processes
ps aux | less
- gives you the full command or name of the process, which you can then use to create keyboard shortcuts or just kill processes with their PID numbers
- piping the ps aux to less makes the display not run amok on your screen and you can scroll the output with your keyboard
All the processes run by you
ps -u username
- drawback is it doesn't give you the full command
Grepping for particular process.
ps aux | grep screen
- simple, you pipe the ps aux through grep.
- in the example above I was trying to search for what the screenshot utility was called. The output is below:
[user@comp ~]$ ps aux | grep screen
user 1527 0.0 0.1 429476 11664 ? Sl Nov14 0:11 gnome-screensaver
user 19804 0.0 0.1 415516 12696 ? Sl 07:54 0:00 gnome-screenshot --interactive
user 20066 0.0 0.0 109112 840 pts/0 S+ 08:07 0:00 grep --color=auto screen
The bolded text is what I was searching for.
HOWTO:
How to find the internal commands of the processes/programs/applications in linux. Can use these commands to assign keyboard shortcuts. Can use process IDs to kill applications/programs
this must be my dumb and dumber day... I have no idea what you are saying!!? If you start copying 10 gigs of data into a drive of say 4 gigs, it gives you a warning that the drive space is inadequate. Copying stops with a small buffer of space remaining on the destination drive. If you undo all this the copies files are just deleted.
I still dont' see what happens when the data exceeds the size of the drive. I get it with moves but not copies. I guess it probably works most of the time if directories never meet that condition.
Its exactly like the undo option in chrome or any word processor for text. All recent actions in a session are potentially un-doable.
I think you are thinking about linux when you ask this because linux assumes you are smart enough and know what you are doing and there are no step-backs. But when your stylus is either a) not very precisely controlled (because your stylus company just doesn't care about linux enough), or b) maybe its too sensitive and you sneeze moving some folder inadvertently because you are in the nautilus gui, you have no way of knowing what changed...
It doesn't happen often but it does sometimes and is agonizing without an undo option. I posted in Ubuntu forums where people actually bother to answer and someone told me that Dolphin (KDE's file browser gui) has the undo option.
% then a program started to fill your drive
I am not sure I understand this bit. If you copy a folder with gigs of data, you can still undo it. Windows will just delete the copy you made. Every time you do a rename, delete, copy or move anywhere, the context menu item for the corresponding undo rename, undo delete, undo copy or undo move becomes active and you can immediately go back to the original state. In any one session, if you have several such actions, ALL of them can be undone one by one stepping backwards.
I dont even understand how undo could work under all situations. Say you copied a folder with gigs of data, then a program started to fill your drive, then you undo? What happens?
Nautilus is an awful file browser. Compared to the one in windows, it really feels like it came from the 1980s.
I never do anything with Nautilus or the GUI so I have no idea. I don't think there is a way.