Search Results

Search: Posts Made By: crawf
3,287
Posted By crawf
Thanks Abhishek Ghose! That works well too! ...
Thanks Abhishek Ghose! That works well too!

Thanks for the support guys!

-Crawf
3,287
Posted By crawf
Can that be done in the Bourne shell? Thats what...
Can that be done in the Bourne shell? Thats what i'm working in...

Looks just what i need though! Thanks!

-Crawf
3,287
Posted By crawf
Aha! That works as well! Thanks mate! ...
Aha! That works as well!

Thanks mate!

-Crawf
3,287
Posted By crawf
Quick regex question about alphabetic string
Hi guys,

Pretty new to regex, and i know im doing something wrong here. I'm trying to get a regex command that restricts a string to be 8 characters long, and the first character cannot be 0....
3,505
Posted By crawf
Ah i see! I guess there is more than one way to...
Ah i see! I guess there is more than one way to do things!

That works perfectly era! Thanks so much for all your help! Really appreciate it!

-Crawf
3,505
Posted By crawf
Thanks for the help for that, seems to be rather...
Thanks for the help for that, seems to be rather complicated in the middle section with the
echo "s/^$f"':[^:]*:[^:]*:[^:]*:\([^:,]*\)[:,].*/\1 has logged in more than once/p'


Not quite sure...
3,505
Posted By crawf
Just one more thing, not really important, but is...
Just one more thing, not really important, but is it possible to display their full name instead of username?

Bascially...


if who | cut -f1 -d " " | uniq -d | grep -xf user.deny ; then
...
3,505
Posted By crawf
Era, that seems to have solved the problem! The...
Era, that seems to have solved the problem! The key to that was the uniq -d command i think, i didnt even know what the did until looking it up in the man pages.

What is the different between...
3,505
Posted By crawf
Good idea, but i'm not wanting to really output...
Good idea, but i'm not wanting to really output to a file thats all..

Just to give you an idea of exactly what im trying to do, is i'm trying to write a script to check if a user has logged in...
3,505
Posted By crawf
Adding delimiter to logged in users
Hi guys!

Just was wanting to run a command that would allow me to seperate the currently logged in users.

Basically from this format:

user1
user2
user3


To:
user1|user2|user3 ...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 09:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy