I'm pretty poor at using UNIX but I'm learning. Please help me with these simple problems! Much appreciated!
1. I've changed my shell from bash to csh but I prefer bash. How do I change back? I've tried using chsh -s but it's not working!
2. I'm trying to download TopCat. I've done this successfully and set an alias but when I try to load it I get the following error:
I have Java 1.6 running and the website says you need 1.5 or higher.
3. I am trying to use the ZHTools package for DS9. I have been following the online installation guide and I have got to stage 5 where I need to 'make' the file. I get the following errors:
Thanks for your help!
Simon
Last edited by fpmurphy; 02-28-2011 at 10:30 AM..
Reason: code tags please!
Disclaimer: I tried searching but wasn't able to get to the answer so please don't flame.
Scenario:
I have a root script that generates a file on box1 and then needs to scp it over to box2 using user1. Both boxes are running open-ssh.
root@locat-host# scp /tmp/file1 user1@box2:/tmp/file1
... (10 Replies)
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Dear All,
I have the following awk script.
#!/bin/bash
sh stdev.cmd data.file | awk '{print $2}' > out.data
read d < out.data
echo $d
awk '{print $1,$2- $f}' new > newz
The script runs "stdev.cmd" and output a file "out.data" and the value of the... (2 Replies)
for i in `seq 1 10 ` ; do
printf $i '\n';
done
gives me this:
1234567891064mbarch ~ $ (output followed by bash prompt) :(
I've tried so many ways to create a newline at the end. Does anyone have any ideas.. Thanks in advance. Sorry (7 Replies)
Hello!
I have somo problems with simple scripts like this:
#!/bin/bash
echo -n "Enter your name and press : "
read var_name
echo "Your name is: $var_name"
When I try to run it, this error occurs: ':not a valid identifier var_name.
Why?? (I work in cygiwin)
Is there anybody out... (10 Replies)
I am trying to get a script working that will perform a simple database lookup using the join command.
Here are the two files that I am trying to join:
% cat lookup1.txt
Number_1 Other_data_a
Number_5 Other_data_b
Number_8 Other_data_c
Number_10 Other_data_d
% cat... (2 Replies)
Hi everyone,
I have just installed Linux redhat 9.0, Unfortunately i met a error, it annonced as following when i pressed ENTER at the first step on installation and then i stoped:
PCI: 00:13.2 PCI cache line size set incorrectly (64 bytes) by BIOS/FW
PCI: 00:13.2 cache line size too... (3 Replies)