• IP addresses are NOT logged in this forum so there's no point asking. Please note that this forum is full of homophobes, racists, lunatics, schizophrenics & absolute nut jobs with a smattering of geniuses, Chinese chauvinists, Moderate Muslims and last but not least a couple of "know-it-alls" constantly sprouting their dubious wisdom. If you believe that content generated by unsavory characters might cause you offense PLEASE LEAVE NOW! Sammyboy Admin and Staff are not responsible for your hurt feelings should you choose to read any of the content here.

    The OTHER forum is HERE so please stop asking.

Serious Sbf members safety check point

sweetiepie

Alfrescian
Loyal
Hi , all I did was to

for I in 'cat /etc/passwd | print $1'
do echo @$I
done
Hi Sam KNN my uncle know lah
/etc/passwd file look like this
Screenshot_20211018-071518_Chrome.jpg

Using a for loop
I as the variable (it can be anything a b c etc)
cat the passwd file = list out the file
Print $1 = print the 1st field which is the username
Then you echo the variables you will get
@John
The for loop will run in loop to list out all the usernames
KNN
 
Last edited:

sweetiepie

Alfrescian
Loyal
WTFF

Can you filter further into :

vaxx / unvaxx

virgins / non-virgins

ah peks / ah sohs

married / divorced


:biggrin::sneaky::inlove::roflmao::whistling::whistling::whistling:
My uncle think if those tags are leecorded in the user's profile then it can be done.

user's profiles are leegistered in their home directory e.g /home/johntan/.profile
Eg if we want to filter say married/single
The .profile will have a variable name for Marital Status eg MS when the user selected their Marital Status.

Set username = 'cat /etc/passwd | print $1'
Set user_status = 'cd /home/$username |

for I in
For i in

For I in
WTFF

Can you filter further into :

vaxx / unvaxx

virgins / non-virgins

ah peks / ah sohs

married / divorced


:biggrin::sneaky::inlove::roflmao::whistling::whistling::whistling:
Anything can be leetrieved as long as members willing to input into their profiles :thumbsup:
 
Top