Compare commits
1 Commits
5a74d0822a
...
a9c637bf9a
Author | SHA1 | Date | |
---|---|---|---|
|
a9c637bf9a |
@ -35,7 +35,6 @@ function config_update {
|
|||||||
|
|
||||||
# Editor
|
# Editor
|
||||||
alias c='codium'
|
alias c='codium'
|
||||||
alias e='micro'
|
|
||||||
|
|
||||||
# Find
|
# Find
|
||||||
alias find='find . -name'
|
alias find='find . -name'
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
% misc
|
|
||||||
|
|
||||||
# Show users service
|
|
||||||
cat /etc/passwd |awk -F: '{ print $1}'
|
|
||||||
|
|
||||||
# Change user password
|
|
||||||
sudo passwd <user>
|
|
||||||
|
|
||||||
# Create user with home
|
|
||||||
sudo useradd -m <username>
|
|
||||||
|
|
||||||
# Create user without home
|
|
||||||
sudo useradd <username>
|
|
||||||
|
|
||||||
# Delete an user
|
|
||||||
sudo deluser <user>
|
|
||||||
|
|
||||||
$ user: cat /etc/passwd |awk -F: '{ print $1}'
|
|
Loading…
x
Reference in New Issue
Block a user