10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script that currently runs fine and I need to add or || (or) condition to the if statement and I'm not sure the exact syntax as it relates to the use of brackets.
my current script starts like this:
errLog="/usr/local/website-logs/error.log"
apacheRestart="service httpd restart"... (3 Replies)
Discussion started by: jjj0923
3 Replies
2. UNIX for Dummies Questions & Answers
I have a FASTA file with thousands of sequences that looks something like this:
I need to modfy the header in such way that everything after the dot is remove. Thus, I will end up with something like this:
Thanks (1 Reply)
Discussion started by: Xterra
1 Replies
3. Shell Programming and Scripting
Hello everyone, I am currently doing a utility that acts like a cd command but keeps track of your change of directories.
What I plan to do is just to modify the cd source code, is that even possible? Can someone please help me with this?
I also need to incorporate the command with the... (3 Replies)
Discussion started by: iennetastic
3 Replies
4. Shell Programming and Scripting
Hello everyone,
I have some data files, with mixed header formats. the sample for the same is:
>ABCD76567.x1
AGTCGATCGTAGTCGTAGCTGT
>ABCD76567.y1
AGTCGATCGTAGTCGTAGCTGT
>ABCD76568.x1 pair_info:898989
AGTCGATCGTAGTCGTAGCTGT
>ABCD76568.y1 pair_info:893489
AGTCGATCGTAGTCGTAGCTGT... (2 Replies)
Discussion started by: ad23
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have a file that looks something like this (2 columns 4 rows):
eeeeeeeeeeeeeeeeeeeeeeeeeeeee -45
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr -24
ttttttttttttttttttttttttttttttttttttttttttt -29
uuuuuuuuuuuuuuuuuuuuuuuuuuu -23
How do I get it to look like this:
-45... (3 Replies)
Discussion started by: phil_heath
3 Replies
6. Shell Programming and Scripting
hi ,
I have a javascript file like this:
function fnValidateId(){
var array_id = new Array("444","7888","6633","555","146562","3333","33332")
var tmp_id = document.form1.id.value;
var num=0;
while(1)
{
if(tmp_id ==... (9 Replies)
Discussion started by: Sreejith_VK
9 Replies
7. UNIX for Dummies Questions & Answers
Hi all, how do i modify a variable's value.
var1='abcd efgh ijkl mnop abcd'
how do i get var2 from var1
var2=$(......)
$echo var2
abcd efgh ijkl mnop
i.e. i have removed a duplicate occurence.
or in general how to modify a varible.
thanks in advance (6 Replies)
Discussion started by: kartikkumar84@g
6 Replies
8. Shell Programming and Scripting
Hi,
I have a file which has data kind of like this.
Apr 13 08:20:38 uslis10a sendmail: m3DDKSx3006432: usliss26.ca.com
Apr 13 08:20:38 uslis10b sendmail: m3DDKSoK006433: usliss26.ca.com
Apr 13 08:20:38 uslis10b sendmail: m3DDKcSo006442: usliss26.ca.com
Apr 13 08:20:38 uslis10c... (2 Replies)
Discussion started by: eamani_sun
2 Replies
9. Shell Programming and Scripting
Hi,
I want to change the login prompt from $ to something more explanatory like
(Username)(basename of pwd):
I also need to get this in a different font color.
Can someone pls tell me what I have to modify in my rc file. I m using CShell currently.
Would be great if u can give me... (7 Replies)
Discussion started by: mahatma
7 Replies
10. UNIX for Dummies Questions & Answers
Hello all,
we have here some hp superdomes with PA-RISC 8700 Processors and need to know how much tpmC / Processer ....
Do anyone knows what we mean? THX for help.... :-) (1 Reply)
Discussion started by: ortsvorsteher
1 Replies