10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I use things like this a lot in ksh and bash, but lately bash has been printing the command for every loop:
... | while read f
do
if
then
echo Differ "$f"
fi
done
How to prevent this? (5 Replies)
Discussion started by: DGPickett
5 Replies
2. Shell Programming and Scripting
I have been trying to use read in a script with issues so I tried some things on the command line.
$ echo "testing 123" | read x ; echo $xand
$ echo "testing 123" | read -r x ; echo $xare only producing any output after being invoked the first time after rebooting the machine. I also got into... (14 Replies)
Discussion started by: Michael Stora
14 Replies
3. Shell Programming and Scripting
Greetings.
I have files that contains eleven fields in the file name. Each file has a specific meaning. My job is to list each file name and load the info into a database table for reporting.
My awk code does this (files have VER suffix):
find . -name "*.VER" -exec ls '{}' ';' -printf... (2 Replies)
Discussion started by: alan
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
ls -l displays the long listing of a file in 8 fields.
Query:
------
Does ls -l display the filename size in KB or MB or GB?
-rwxrwxr-x 1 xx dba 655 May 22 06:27 time
Here 655 is KB or MB or GB?
Many thanks. (2 Replies)
Discussion started by: venkatesht
2 Replies
5. Solaris
A new x86 server was installed with 16G of memory. The swap space assigned in the prtvtoc is also 16G. But after the installation of the OS and verifying, noticed df -k output for swap shows as 30G. Other systems do not have this characteristic. Whats wrong in here?:eek: (4 Replies)
Discussion started by: incredible
4 Replies
6. AIX
Hello. I have an AIX machine at 6100-00.
We had some strange activity since filling up /tmp. One symptom is that who -r displays no output. It doesn't hang just no output is displayed.
We are going to boot the machine, but prior to that I'd like to dig a bit to see what may be causing the... (0 Replies)
Discussion started by: maficdan
0 Replies
7. Linux
hiii,
in many of the linux machines i have tried this but the result is the same everywhere.
if there are double letters in a hostname then that is displayed as single letter.
e.g. if hostname is set to nepttune then login into the shell will display :
NEPTUNE(admin)@/
$ hostname... (15 Replies)
Discussion started by: shamik
15 Replies
8. HP-UX
Hello All!
Where I work we have C3600's that have a video cards that have both DVI and Regular RBG type monitor ports on them. My question is: is it possible to spread my desktop across two monitors that are plugged into the one card much like you can do with NVIDIA software like NVIEW for... (0 Replies)
Discussion started by: giftedone
0 Replies
9. UNIX for Dummies Questions & Answers
I have a TV and a monitor hooked up to my box. Right now the system is displaying all the information on the TV instead of the monitor, obviously I want to switch this, as the TV is very impracticle for everything other than watching movies.
I thought I remembered a command I used to use that... (2 Replies)
Discussion started by: Synbios
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
I am working on a custom made FTP application. The application is behaving erratically for the "ls" command. Wild card character passed to the "ls" command (like "ls *temp") is giving inconsistent results. On debuggin I have found that the "ls" command is implemented as shown below in the... (7 Replies)
Discussion started by: diganta
7 Replies
ICNS2PNG(1) User Commands ICNS2PNG(1)
NAME
icns2png - convert Mac OS icns files to png images
SYNOPSIS
icns2png [-x|-l] [options] [file ... ]
DESCRIPTION
icns2png extracts images from mac .icns files, and exports them to png format.
OPTIONS
-l, --list
List the contents of one or more icns images
-x, --extract Extract one or more icons to png images
-o, --output
Where to place extracted files. If not specified, icons will be extracted to the same path as the source file.
-d, --depth
Sets the pixel depth of the icons to extract. (1,4,8,32)
-s, --size
Sets the width and height of the icons to extract. (16,48,etc) Sizes 16x12, 16x16, 32x32, 48x48, 128x128, etc. are also valid.
-h, --help
Displays this help message.
-v, --version Displays the version information
EXAMPLES
icns2png -x anicon.icns # Extract all icon found in anicon.icns
icns2png -x -s 48 anicon.icns # Extract all 48x48 32-bit icons
icns2png -x -s 32 -d 1 anicon.icns # Extract all 32x32 1-bit icons
icns2png -l anicon.icns # Lists the icons contained in anicon.icns
AUTHOR
Written by Mathew Eis
COPYRIGHT
Copyright (C) 2001-2008 Mathew Eis
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
icns2png 1.5 March 2008 ICNS2PNG(1)