Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › readlink on aix 6.1
New Posts  All Forums:Forum Nav:

readlink on aix 6.1

post #1 of 4
Thread Starter 
I am working on developing a script that will use rsync to synchronize between the testing server and staging server here at work. I installed coreutils from the IBM AIX toolbox yet i keep getting a command not found.

What im having a tough time finding is where the command is located. I am a linux user and unix is new to me and its something im still getting used to with this job I have.

Any help would be greatly appreciated.
Prebuilt rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
core 2 quad q9550 asus p5n-d  GTX 550 TI 8gb corsair xms2 2x4gb pairs 
Hard DriveOptical DriveOSMonitor
500gb sata drive & 2tb sata2 drive cd/dvd + cd/dvd burner windows vista ultimate 64bit aces x193w 
KeyboardPowerCaseMouse
microsoft keyboard 850 watts xigmatex modular psu cool master logitech optical 
  hide details  
Reply
Prebuilt rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
core 2 quad q9550 asus p5n-d  GTX 550 TI 8gb corsair xms2 2x4gb pairs 
Hard DriveOptical DriveOSMonitor
500gb sata drive & 2tb sata2 drive cd/dvd + cd/dvd burner windows vista ultimate 64bit aces x193w 
KeyboardPowerCaseMouse
microsoft keyboard 850 watts xigmatex modular psu cool master logitech optical 
  hide details  
Reply
post #2 of 4
Thread Starter 
I ended up solving this issue smile.gif
Prebuilt rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
core 2 quad q9550 asus p5n-d  GTX 550 TI 8gb corsair xms2 2x4gb pairs 
Hard DriveOptical DriveOSMonitor
500gb sata drive & 2tb sata2 drive cd/dvd + cd/dvd burner windows vista ultimate 64bit aces x193w 
KeyboardPowerCaseMouse
microsoft keyboard 850 watts xigmatex modular psu cool master logitech optical 
  hide details  
Reply
Prebuilt rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
core 2 quad q9550 asus p5n-d  GTX 550 TI 8gb corsair xms2 2x4gb pairs 
Hard DriveOptical DriveOSMonitor
500gb sata drive & 2tb sata2 drive cd/dvd + cd/dvd burner windows vista ultimate 64bit aces x193w 
KeyboardPowerCaseMouse
microsoft keyboard 850 watts xigmatex modular psu cool master logitech optical 
  hide details  
Reply
post #3 of 4
I'm guessing it was as simple as the ELF not being in your $PATH?

I've not played around with AIX specifically, but some UNIX's / installers don't automatically symlink binaries back to a global bin folder in your $PATH (this is also a problem in Linux if you compile your own software). Where as other UNIX's will intentionally leave out some bin folders from your $PATH. Sometimes they do so because they support different user space tools, (eg Nexenta used to -and possible still does- ship both Solaris and Debian user land so it was up to the user to specify which environment to run). Sometimes they do so for security reasons (eg so only root can compile system wide executables).

Linux tends to consolidate a lot of things - which can make administration a little easier if you're otherwise not sure where to find stuff. But the find command works in UNIX too so worst case scenario, just use that to hunt for the binary. (whereis also works on some UNIX's, so that's another option to try before running a slower and much more painful find /usr/local/ -name "foobar")
Edited by Plan9 - 9/4/13 at 7:22am
post #4 of 4
Use the "rpm -qa" command to list your linux packages and note the package name you desire, then use "rpm -ql" on the specific package name to list the files installed by the package. Grep for the bin directory helps.
Code:
rpm -ql coreutiles\* | grep bin

AIX will install open source software in /opt/freeware if I recall correctly.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › readlink on aix 6.1