Search Results

Search: Posts Made By: admin_xor
Forum: Red Hat 07-02-2012
14,626
Posted By Peasant
Here is from another document, Device Mapper...
Here is from another document,
Device Mapper Support for the udev Device Manager :

NOTE: /dev/dm-N nodes should never be used in scripts to access the device since the N number is assigned ...
9,193
Posted By Scrutinizer
Or you could try this: find . -type d ! -name ....
Or you could try this:
find . -type d ! -name . -prune -o -mtime +7 -print
Forum: War Stories 06-01-2012
21,697
Posted By jgt
I thought the original thread title was more...
I thought the original thread title was more appropriate.
Forum: HP-UX 05-30-2012
3
README: LVM helper
9,620
Posted By keelba
LVM helper
Have you ever had a need to know which lvols were on which disks? Maybe you needed to expand an index filesystem and wanted to make sure you did not expand onto a disk with a data filesystem. Here is...
Forum: AIX 05-29-2012
4,405
Posted By bakunin
To be honest i am not really sure about us not...
To be honest i am not really sure about us not doing homework here. The question nr. 2 is quite suspiciously phrased. Anyway, i am going to give the benefit of doubt and will answer at least two...
Forum: HP-UX 05-02-2012
32,374
Posted By methyl
@admin_xor Not checked the numbers (noted that...
@admin_xor
Not checked the numbers (noted that the above post has been revised) but if we adopt that approach, the syntax should be:
find . -type f \( -mtime -98 -a -mtime +69 \) -exec ls -lad '{}'...
Forum: Red Hat 05-02-2012
6,138
Posted By IKE0000
In the named.conf options zone, set recursion no;...
In the named.conf options zone, set recursion no;

options {
listen-on port 53 { 127.0.0.1; 10.0.1.102; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
...
2,820
Posted By methyl
The correction idea in post #2 contains a basic...
The correction idea in post #2 contains a basic scripting error:

There are no spaces either side of the equals sign. This is not a syntax error BUT the "if" will always return "true" regardless of...
11,925
Posted By jgt
Some systems have an empty file called ...
Some systems have an empty file called $HOME/.lastlogin that is "touched" each time the user logs in.
11,925
Posted By sandip_pan
In Linux I can think of using the following...
In Linux I can think of using the following command in some kind of efficient looping for each user

last -t YYYYMMDDHHMMSS <user>
11,925
Posted By DGPickett
Since a user can become active through non-logins...
Since a user can become active through non-logins like rsh cmd, ssh cmd, sudo, su or set-uid, it'd be nice if there was a way to track this, but it would add overhead. Every time anyone uses a...
11,925
Posted By vbe
Im a bit bit tired so I may say a load of...
Im a bit bit tired so I may say a load of crap...IMHO
rather than: last -f /var/adm/wtmpx | grep user | tail -n-1why not e.g

$ finger -sw user|tail -1
$ last user|head -1

But...
11,925
Posted By jim mcnamara
On POSIX systems last -1 username Gives...
On POSIX systems

last -1 username

Gives full information on the last login for a given user
Showing results 1 to 13 of 13

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