Search Results

Search: Posts Made By: prash358
5,097
Posted By Corona688
If you absolutely need it, you will have to...
If you absolutely need it, you will have to install gcc and make. Don't install perl into its old directories. See update perl from 5.14.2 (ubuntu 12.04 default version) to 5.18...
Forum: Solaris 05-29-2013
14,103
Posted By hicksd8
Yes you can if you want to try a reboot. If...
Yes you can if you want to try a reboot.

If a straight boot still doesn't work you will need to boot from cd into single user again and carry on from where you left off.
13,069
Posted By balajesuri
Let's say you have installed perl 5.10 in...
Let's say you have installed perl 5.10 in /path/to/perl510 and the perl binary is /path/to/perl510/bin/perl

Your existing perl would be /usr/bin/perl right?

So you may mv /usr/bin/perl...
Forum: Solaris 10-02-2012
12,078
Posted By jim mcnamara
Can you show what you get when you try this...
Can you show what you get when you try this series of commands

#does this command at least show spool as a directory and run as a directory?
ls -lad /var
# if it does try
cd /var/spool
#...
Forum: Solaris 09-14-2012
2,726
Posted By Corona688
Well, try to find the files its complaining about.
Well, try to find the files its complaining about.
10,057
Posted By jim mcnamara
Generally you don't do that kind of test in a...
Generally you don't do that kind of test in a crontab file, the test should be inside the script itself.

However, assume you want to see if the host name is foo, ignore the first part of the...
9,336
Posted By Corona688
I don't think you're really looking at the code. ...
I don't think you're really looking at the code.

while read ID
do
[ -f "/photos/${ID}.jpg" ] && echo "/photos/${ID}.jpg"
[ -f "/photos/thumbnail/${ID}-tn.jpg" ] && echo...
26,369
Posted By Don Cragun
For the input you listed, the following should...
For the input you listed, the following should work:
grep -c -e "^/dir_a/[^/]*$" file
grep -c -e "^/dir_a/dir_b/[^/]*$" file
26,369
Posted By alister
grep '^/dir_a/[^/]*$' Regards, Alister
grep '^/dir_a/[^/]*$'

Regards,
Alister
9,336
Posted By Corona688
Odd. I think that's supposed to be valid syntax,...
Odd. I think that's supposed to be valid syntax, but Solaris does have a really old and noncompliant shell...

Try putting the ! inside the [ ]

if [ ! -f $LIST ]
9,336
Posted By Chubler_XL
Yes that is correct, the awk command is just to...
Yes that is correct, the awk command is just to produce a list of what was removed by the xargs command run earlier.

Unfortunately your rm doesn’t support -v (verbose), so the best way to get a...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 06:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy