Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: admin_xor
Forum: Red Hat 07-02-2012
11,819
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 ...
6,378
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
19,357
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
8,235
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
3,824
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
25,524
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
5,868
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,364
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,269
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,269
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,269
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
11,269
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,269
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>
Showing results 1 to 13 of 13

 

Featured Tech Videos

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