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
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...
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...
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...
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...
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 ...
4
How do you create an empty tar file in AIX?
$touch myfile.tar doesn't work.
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?
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...
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 ...
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...
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...
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...
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...
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...
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...
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 ...
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
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?
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...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.