Skip to content

Commit c0ba631

Browse files
Update linux-notes.md
1 parent 2bab439 commit c0ba631

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

linux-notes.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
`tail` prints last 10 lines
22

33
`ps -a | less` all processes, piped to less
4+
5+
`cut -d: -f1 /etc/passwd` list all local users
6+
7+
`sudo passwd <user>` reset user password

0 commit comments

Comments
 (0)