10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
command:
$ printf 'u1u1.%*s' 7
so if i run the above command on a linux box, i get the expected output of:
jserver@jserver-VirtualBox:~$ printf 'u1u1.%*s' 7
u1u1. jserver@jserver-VirtualBox:~$
jserver@jserver-jserver:~$
it puts 7 spaces after the u1u1.
but when i run it... (4 Replies)
Discussion started by: SkySmart
4 Replies
2. AIX
Please send me link for XVFB Source package for AIX (3 Replies)
Discussion started by: prathap.g
3 Replies
3. AIX
Hi Everyone
I'm preparing for upgrading an application. The application upgrade documents say the following. its AIX 5.3 Server.
How do I find if my AIX supports the X11 windowing environment?
Thanks. (1 Reply)
Discussion started by: rocker_me2002
1 Replies
4. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
5. Shell Programming and Scripting
Hi, I have a scripting assignment for an intro to linux class and I'm really confused about how to do something seemingly simple.
I am supposed to Print the name of each file in the /data/dir16/subdir1 directory in the following format: "My name is: bin"
The desired output example looks like:... (1 Reply)
Discussion started by: danschmidt
1 Replies
6. AIX
Hi,
I have created a relocatable AIX package named Test.
The USIL is /abc
bash-2.05b# lsusil
INSTALL PATH = /abc
COMMENTS = None
Generally if a package gets installed in "/opt/Test" and i want to relocate it to "/abc" it gets installed under "/abc/Test". This happens the way in Solaris,... (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies
7. AIX
Hi,
I have a IBM box (RS/6000) Model No.7026-6H1, currently running AIX 4.3 and now I want to upgrade in AIX 5.3 version.
Please advice Is this model supports the AIX 5.3 version and what precautions we need to take before migration
Best Regds
Bhupal Singh (3 Replies)
Discussion started by: bhupals
3 Replies
8. AIX
Hello,
we have an 7015-R40, we want to update AIX.
oslevel shows 4.3.2.0
At ibm.com we found following
AIX 4300-11 maintenance package
Recommended maintenance for AIX 4.3.3
It's possible to update the system with this file or does we need another source?
Thank you!
S. (8 Replies)
Discussion started by: Sagitario
8 Replies
9. Shell Programming and Scripting
Hi Folks!
Can you help me with this find -printf command. I seem to be unable to execute the printf-command from my shell script. I'm confused: :confused:
My shell script snippet looks like this:
#!/bin/sh
..
COMMAND="find ./* -printf '%p %m %s %u %g \n'"
echo "Command: ${COMMAND}"... (1 Reply)
Discussion started by: grahamb
1 Replies
10. UNIX for Advanced & Expert Users
When i install SSH on AIX 5.1 I get the following message
{
A prerequisite package has not been installed. Open SSH
requires Open SSL (Secure Sockets Layer). Please install
Open SSL from the AIX Toolbox for Linux CD or Toolbox website:
}
I cannot find the AIX toolbox for linux CD, also on... (1 Reply)
Discussion started by: janr
1 Replies
PRINTF(1) User Commands PRINTF(1)
NAME
printf - format and print data
SYNOPSIS
printf FORMAT [ARGUMENT]...
printf OPTION
DESCRIPTION
Print ARGUMENT(s) according to FORMAT, or execute according to OPTION:
--help display this help and exit
--version
output version information and exit
FORMAT controls the output as in C printf. Interpreted sequences are:
" double quote
\ backslash
a alert (BEL)
backspace
c produce no further output
e escape
f form feed
new line
carriage return
horizontal tab
v vertical tab
NNN byte with octal value NNN (1 to 3 digits)
xHH byte with hexadecimal value HH (1 to 2 digits)
uHHHH Unicode (ISO/IEC 10646) character with hex value HHHH (4 digits)
UHHHHHHHH
Unicode character with hex value HHHHHHHH (8 digits)
%% a single %
%b ARGUMENT as a string with '' escapes interpreted, except that octal escapes are of the form or NNN
and all C format specifications ending with one of diouxXfeEgGcs, with ARGUMENTs converted to proper type first. Variable widths are han-
dled.
NOTE: your shell may have its own version of printf, which usually supersedes the version described here. Please refer to your shell's
documentation for details about the options it supports.
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report printf translation bugs to <http://translationproject.org/team/>
AUTHOR
Written by David MacKenzie.
COPYRIGHT
Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
printf(3)
The full documentation for printf is maintained as a Texinfo manual. If the info and printf programs are properly installed at your site,
the command
info coreutils 'printf invocation'
should give you access to the complete manual.
GNU coreutils 8.22 June 2014 PRINTF(1)