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 FREEBSD
linux
LINUX(4) BSD Kernel Interfaces Manual LINUX(4)NAME
linux -- Linux ABI support
SYNOPSIS
To compile support for this ABI into an i386 kernel place the following line in your kernel configuration file:
options COMPAT_LINUX
for an amd64 kernel use:
options COMPAT_LINUX32
Alternatively, to load the ABI as a module at boot time, place the following line in loader.conf(5):
linux_load="YES"
DESCRIPTION
The linux module provides limited Linux ABI (application binary interface) compatibility for userland applications. The module provides the
following significant facilities:
o An image activator for correctly branded elf(5) executable images
o Special signal handling for activated images
o Linux to native system call translation
It is important to note that the Linux ABI support it not provided through an emulator. Rather, a true (albeit limited) ABI implementation
is provided.
The following sysctl(8) tunable variables are available:
compat.linux.osname Linux kernel operating system name.
compat.linux.osrelease Linux kernel operating system release. Changing this to something else is discouraged on non-development systems,
because it may change the way Linux programs work. Recent versions of GNU libc are known to use different syscalls
depending on the value of this sysctl.
compat.linux.oss_version Linux Open Sound System version.
The linux module can be linked into the kernel statically with the COMPAT_LINUX kernel configuration option or loaded as required. The fol-
lowing command will load the module if it is neither linked into the kernel nor already loaded as a module:
if ! kldstat -v | grep -E 'linux(aout|elf)' > /dev/null; then
kldload linux > /dev/null 2>&1
fi
Note that dynamically linked Linux executables will require a suitable environment in /compat/linux. Specifically, the Linux run-time
linker's hints files should be correctly initialized. For this reason, it is common to execute the following commands to prepare the system
to correctly run Linux executables:
if [ -x /compat/linux/sbin/ldconfig ]; then
/compat/linux/sbin/ldconfig -r /compat/linux
fi
For information on loading the linux kernel loadable module automatically on system startup, see rc.conf(5). This information applies
regardless of whether the linux module is statically linked into the kernel or loaded as a module.
FILES
/compat/linux minimal Linux run-time environment
/compat/linux/proc limited Linux process file system
/compat/linux/sys limited Linux system file system
SEE ALSO brandelf(1), elf(5), linprocfs(5), linsysfs(5)HISTORY
Linux ABI support first appeared in FreeBSD 2.1.
BSD February 8, 2010 BSD