mirror of
				https://github.com/onceupon/Bash-Oneliner.git
				synced 2025-11-03 22:51:07 +01:00 
			
		
		
		
	Insert items for the 'system' section
Add items for finding out last and current login users.
This commit is contained in:
		
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							@@ -1579,11 +1579,6 @@ gsettings set org.gnome.gedit.preferences.editor scheme 'cobalt'
 | 
			
		||||
gsettings set org.gnome.gedit.preferences.editor use-default-font false
 | 
			
		||||
gsettings set org.gnome.gedit.preferences.editor editor-font 'Cantarell Regular 12'
 | 
			
		||||
```
 | 
			
		||||
##### Find out who has logged in on your system
 | 
			
		||||
--> [Quick] Printing out only the names:
 | 
			
		||||
```bash
 | 
			
		||||
users
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
--> [Detail] Printing out login time, load average, etc
 | 
			
		||||
```bash
 | 
			
		||||
@@ -1771,6 +1766,19 @@ top|grep sublime_text
 | 
			
		||||
[wrk](https://github.com/wg/wrk) - HTTP benchmark.   
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
##### Show a listing of last logged in users.
 | 
			
		||||
```bash
 | 
			
		||||
lastb
 | 
			
		||||
```
 | 
			
		||||
##### Show a listing of current logged in users, print information of them
 | 
			
		||||
```bash
 | 
			
		||||
who
 | 
			
		||||
```
 | 
			
		||||
##### Print the user names of users currently logged in to the current host.
 | 
			
		||||
```bash
 | 
			
		||||
users
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Hardware
 | 
			
		||||
[[back to top](#handy-bash-oneliner-commands)]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user