10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Edit - I don't know how to delete posts. The question I asked here ended up not being the question I should have asked as I didn't realise I needed to edit my script to comply with SGE.
Hi,
My script is:
#!/bin/bash
# Perform fastqc on files in a specified directory.
for ((j=1;... (8 Replies)
Discussion started by: una1992
8 Replies
2. Solaris
Hi All,
when i use history command i got the last 1000 command
i want to increase this to 10000
how can i do that (4 Replies)
Discussion started by: hosneyxxosman
4 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies
4. UNIX for Advanced & Expert Users
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies
5. Shell Programming and Scripting
Hello
I have Linux Debian & tcsh shell. My mini script not run :(.
Startup script displays a message:
user@host:dir% ./test
if: Badly formed number.
script:
#!/bin/tcsh -f
#script check size files systems
set x = `df -h /usr | tail -n1 | awk '{ print( $5 ); }'`
set y = 60%
if ($x... (5 Replies)
Discussion started by: moskovets
5 Replies
6. Shell Programming and Scripting
Hi,
I am using ksh, is there any command which can check whether the XML file is well formed or not?
Regards,
Sreejit (1 Reply)
Discussion started by: sreejitnair123
1 Replies
7. Shell Programming and Scripting
i'm trying to run the following program but i keep getting the message "badly placed ()'s" can u help?
#include "modularity_mat.h"
#include "../sparse_mlpl/sparse_matrix.h"
adj_matrix_arr* allocate_mem_for_matrix_arr (int y) {
/* Create the adj matrix and allocate memory */
... (2 Replies)
Discussion started by: ronirosner
2 Replies
8. Shell Programming and Scripting
i run history command and I want to eliminate the list number.
So far this perl script works as long as the list is a exact 3 character
long.
cat dd | perl -pe 's,\d{3},,'
70 export JAVA_HOME=.
81 export JAVA_HOME=.
82 export JAVA_HOME=`pwd`
export JAVA_HOME=`pwd`
... (1 Reply)
Discussion started by: soemac
1 Replies
9. Shell Programming and Scripting
I have the following script running every day numerous times a day and it works fine, but very occasionally I get the following error
if: Badly formed number.
Anyone know why?
Here is the script that runs with the follow parms
LCTMDBSE 100000 130000 160000
#!/bin/csh
... (0 Replies)
Discussion started by: Northerner
0 Replies
10. Shell Programming and Scripting
Hi,
I am doing the following but it complains and says "for:badly formed number"
does anyone know why?
#!/bin/tcsh
foreach(....)
............
set depth=64
set width=23
if ($depth==64) then
echo "if"
set addr_bits=5
else
echo "else"
endif
echo "addr_bits:$addr_bits"
echo... (3 Replies)
Discussion started by: ROOZ
3 Replies