Realpath [Missing Manual][AIX 7.1]


 
Thread Tools Search this Thread
Operating Systems AIX Realpath [Missing Manual][AIX 7.1]
# 1  
Old 07-20-2016
Realpath [Missing Manual][AIX 7.1]

NAME

realpath

SYNOPSIS

Code:
/usr/lib/instl/realpath --help | path

DESCRIPTION

Translates 'Path' into its absolute, canonical form.



EXAMPLES


Code:
# /usr/lib/instl/realpath ../../var/tmp
/var/tmp
# /usr/lib/instl/realpath /var/ncs
/etc/ncs
# /usr/lib/instl/realpath /var/ncs/uuidname.txt
/usr/lib/ncs/lib/uuidname.txt

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

The Missing AIX Documentation Project

Welcome to AIX - All Intricacies eXplained List of AIX commands lacking documentation: mkinstallp (create installable packages) imfs (create FS entries in /etc/filesystems) getlvodm (get LVM information from LVCB and ODM) ldeletepv (delete phantom disks from ODM) lqueryvg (lists... (1 Reply)
Discussion started by: bakunin
1 Replies

2. AIX

Dmpdt_chrp [Missing Manual] [AIX 7.1]

NAME dmpdt_chrp SYNOPSIS /usr/lib/boot/bin/dmpdt_chrp /usr/lib/boot/bin/dmpdt_chrp /usr/lib/boot/bin/dmpdt_chrp /usr/lib/boot/bin/dmpdt_chrp DESCRIPTION Dumps OpenFirmware device tree -n dumps NVRAM variables -b dumps in some binary format -i dumps in... (0 Replies)
Discussion started by: agent.kgb
0 Replies

3. UNIX and Linux Applications

WINBIND module missing in AIX 7.1

I have installed following packages from perzl samba-winbind-clients-3.6.22-1 samba-client-3.6.22-1 samba-domainjoin-gui-3.6.22-1 samba-winbind-devel-3.6.22-1 samba-3.6.22-1 samba-common-3.6.22-1 samba-winbind-krb5-locator-3.6.22-1 samba-doc-3.6.22-1 samba-swat-3.6.22-1... (7 Replies)
Discussion started by: laxtnog
7 Replies

4. Red Hat

Yum - resolving missing dependencies that are not missing

I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following: sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm Loaded plugins: fastestmirror Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies

5. SuSE

How to resolve missing missing dependencies with opensuse 11.3 and 12.3?

Hello, This is a programming question as well as a suse question, so let me know if you think I should post this in programming. I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies

6. AIX

Help Please - Command to view missing filesets in aix

Please anyone tell me "What is the command to view missing filesets in aix" Thanks in advance ---------- Post updated at 09:34 PM ---------- Previous update was at 05:09 PM ---------- Please anyone tell me "What is the command to view missing filesets in aix" Thanks in advance (3 Replies)
Discussion started by: sweetysiva29
3 Replies

7. AIX

Missing efix on AIX 4.3.3

Hi forum, I have two servers. Both running same version 4.3.3 TL11. On one of them efix IX85104 is installed but missing on another server. I have tried to find it and download it but it's just too old. Is there any way that I could extract/copy this efix from server where it's present... (1 Reply)
Discussion started by: phobus
1 Replies

8. UNIX for Dummies Questions & Answers

Copying text from Windows to AIX - missing text?

Hi All, I'm hoping this is an easy question, but I'm having a weird problem trying to simply copy and paste text from MS Windows (XP) Notepad and then pasting into vi or vim in AIX. When I type "oslevel" I get "5.3.0.0". The problem is that once the text is pasted, there are sections of text... (2 Replies)
Discussion started by: PlainInverted
2 Replies

9. Emergency UNIX and Linux Support

Missing requisite filesets when installing Sysback AIX

I am trying to install the Sysback client (TSM for System Backup and Recovery) 6.1 on an LPAR running AIX 5.3. One of the filesets is failing to install. Here's what it says in the preview: FAILURES: tivoli.tsm.client.api.32bit 5.5.1.0 # TSM Client - Application Pro... MISSING... (2 Replies)
Discussion started by: need2bageek
2 Replies

10. Shell Programming and Scripting

No Manual Entry

Hi, While executing the following command i am getting output as command not found. iostat output: command not found Also, man iostat is displaying "NO Manual Entry" Why is it so? (5 Replies)
Discussion started by: salil2012
5 Replies
Login or Register to Ask a Question
REALPATH(3)						   BSD Library Functions Manual 					       REALPATH(3)

NAME
realpath -- returns the canonicalized absolute pathname SYNOPSIS
#include <stdlib.h> char * realpath(const char *restrict file_name, char *restrict resolved_name); DESCRIPTION
The realpath() function resolves all symbolic links, extra ``/'' characters, and references to /./ and /../ in file_name. If the resolved_name argument is non-NULL, the resulting absolute pathname is copied there (it must refer to a buffer capable of storing at least PATH_MAX characters). As a permitted extension to the standard, if resolved_name is NULL, memory is allocated for the resulting absolute pathname, and is returned by realpath(). This memory should be freed by a call to free(3) when no longer needed. The realpath() function will resolve both absolute and relative paths and return the absolute pathname corresponding to file_name. All com- ponents of file_name must exist when realpath() is called. RETURN VALUES
On success, the realpath() function returns the address of the resulting absolute pathname, which is resolved_name if it was non-NULL, or the address of newly allocated memory. If an error occurs, realpath() returns NULL. If resolved_name was non-NULL, it will contain the pathname which caused the problem. VARIANTS
Defining _DARWIN_C_SOURCE or _DARWIN_BETTER_REALPATH before including stdio.h will cause the provided implementation of realpath() to use F_GETPATH from fcntl(2) to discover the path. ERRORS
The function realpath() may fail and set the external variable errno for any of the errors specified for the library functions alloca(3), getattrlist(2), getcwd(3), lstat(2), readlink(2), stat(2), and strdup(3). LEGACY SYNOPSIS
#include <sys/param.h> #include <stdlib.h> The include file <sys/param.h> is necessary. LEGACY DESCRIPTION
In legacy mode, the last component of file_name does not need to exist when realpath() is called. SEE ALSO
free(3), getcwd(3), compat(5) HISTORY
The realpath() function first appeared in 4.4BSD. BSD
April 5, 2008 BSD