05-22-2019
What code would you use if you were using powershell?
And, what operating system would you be using instead of Linux if you were using powershell? (I can make an educated guess here, but I'd rather know for sure than make wild guesses.)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How to obtain list of users found in /home/ and append it to a file. (7 Replies)
Discussion started by: bobby36
7 Replies
2. Programming
How can I get the list of logged in users in the system programmatically?
I can get the list with 'who' or 'users' commands but I need to get the list programmatically...
May someone help, please?
Thanks in advance. (2 Replies)
Discussion started by: xyzt
2 Replies
3. HP-UX
Actually.I have 2 questions to ask.
1. how to list locked account in hp-ux?
2.how to list locked account in linux(redhat)?
I can use the command "passwd -S -username" to list a account who were locked .
who knows how to list all locked accounts with one command.
Thanks!! (5 Replies)
Discussion started by: robbiezr
5 Replies
4. Shell Programming and Scripting
I need to add to a BASH script if ${USER} is not in a list of users (smitha, brownd, adamsp) then do something... what is the best shortest way to accomplish an if statement with a list like this? Also the list of users should be in the script, not an external file.
Thanks! (5 Replies)
Discussion started by: glev2005
5 Replies
5. UNIX for Dummies Questions & Answers
Hi
I am new to unix so hopefully someone can help. I need to list all the users I have in my unix enviroment (AIX) and the groups (primary and secondary) they belong to.
Can anyone help?
Many thanks in advance (2 Replies)
Discussion started by: m3y
2 Replies
6. UNIX for Dummies Questions & Answers
Hello i need fast help... script which will list only human users from /etc/passwd and find out if they have something in home. Thanks (11 Replies)
Discussion started by: mentoscz
11 Replies
7. UNIX for Advanced & Expert Users
Hello!Does anybody know how to solve this script:
,,write a shell script which displays a list of names of users who have created files "*. c" in the last day."? (1 Reply)
Discussion started by: theodoraa
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
i would like to know were the folder that contain file with list of all users ?
And were i can learn about what kind of folder i have and wheat they have inside?
question 2.
when i write ls -a i see all directories and then i choose for example Documents
and inside Documents i typed again... (1 Reply)
Discussion started by: iliya24
1 Replies
9. Programming
Hi All
i need to write something in perl that on a mac list all the users accounts, and then carries out a copy, ( rsync ) on each one it finds.
i was going to use glob, but i want to exclude a certain result here is what i have
use Getopt::Std;
use POSIX qw(tmpnam);
use lib... (1 Reply)
Discussion started by: ab52
1 Replies
10. AIX
Hello!
We have an AIX box (6.3), we are looking for a way to get list of logged in users and their IP. The issue we have is running who -ub shows hostname and we are wanting to get the ip. Any suggestions of ideas? Thanks in advance for any help! (4 Replies)
Discussion started by: entropy1980
4 Replies
synos(1) Mail Avenger 0.8.3 synos(1)
NAME
synos - guess operating system from TCP SYN fingerprint
SYNOPSIS
synos [--mtu mtu] [--db path] syn-fingerprint
DESCRIPTION
synos takes a SYN fingerprint, in the format described for the CLIENT_SYNFP environment variable in the avenger(1) man page, and outputs a
guess as to the type of the client operating system. synos makes use of the OpenBSD SYN fingerprint database (which is also repackaged
with Mail Avenger).
OPTIONS
--mtu val
Certain operating systems set the initial TCP window size based on the maximum transmission unit, or MTU, of the network. For such
operating systems, synos usually checks the window size using both the client's MSS option plus 40 bytes (for TCP and IP headers), or a
hard-coded MTU, which defaults to 1,500 bytes. If either value works, the fingerprint is considered to match the operating system.
You can change the value 1,500 by specifying this option. A value of 0 tells synos to use only the value derived from the MSS option.
--db file
Specifies an alternate location for the SYN fingerprint database.
FILES
/usr/local/share/pf.os
Default location of SYN fingerprint database.
SEE ALSO
avenger(1), asmtpd(8)
The Mail Avenger home page: <http://www.mailavenger.org/>.
The OpenBSD home page: <http://www.openbsd.org/>.
BUGS
The operating system type is determined by heuristics that are not always reliable. Moreover, not all operating systems can be
distinguished. The database may not even contain a client's particular operating system and version.
It is not hard to fool synos deliberately by changing TCP socket options or injecting raw packets onto the network.
AUTHOR
David Mazieres
Mail Avenger 0.8.3 2012-04-05 synos(1)