aix Questions

4

Solved

I need to change the order of a string in AIX, but with the command cut I can't do it Ex: echo FT0215202301.xml | cut -b 7-10,5-6,3-4 Result: 02152023 Expected: 20230215
Cesar asked 23/9, 2024 at 19:15

14

Solved

Is there a faster way to remove a directory then simply submitting rm -r -f *directory* ? I am asking this because our daily cross-platform builds are really huge (e.g. 4GB per build). So the ha...
Updraft asked 25/11, 2009 at 8:5

4

I have a bunch of rpm files in a folder. I am trying to install them using: rpm -ivh *.rpm so rpm can take care of the correct installation order. On some of these rpms I have a newer version inst...
Keyway asked 10/7, 2013 at 23:41

8

I was reading about the differences between /bin/sh and /bin/bash and came across this interesting question/answer: here I made a comment to the answer asking this same question in my title to whi...
Landlubber asked 20/4, 2017 at 20:32

6

Solved

Is there an easy way to copy a table to the same database of course with different name. I tried some of these listed below, db2 "CREATE TABLE SCHEMA.NEW_TB COPY AS SELECT * FROM SCHEMA.OLD_TB WHE...
Repulsive asked 10/7, 2012 at 15:20

4

What version of gRPC are you using? 1.13.1 I am using java 8 to build an executable jar. Below is the java version: $ /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/java -version openjdk version ...
Settles asked 17/2, 2019 at 12:46

4

How do you create an empty tar file in AIX? $touch myfile.tar doesn't work.
Extension asked 17/5, 2012 at 19:6

14

Solved

On SunOS there is pargs command that prints the command line arguments passed to the running process. Is there is any similar command on other Unix environments?
Tremann asked 4/5, 2009 at 20:18

17

Solved

I am writing a shell script to run under the KornShell (ksh) on AIX. I would like to use the mkdir command to create a directory. But the directory may already exist, in which case I do not want to...
Phobia asked 27/4, 2009 at 14:47

6

Solved

I'm getting the follwing exception while trying to connect to a database: java.sql.SQLException: ORA-01005: null password given; logon denied at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoe...
Porty asked 27/7, 2016 at 9:41

6

Solved

I have a file, file, with content like: stringa 8.0.1.2 stringx stringb 12.01.0.0 stringx I have to get a substring from field 2 (the first two values with the dot). I am currently doing cat file ...
Aforethought asked 18/11, 2021 at 14:38

2

On AIX 6.1 ppc64, in order to load libm.a, our application uses the System.loadLibrary("m"). Or it fails with an error message the module has invalid magic number According to IBM documentatio...
Groggy asked 22/1, 2012 at 13:34

4

Solved

I am struggling to get my Java program to run on AIX. I used Eclipse on Windows to create a runnable Jar file, jRams.jar below. I kept on getting a class not found error, until finally I put all th...
Restrictive asked 19/9, 2011 at 10:46

7

Solved

I am using AIX. When I try to copy all the file in a folder to another folder with the following command: cp ./00012524/*.PDF ./dummy01 The shell complains: ksh: /usr/bin/cp: 0403-027 The para...
Stent asked 5/5, 2011 at 3:31

2

Solved

I am running on a AIX 6.1 and using Python 2.7. Want to execute following line but getting an error. subprocess.run(["ls", "-l"]) Traceback (most recent call last): File "<stdin>", line 1, ...
Openair asked 14/11, 2016 at 13:44

4

Solved

I am trying to echo a variable within a printf. I first prompt the user for input using the command below printf 'Specify lrus [default 128]: ' ;read -r lrus Next it prompts the user again to se...
Lynch asked 10/11, 2016 at 10:56

3

Solved

Is there a way to check the length of the current line where the cursor is currently in the VI editor? I tried searching in Google but all I could find is how to see the line number in the currentl...
Groceries asked 18/10, 2017 at 15:49

8

Solved

I use AIX via telnet here at work, and I'd like to know how to find files in a specific folder between a date range. For example: I want to find all files in folder X that were created between 01-A...
Earle asked 20/8, 2013 at 15:38

2

I'm on AIX-6.1 and I'm trying to make use of tput inside my $PS1. I've confirmed I can't even run tput from the commandline. Following is my session: # tput unknown terminal "xterm" # echo $TERM x...
Odysseus asked 28/4, 2009 at 19:55

4

Solved

I have a series of scripts running in parallel as a nohup on an AIX server hosting oracle 10g. These scripts are written by somebody else and are meant to be executed concurrently. All the scripts ...
Lobster asked 19/6, 2010 at 8:0

5

I tried checking on Google, but I couldn't find much information related to the actual question. How do I get a consolidated list of zombie processes and daemon processes? How do I do it on diffe...
Sifuentes asked 1/8, 2013 at 10:10

13

I am trying to change a password of a user via script. I cannot use sudo as there is a feature that requires the user to change the password again if another user changes their password. AIX is ru...
Unassailable asked 8/1, 2015 at 10:17

1

When formatting a number to be printed, 12 digit numbers are being formatted with a colon immediately after the dot. Why is this happening? This is Python 2.7 on an AIX system. $ uname -a ; /opt/b...
Rodl asked 24/8, 2017 at 21:36

6

Does sed -i work on AIX? If not, how can I edit a file "in place" on AIX?
Accouter asked 29/8, 2011 at 16:16

6

Solved

I'm getting an Out of memory! message for all installs. I've never used cpan before and I'm not really sure how it works. I did a ulimit on the /.cpan directory and it resulted in unlimited. Here's...
Bagpipes asked 19/6, 2012 at 19:31

© 2022 - 2025 — McMap. All rights reserved.