var mama execute cat and read txt file so the input of mama is users.txt
then while command read this file,
can you explain me why nothing so no o/p ?
Imagine that /root/users.txt contains:
After executing the command mama=`cat /root/users.txt`, the command:
will be expanded by the shell to:
which will read lines of text from standard input and assign the first word found on each line to the variable andy, the second word found on each line to the variable bob, the third word found on each line to the variable celia, and the remaining words on each line to the variable denise. I assume that rather than producing no output, it is actually sitting there waiting for you to type in a line in response to the read command.
Hello,
We have a T5140 server with Solaris 10 and its suddenly throwing "segmentation core" when I login into the server and not showing any output for commands like df, mount etc. so I had to reboot the server to fix this issue. Please note that there's no boot disk mirroring.
But... (2 Replies)
I've been finding myself using a log file colorizer written in perl to reformat and colorize the output from many different programs. Mainly, however, I use it to make the output from "tail -f" commands more readable.
The base perl script I use is based on "colorlogs.pl" available from the... (1 Reply)
hello,
before i have install solaris 9, is good.
I would like to install Ubuntu 10.04 on a Sun Blade 150 blade.
I create cdrom iso burning with a 10x
was open I made a boot ok: boot cdrom
I get the following error:
fast data access mmu miss
i do
probe-ide all
reset-all
always
... (2 Replies)
Hi,
I need some help.
Shell script counter. i need to add condition to check if counter is more than 10 and longer than 3 hours? it runs every 5 mins. it only check count and send email right now.
it runs in cron as below
gregcount.ksh gregdb 10 > /tmp/gregcount.out 2> /tmp/gregcount.err
... (1 Reply)
Hello everyone
I updated a partition from TL06 to TL09, everything looks ok.
I check the errpt comand, lppchk -v and both are fine.
But when I type this command I got this
$ instfix -i |grep ML
All filesets for 5300-02_AIX_ML were found.
All filesets for 5.3.0.0_AIX_ML were... (3 Replies)
please delete and see other post.
Hi,
Im using awk to go through every line, but i have to use it twice as the first awk finds all the lines with a number in one field and the pipes it to wc, and the second does the same as the first but it has a extra pipe into sort and uniq that finds all... (2 Replies)
Hi All ,
I am unable to reinstall the OS on my Ultra Sparc 10. After the 1st CD is loaded when it goes for reboot its goes to ok prompt an its unable to boot.
What could be reason for this behavior? while loading the OS its seems fine but unable to boot!!
Then i tried changing the... (2 Replies)