If you are creating scripts/commands for so many different hosts you should not develop them on a Linux box. The reason is that GNU utilities have so many extra-features that getting the command to work on other UNIX dialects is usually impossible.
The "logical not" in standard "find" is the exclamation mark:
will find everything except for directories, for instance. The GNU find should understand this too.
hi,
can some body in helping me in finding the virtual ip of the aix machine
using ifconfig.
I tried ifconfig -a but there could be any interface name so finding that out would be difficult.
So colud anyone suggest me some option.
thanks (2 Replies)
I was wondering if somebody knew of a website where printer drivers can be downloaded for AIX 5.3. Most of our printers are HP and the driver that is installed works properly. As of lately, our users have started to get other type of printers, including Multi-purpose devices. I am struggling to... (2 Replies)
Hi all ,
could anyone please help with find command in AIX. I am trying to find files but there are more than 30thousand files in there.I realise I need to use xargs somehow but dunno the correct way to pull this.
find /log_directory/* -prune -xdev -type f -mtime +20 | xargs ls -l
the... (2 Replies)
Hi Everyone
I'm preparing for upgrading an application. The application upgrade documents say the following. its AIX 5.3 Server.
How do I find if my AIX supports the X11 windowing environment?
Thanks. (1 Reply)
All,
AIX: 6.1 64 bits
How to find out Free memory available on AIX 6.1 64 bits
When I used :
svmon -G
size inuse free pin virtual mmode
memory 1048576 612109 191151 215969 549824 Ded-E
pg space 4325376 ... (1 Reply)
Hello,
I am running find command in an AIX Server to find last 7 days modified directories/files.
>cd /usr/openv/netbackup/db/class
>ls -l
total 0
drwxr-xr-x 3 root system 256 May 28 2014 Catalog-Backup
drwxr-xr-x 3 root system 256 Sep 18 2012 ... (4 Replies)
Hello experts, I would get from a list of files, which are more ancient than 1 hour. Examples:
Current date:
Wed Oct 28 16:10:02 SAT 2015
using:
find path -name 'file_name. *' -mtime +0
I see files with less at 00:00:00 date of the current day.
/path/file_name.20151027170725... (7 Replies)
I am trying to do a find with a variable but no matter which way I try it does not work. This is aix. Can I get some ideas on what I am doing wrong?
for i in `cat file`; do find / -type f -name "$i" -exec ls -l {} + ; done
for i in `cat file`; do find / -type f -name "\$i" -exec ls -l... (6 Replies)
Discussion started by: cokedude
6 Replies
LEARN ABOUT LINUX
ipcs
IPCS(1) Linux Programmer's Manual IPCS(1)NAME
ipcs - provide information on ipc facilities
SYNOPSIS
ipcs [-asmq] [-tclup]
ipcs [-smq] -i id
ipcs -h
DESCRIPTION
ipcs provides information on the ipc facilities for which the calling process has read access.
The -i option allows a specific resource id to be specified. Only information on this id will be printed.
Resources may be specified as follows:
-m shared memory segments
-q message queues
-s semaphore arrays
-a all (this is the default)
The output format may be specified as follows:
-t time
-p pid
-c creator
-l limits
-u summary
SEE ALSO ipcrm(1), ipcmk(1)CONFORMING TO
The Linux ipcs utility is not fully compatible to the POSIX ipcs utility. The Linux version does not support the -b and -o options, but
does support the -l and -u options not defined by POSIX. The portable application shall not use the -a, -b, -o, -l, and -u options.
AUTHOR
krishna balasubramanian (balasub@cis.ohio-state.edu)
AVAILABILITY
The ipcs command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
Linux 0.99 9 October 1993 IPCS(1)