10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Ca21chr2_C_albicans_SC5314 2159343 2228327 Ca21chr2_C_albicans_SC5314 636587 638608
Ca21chr2_C_albicans_SC5314 5286 50509 Ca21chr2_C_albicans_SC5314 634021 636276
Ca21chr2_C_albicans_SC5314 1886545 1900975 Ca21chr2_C_albicans_SC5314 610758 613544... (9 Replies)
Discussion started by: cryptodice
9 Replies
2. Shell Programming and Scripting
Input File:
2000 3
1998 2
1997 2
1994 1
1991 1
1989 1
1987 2
1986 2
1985 1
1984 1
.
.
10 277256
9 278274
8 282507
7 284837
6 287066
5 292967 (4 Replies)
Discussion started by: perl_beginner
4 Replies
3. Shell Programming and Scripting
Below is my code:
count=0
if
...
...
else
...
find * -prune -type d | sort -r -n | while read d; do
count=1
if ; then
echo "Count1:$count"
...
...
break 2;
fi
...
done
...
fi
echo "Count2:$count" (9 Replies)
Discussion started by: mohtashims
9 Replies
4. Red Hat
In my Linux system ephemeral port range is showing different ranges as follows
$ cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000
cat /etc/sysctl.conf | grep net.ipv4.ip_local_port_range
net.ipv4.ip_local_port_range = 9000 65500
Which will be the effective ephemeral port... (5 Replies)
Discussion started by: steephen
5 Replies
5. Shell Programming and Scripting
I have files being generated in format A20140326.00........ to A20140326.24.............
I need to copy these hourly basis from one location to another.
Eg. If i copy from 14 to 19 the hour, I use wildcard as A201403226.1*.
Requirement is : I need to copy from 06 hour and wil run the script... (1 Reply)
Discussion started by: Saidul
1 Replies
6. Shell Programming and Scripting
Hello,
Currently I have a painstaking process that I use to move file for a monthly archive. I have to run the same two commands for 24 different directories. I wish to have a script with a for loop automate this and I have not been able to succeed. Here is what I do 24 times. I know this is... (5 Replies)
Discussion started by: jaysunn
5 Replies
7. Shell Programming and Scripting
Hello,
I am a bit stumped on this. I am attempting to create 24 empty directories with a loop. Seems like I have incorrect syntax. When I run the following command I get the error below.
Command
$ for i in {2..24}; do mkdir $i_MAY_2011 ; doneError x 24
mkdir: missing operand
Try `mkdir... (2 Replies)
Discussion started by: jaysunn
2 Replies
8. HP-UX
Hi,
I am using hp unix
i want to know the use of the following commands
set --
set - variable
thanks (4 Replies)
Discussion started by: gomathi
4 Replies
9. Shell Programming and Scripting
Dear All,
Can anyone advise why this script isn't run as expected?
===========================
status=0
cat /etc/passwd |
while read line; do
status=1
done
echo $status
===========================
it always return 0 , but not 1. why?
anything wrong?
Thanks. (1 Reply)
Discussion started by: tiger2000
1 Replies
10. Shell Programming and Scripting
Hello Friends,
I want to use range in for loop. For that i used (..) operator but it is not working.
Ex:
for i in 1..24
do
echo $i
done
Instead of printing 1 to 24 nos, it gives o/p as: 1..24
Please help me
Thanks in advance. (2 Replies)
Discussion started by: Niyati
2 Replies