10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
How to answer the below interview question..
With a path and filename of "/mydir1/mydir2/mydir3/myfilenane.dat" write a UNIX script to display the filename (2 Replies)
Discussion started by: shumail
2 Replies
2. AIX
new to the forums hope is this the right area to post this, I have 4 IBM servers (inherited) and all of them are connecting through a KVM. Probelm is all the servers are fuzzy on the monitor. I have tried switching multiple monitors and all get the same effect no matter if they are wide screen or... (4 Replies)
Discussion started by: Setnaro
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I wanted to display Century in Unix.
I tried with date +"%C"
Which is displaying Mon Aug 29 12:54:54 BST 2011. (Used capital C).
and when used date +"%c"
Displaying Mon Aug 29 12:54:33 2011. (used Small c)
But i want century (21) to get displayed. Please let me know how can i do... (5 Replies)
Discussion started by: nithyasreerupa
5 Replies
4. Shell Programming and Scripting
Hi all,
Please help me out how to read and display two dimensional array elements in unix.
EX: 1 2
3 4 (1 Reply)
Discussion started by: eswarcs
1 Replies
5. Shell Programming and Scripting
:D
please can anyone help me with the thread below. I keep getting parse errors, illegal character M G R.this is a portion of the script:
ckk=.20
Ded=.10
basic_sal=90000
Allowances=echo "$chk" * "$basic_sal" | bc
Deductions=echo "$Ded" * "$basic_sal" | bc
echo "Gross_salary=`expr($basic_sal... (2 Replies)
Discussion started by: alby
2 Replies
6. Linux
Hello there,
how do i multiply a fraction and a whole number? Example 20% of 50,000.
I had gotten 0.2 using the following:
chk=echo 20 100 | awk `{print $1/$2}`
echo $chk
$chk \* 50000 displays the error: non-numeric expression. (1 Reply)
Discussion started by: alby
1 Replies
7. Shell Programming and Scripting
An interesting puzzle. I run character based compiled C-Programs in a Unix environment on PCs in a Window. I want to be able to call up and display in a separate window a picture of a product called by a Unix shell script from within my Unix program.
Ideally I would like to have a script that... (4 Replies)
Discussion started by: Barry Staples
4 Replies
8. UNIX for Dummies Questions & Answers
How Can I Display Unix Path All The Time
currently my profile look like this
# @(#)local.profile 1.8 99/03/26 SMI
stty istrip
PATH=/usr/bin:/usr/ucb:/etc:.
export PATH
# If possible, start the windows system
#
if ; then
if
then
if ; then
... (1 Reply)
Discussion started by: murli1200
1 Replies
9. UNIX for Dummies Questions & Answers
I got a korean file from AS/400 machine and save it in a AIX Server (using ftp command).
The file is converting to CCSID 949 (korean character) and CCSID 13488 (unicode) respectively.
It is no problem to view 2 file by using F-Secure SSH Client (command more)from a window Xp (locale : Korean).... (0 Replies)
Discussion started by: hahahafung
0 Replies
10. UNIX for Dummies Questions & Answers
I can't find the command shell UNIX to display the timestamp of the current date.
It's not an option of the commande date. (3 Replies)
Discussion started by: nicolas
3 Replies