AIX (Advanced Interactive eXecutive, pronounced "a i ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.

learn more… | top users | synonyms

0
votes
1answer
22 views

Cannot Suspend vi with Ctrl-Z

It's on an AIX 6.1 connected via PuTTY 0.65. If I open a file and hit Ctrl-Z then. It works 1st. But when I switch back and hit Ctrl-Z again. A square cursor jumps to the bottom. I can type something ...
0
votes
1answer
29 views

String replacement shell script on AIX

I am using AIX, and there is not an -i option available in the version of sed I am using: sed: illegal option -- i Usage: sed [-n] Script [File ...] sed [-n] [-e Script] ... [-f Script_file] ...
0
votes
5answers
55 views

Extract filename from file using shell script

I have a text file which has the following line: /u/tux/abc/spool/frtbla_mcdetc_0000149099_20101126135009990_1.tif I want to extract frtbla_mcdetc_0000149099_20101126135009990_1.tif; the word after ...
0
votes
0answers
42 views

How to find the default Java 1.4.2 heap size in AIX

Hi can help to advise me how to find the default heap size ? I didn't mention the minimum and maximum heap size in the startup script . However both max and minimum value auto set to 512 MB . so ...
2
votes
1answer
140 views

AIX - how to change user shell to bash?

I want to know how I can run bash automatically when I log into my AIX server. How can I do that without having to type bash every time I log into my AIX server?
0
votes
1answer
110 views

AIX 7.1 Create another user with equal privileges as root and then disable root user

I've got a weird, stupid question. I've used linux for a long time, but I know AIX is different in certain places, so my question is if I wanted to disable the root user at least from remote login I ...
0
votes
0answers
83 views

AIX lspath doesn't show any output

root@xxxxx:/>lspath root@xxxxx:/>lspath -l hdisk20 lspath: 0514-538 Cannot perform the requested function because the specified device does not support multiple paths. ...
1
vote
0answers
60 views

Verify current routing table matches AIX ODM

My task is to verify that all current routes will be preserved after a reboot of AIX 6.1 and 7.1 systems, i.e., I want to verify the system will reboot and build the current routing table with a ...
1
vote
1answer
250 views

Can I manually replace password hashes in the AIX /etc/security/passwd file?

Can I safely replace the password hash in the AIX /etc/security/passwd file? Are there any AIX quirks that would stand in the way of me just using vi to replace the hash? I want to consolidate the ...
1
vote
1answer
89 views

AIX 5.3 Tar - Exctact to a different directory

I am trying to extract a untar a file to a different directory on a AIX 5.3 box tar -xvf -C /tmp/ ./MyFile.tar tar: -C: No such file or directory tar -C /tmp -xvf ./MyFile.tar Usage: tar ...
0
votes
1answer
30 views

Using chuser and stopudt without root

I am trying to create a user account that can preform certain commands via command line without having to login as root. The commands I want to run are stopudt, chuser, chpasswd. What I have tried is ...
0
votes
0answers
18 views

How do I add printer to AIX menu choices. (Unix operating system)

I need help assigning an alias name (printer name in menu) to a printer already installed in root mode on AIX 5.3/Unix operating system. I have added ip address and host name to etc/hosts already. I ...
0
votes
0answers
27 views

How to read CPU load with Java on AIX

I checked /proc FS on AIX 6.1 in order to get some values for CPU load but unfortunately I could not find anything useful. Is there any text file in AIX which I can use to get these values similar ...
1
vote
1answer
56 views

Password less ssh AIX Linux

I tried to configure password less SSH from AIX to Linux. I executed the command. scp .ssh/id_rsa.pub root@10.170.163.74:/root/.ssh/authorized_keys When I execute the command and try to connect ...
0
votes
1answer
23 views

cd to newest directory

Not strictly bash, but rather Bourne shell if possible. How can I programmatically cd to the newest directory? I want to install the latest package of whatever software, which is located in the newest ...
0
votes
0answers
25 views

How to execute code directly from CVS repository hosted on another server in AIX (Unix )?

We are trying to set CVS for version control. I have question regarding code execution from CVS repository. We have two servers. Let's call them Server A which hosts CVS repository and Server B ...
0
votes
1answer
98 views

Cron jobs on IBM i 7.1

I just found out today that on an IBM i system I am able to use SSH to get to a Unix-like terminal (AIX/PASE) and would like to use this to schedule automated tasks using crontab. Does anyone know if ...
0
votes
0answers
61 views

How to install JRE on AIX7.1 as normal user at custom path (e.g /home/user1)

Is it possible to install JRE in AIX as a normal user and not as a root user. Also how to provide custom target path for the installation directory.
0
votes
0answers
46 views

Resize filesystem not managed by LVM

I have a 10GB lun from my SAN that I can create a filesystem on: mkfs -V jfs2 -o log=INLINE /dev/hdisk3 The size of the lun has been increased to 20GB. Is there any way to resize this filesystem? ...
1
vote
1answer
40 views

How to store password for switch user in my .profile

I usually connect to my AIX server using putty via my regular account and then do "su - otherAccount". This way I've to enter password twice, one for my account and one for the otherAccount. I've ...
1
vote
1answer
275 views

AIX 6.1 won't boot, I need support for make a report of incident

As I wrote the issue is now solved, but I don't understand what happened and how I've solved it! Now I have to report to my boss what exactly happened. Yesterday, after a task for tuning the ...
0
votes
3answers
106 views

Zero sized tar.gz file found inside a tar.gz file

My current directory contains a single file like this- $ls -l -rw-r--r-- 1 root staff 8 May 28 09:10 pavan Now, I want to tar and gzip this file like $tar -cvf - * ...
0
votes
2answers
182 views

bash autocompletion + command history using sudosh on AIX

We configured sudosh on AIX as login shell with /usr/bin/bash as their default shell. All is working fine except bash autocompletion and command history are not working anymore. TAB is TAB, arrows ...
0
votes
2answers
72 views

Is there a way to show “File not found” or a message alike when using the `find` command?

I'm trying to check the existence of several files, without knowing in advance where the files are located. So, I thought of find as the de facto utility to do this... It works as expected, but the ...
1
vote
0answers
329 views

XCOFF32 object files are not allowed in 64-bit mode while installing Crypt-SSLeay-0.65_02

I am installing a Perl package Crypt-SSLeay-0.65_02 in an AIX 6.1 system but while performing perl Makefile.PL getting the following error. The test suite can attempt to connect to public servers to ...
0
votes
1answer
701 views

vi Error | Out of memory saving lines for undo - try using ed

While executing the following command on a large file: vi largeFile.log I get the following error: Out of memory saving lines for undo - try using ed My environment is: AIX6 I cannot add any ...
2
votes
2answers
2k views

UNIX command for deleting / removing files on today's date

I want to remove all the files in the directory I am in currently in that were created today. So if today is April 3rd then the UNIX commond I am asking for would remove someFile2, someFile3, ...
0
votes
1answer
25 views

Not able to reference softlinks in a script

we have couple of softlinks to scripts a directory in our current directory. Let's take we have two softlinks , script1 and script2. We are referencing script2 from within a script1 like below. . ...
1
vote
1answer
757 views

What is the AIX's `ps -T PID` equivalent for Linux?

I really like the way ps -T PID works on AIX. It shows you a nice tree of processes in the right side, and their PID, PPID and other info in the left side. In AIX docs, the -T flag reads Displays ...
1
vote
2answers
434 views

Are files in /tmp cleaned up by the operating system?

I have a script that generates log files that I place under /tmp I run it on Linux RedHat, Ubuntu, Solaris and AIX. I'm wondering I have to clean the logs periodically by myself (e.g. after 14 days) ...
0
votes
1answer
135 views

Filesystem unmounted after machine reboot

I'm having some problems last weekend according to various filesystems are unmounted on monday morning, having them mounted and running the work days before. During the weekend the machine reboot but ...
1
vote
1answer
36 views

list out owned file/directories and change its permissions

Can anyone please tell how can I change files/directories owned by me only. below is the command that list out files/directories owned by me find . -user <username>
0
votes
1answer
66 views

editing string using sed or grep

first of all please execuse my ignorance on UNIX. I am quite new. I have lot many sql files that contains following string ${DB_USERNAME}.${TABLE_NAME} Can anyone please tell me how could I change ...
1
vote
1answer
129 views

Injecting a keypress into a tool started by a bash script

I'm writing a bash script to gather some informations about disks and then start the 'nmon' tool to monitor only those specific disks. I start the nmon tool out of the bash script (with -g). To get ...
0
votes
3answers
95 views

What's the name of the file system of the operating system in UNIX\Linux?

Is that correct to assume that the operating system is ALWAYS placed in /usr in all kinds of UNIX and Linux? I'm writing a script that has to check the free space in the operating system's file ...
0
votes
1answer
1k views

How do you extract a file using tar in AIX?

On a NORMAL Unix distro, tar zxvf works but seems like my machine has some super old version of tar that doesn't have the right parameters. -bash-3.00$ tar zxvf qemu-1.7.0.tar.bz2 Usage: tar ...
0
votes
4answers
767 views

How to do sudo apt-get on an AIX machine

I don't understand this AIX. How do I do sudo apt-get on AIX? -bash-3.00$ sudo -bash: sudo: command not found -bash-3.00$ apt-get -bash: apt-get: command not found
0
votes
0answers
106 views

How to install a Virtual Machine that runs Ubuntu OS on an AIX machine?

I have access to an AIX machine: -bash-3.00$ uname -snlrvmaxupfFM AIX xxxx 109286105 3 5 00068392D900 powerpc IBM,8204-E8A IBM,036568392 040183749F887601 040183749F887600 How could I install an ...
0
votes
1answer
3k views

SSH Issue on AIX 6.1

I recently upgraded the openssl version on AIXX 6.1 server. The install went fine. But now I'm unable to start new ssh sessions from puty to the server and I'm getting the error "Connection ...
1
vote
1answer
410 views

666 permission even after making umask= 0000

I made my umask = 0000. However when I am creating a file it has 666 permission. Although directories get 777 , that's alright. Also my aim is to create file/dir with permissions 774, I guess umask ...
0
votes
1answer
150 views

IBM AIX: How do I set up SSH X forwarding on an unprivileged user with no home?

Long story short: I have an AIX server where my user is unprivileged and has no home directory, and it is not easy to fix this because OS-level management of this server is outside of my jurisdiction. ...
0
votes
1answer
624 views

grep: can't open nohup.out

I am doing recursive grep (grep -r) but it is failing saying grep: can't open nohup.out How to make it going and grep in all directories. I have some idea about nohup but I am not interested in it. ...
3
votes
1answer
422 views

AIX 7.1 su root password bug?

In our AIX 7.1 machine there is a weird bug we've ran into.. If you are logged into the AIX box via SSH as a regular user and you try to su - you get prompted for the password, lets say our password ...
2
votes
1answer
72 views

PuTTY - Stack variables not updating on null line

This is going to be a bit of an odd issue to explain. I'm fairly new to terminal communication as well, being that it is way before my time, so if I mess up any terminology I apologize in advance. ...
1
vote
1answer
478 views

ls -l output difference between files and directories?

I looked at IBM's site and read the definition for ls -l, but could not find an answer to my question. When issuing an ls -l command on AIX, what is the explanation for the different 'file size' ...
0
votes
2answers
98 views

How to install Lex on AIX 7.1

I would like to install OpenMotif on an AIX 7.1, but it gave an error of missing lex. How can I install lex on AIX 7.1? Where can I find the package for it? I got the following error when installing ...
1
vote
2answers
4k views

What is the default path for sudo command?

What is the default path of sudo command? I checked in some Linux flavours and some solaris flavours, it is: /usr/bin/sudo If a Solaris machine is not bundled with sudo, where will it get installed ...
0
votes
1answer
81 views

Defaulting file permissions for any file being kept in a specific folder

I'm Using AIX. I have a folder owned by me. Permissions for the folder are 777. That means anyone can keep their files in this folder. But I want the files to be kept only with 777 permissions. But ...
3
votes
1answer
588 views

Delete old log files in AIX

I am trying write a script to delete old log files in \var\log\applog\nmon on my AIX system. We usually get alerts that the file system is almost full and at the moment delete old files by hand. So ...
1
vote
1answer
9k views

Setting timezone in AIX

The timezone is set to "CET" but date displays CEST $ echo TZ CET $ date Tue Apr 16 15:56:57 CEST 2013 Noticed the timezone on another similar system is "CET0" (not sure what the 0 means here!). ...