9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using the below bash loop:
or f in /media/cmccabe/My Book Western Digital/10_29and30_2015/*.bam ; do
bname=`basename $f`
pref=${bname%%.bam}
samtools view -H $f | sed '/^@PG/d' | samtools reheader - $f > /home/cmccabe/Desktop/NGS/${pref}_newheader.bam
done
is the... (1 Reply)
Discussion started by: cmccabe
1 Replies
2. UNIX for Dummies Questions & Answers
i have an application that writes to a directory. let's call the directory:
/var/app/
the permissions of this directory is:
drwxrwxr-x
Now the files that the application creates in this directory usually dont have read permissions for others.
i know there's something called... (3 Replies)
Discussion started by: SkySmart
3 Replies
3. Solaris
we want to allow user to FTP files into a directory, and then the program (PLSQL) will read and process the file, and then move the file to other directory for archiving.
the user id: uftp1, group: ftp
the program run in oracle database, thus have the user Id: oraprod, group: dba
how to... (2 Replies)
Discussion started by: siakhooi
2 Replies
4. Shell Programming and Scripting
Hi,
How do i check if I have read/write/execute rights on a UNIX directory?
What I'm doing is checking read access on the files but i also want to check if user has rights on the direcory in whcih these files are present.
if then......
And I check if the directory exists by using... (6 Replies)
Discussion started by: chetancrsp18
6 Replies
5. Shell Programming and Scripting
I am deploying a shell script in korn shell that will be called from a cronjob.
It has to call other scripts in the same directory. However, the directory will change from server to server.
The directories are not in my path and I cannot change that.
Is there an easy way to set a variable... (4 Replies)
Discussion started by: guessingo
4 Replies
6. UNIX for Dummies Questions & Answers
Hello Unix Gurus Who I Hope Reads This,
I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Discussion started by: mbl
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all.
Only one of the following makes any kind of sense as a possible permission field for a UNIX file. Which one?
--w-------
----rwxrwx
-r--------
--rwx-----
----r-----
I think it is no. 3. I dont think it would be 2, because why would you want to give groups and... (1 Reply)
Discussion started by: hawaiifiver
1 Replies
8. UNIX for Dummies Questions & Answers
Read and write bits make sense for a directory but what about the execute permission bit
What does that imply?Is it just a filler?
Saurabh (3 Replies)
Discussion started by: smehra
3 Replies
9. Shell Programming and Scripting
From within a directory, how do I determine whether I have write permission for it.
test -w pwd ; echo ?
This doesn't work as it returns false, even though I have write permission. (4 Replies)
Discussion started by: Sniper Pixie
4 Replies