Sorry for the confusion then. I reply to be of assistance, not to harm.
The IBM versions of du and df do not know the option 'h' - which is the option GNU uses as a wildcard for sizes.
From the GNU man page for du:
The -w option for lslpp is to show where a command comes from (or which fileset it comes from. So, my example was to show where the commands du come from - and should have been like this - to prevent confusion!
Hoping this - well - helps
If you need/want support for the -h option you will need to get GNU coreutils for AIX.
Hey y'all,
I need some help with the nitty gritty of the ls command.
-First off in the man pages in the -l mode the first character can be "door" can anyone tell me what a door is???
-also in the -l mode the first character can be "fifo"or"pipe" can anyone tell me what a this is???
-What... (4 Replies)
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
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)
I'm new to this and I have done a lot of research and am 99% done with my ksh script BUT I need help with. The script looks at Journal files and reports back on any that have not been updated for 15 min. Everything works but I wanted more detail (added -ls) and now I'm getting dups.
Original code:... (2 Replies)
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
hi,
i have a fixed width file with multiple columns and need to print data using awk command.
i use: awk -F "|" '($5 == BH) {print $1,$2,$3}' <non_AIM target>.txt for a delimiter file.
but now i have a fixed width file like below:
7518 8269511BH 20141224951050N8262
11148 8269511BH... (5 Replies)
Hi,
Can someone help me out, how I can find the details of the Fonts installed on AIX,
details such as the font type, directory,
Non-Latin Fonts like Greek, Hebrew, or Arabic,
starting with Arabic
Objective: Oracle Reports creates PDF on AIX
we want to use ARABIC Fonts which are... (1 Reply)
Discussion started by: filosophizer
1 Replies
LEARN ABOUT LINUX
dirname
DIRNAME(1) User Commands DIRNAME(1)NAME
dirname - strip last component from file name
SYNOPSIS
dirname NAME
dirname OPTION
DESCRIPTION
Print NAME with its trailing /component removed; if NAME contains no /'s, output `.' (meaning the current directory).
--help display this help and exit
--version
output version information and exit
EXAMPLES
dirname /usr/bin/sort
Output "/usr/bin".
dirname stdio.h
Output ".".
AUTHOR
Written by David MacKenzie and Jim Meyering.
REPORTING BUGS
Report dirname bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report dirname translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO basename(1), readlink(1)
The full documentation for dirname is maintained as a Texinfo manual. If the info and dirname programs are properly installed at your
site, the command
info coreutils 'dirname invocation'
should give you access to the complete manual.
GNU coreutils 8.5 February 2011 DIRNAME(1)