10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a filename that looks like this:
I need to shorten only the "_2014" part of the filename to simply "_14" so the filename looks like:
I have to do a search for this string because there are hundreds of files and... (17 Replies)
Discussion started by: bbbngowc
2. Shell Programming and Scripting
I have modified the .bashrc. The problem is that when I write a long command,
it does not write on the next line but continues to write on the same line.
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for... (1 Reply)
Discussion started by: kristinu
3. 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:
apacheRestart="service httpd restart"... (3 Replies)
Discussion started by: jjj0923
4. 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
5. Shell Programming and Scripting
I am having trouble modifying this line. It is because there is a space that I dont know how to deal with.
So the file looks like this
There are two spaces between contig#... (6 Replies)
Discussion started by: phil_heath
6. IP Networking
HP-UX 11iV2, but it's probably universal (tcp/ip)
I have a production and a test server. The test server gets the application updated nightly from the production server software. The application accesses a set of process servers on a separate subnet (184.108.40.206,31,32), but reachable... (1 Reply)
Discussion started by: monroedoug
7. Shell Programming and Scripting
var array_id = new Array("444","7888","6633","555","146562","3333","33332")
var tmp_id = document.form1.id.value;
if(tmp_id ==... (9 Replies)
Discussion started by: Sreejith_VK
8. 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
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
9. Shell Programming and Scripting
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
10. Shell Programming and Scripting
I have installed a new program called chimera under the directory /usr/local/bin/chimera.
the executable is under the directory /usr/local/bin/chimera/bin/chimera.e
If i put myself under the latest directiry and I type ./chimera, the program works.
I would like to avoid this and I... (1 Reply)
Discussion started by: nico-hellas