Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

no of lines

Lanklank@htb[/htb]$ cat /etc/passwd | grep -v "false|nologin" | tr ":" " " | awk '{print $1, $NF}' | wc -l

5
Comment

PREVIOUS NEXT
Code Example
Shell :: snap remove all disabled 
Shell :: cmd echo datetime in loop 
Shell :: git ignore is not working on local repository 
Shell :: remove white space from file and display result 
Shell :: npm start prevent browser 
Shell :: bad substitution shell 
Shell :: anbox linux 
Shell :: chrome saved cache gif 
Shell :: Author identity unknown git bash both ang e type 
Shell :: powershell copy all files recursively 
Shell :: grep stack overflow 
Shell :: install slurm ubuntu 20.04 
Shell :: modify env var linuc 
Shell :: how to check my git username and password 
Shell :: sed all except last 
Shell :: sed replace inline file 
Shell :: autostart syncthing (replace myuser with your username) 
Shell :: rename a file in terminal linux 
Shell :: only migarte one table 
Shell :: how to rename file sequential in ubuntu 
Shell :: yum mongodb ubuntu 16.04 
Shell :: checkra1 
Shell :: How to install u-torrent from a tar.gz on Kali Linux 
Shell :: Package `pywhatkit` not found 
Shell :: my macbook trminal has no color 
Shell :: linux reboot every day 
Shell :: create raid5 linux 
Shell :: linux monitor ttyusb0 
Shell :: "scrapy shell" pass cookies to fetch 
Shell :: start a new shell to examine the situation 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =