thanks for your reply
when i use
last|awk ' { if ($1 ~ /^(tt|d|b)/)
print $1 } '
then maybee there are technical user that start also with tt, d or b. do you have an idea with the length of 6 (tt, d or b and then 4-5 digits)?
hello,
i use last command to get logins.
i want to filter it. there are user-id`s and technical users. user-id`s starts with d, b or tt and then there are 4 or 5 digits. technical user do not have that syntax.
for example
user-id:
b99999
b11111
tt8888
technical user:
aixuser
staff
i just...
Thanks, that`s the solution i looked for. Maybee i have to expand this version in subject to the type. Can you help me again, if i know if there are additional requirements?
hello,
i have the following logfile. i want to extract some fields so that i get a csv that i get a csv with following structure:
for example
I`ve tried FS and RS functions, but it doesn`t work. Can you help me? Is awk the right language?
Can you Help me?
Thanks.
Logfile:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.