06-16-2017
Linux correct permissions for .bash_aliases
Above is a search string I tried on Google that produced lots of hits but not much in the way of clues. And I wasn't looking for clues.
So I decided, for the first time, to ask the question here. What are the correct permissions for the .bash_aliases file?
iwrong
9 More Discussions You Might Find Interesting
1. HP-UX
Hi,
I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory.
Thanks in advance.
Mike (3 Replies)
Discussion started by: Mike1234
3 Replies
2. Shell Programming and Scripting
I have input file like this
Input file:
ABC|abc_etc_passwd
XYZ|XYZ_etc_passwd
zXY|XYZ_etc_passwd
IJK|test_etc_passwd
KLM|test_etc_passwd
i want to do following in a loop.
grep 'ABC' *abc_etc_passwd*
grep 'XYZ' *XYZ_etc_passwd*
grep 'ZXY' *ZXY_etc_passwd*
i have tried this
for i... (2 Replies)
Discussion started by: pinnacle
2 Replies
3. Solaris
I am new to solaris and I replaced a faulty tape drive sun DLT7000
But, I am getting the follwoing error when system reboots
ltid deamon error drive index 1 is not correct, drive name /dev/rmt/2cbn is incorrect no such file or directory.
I have two drives the other one is /dev/rmt/0cbn,... (8 Replies)
Discussion started by: latif1958
8 Replies
4. UNIX for Advanced & Expert Users
I have been a UNIX user for a long time, and in that time I have been looking for a program to set/reset all the file permissions of a complex directory hierarchy (my home) according to a configuration file of rules.
That is not the simple find-xargs-chmod rule but a program (shell/perl/c)... (4 Replies)
Discussion started by: antofthy
4 Replies
5. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
6. Shell Programming and Scripting
i have some question
for example:
suppose we have the Public folder as follows:
https://www.unix.com/attachment.php?attachmentid=2759&stc=1&d=1334070669
If the user enter:
-Kenshin
or /home/kenshin/Public
output: abc: kenshin: rw
my shell:
echo "Enter User:"
read user ... (3 Replies)
Discussion started by: kingkner
3 Replies
7. Red Hat
All,
Requirement: Permissions Required for Control M on Linux
I am using the Linux as the operating system.
I am told to get an user configured for Control M on Linux.
The user would be an authenticated user created by the client.
The user created requires permissions to be made available so... (2 Replies)
Discussion started by: Roadies99
2 Replies
8. Shell Programming and Scripting
Hi
I need to get IP address from linux server.
There are many script to do this, but no one is perfect.
They just grab eth0 or eth1 from ifconfig, and this may, may not be correct.
You may have several IF configured, but only one is default GW
Here is how I would like the process to be.... (8 Replies)
Discussion started by: Jotne
8 Replies
9. Solaris
Hi,
I have a Solaris 10 server and I want to export a filesystem to a linux client and give the client's root user root priviliges on the filesystem.
The client is an ubuntu 14.04 LTS server.
the dfstab on the server looks lik this:
/usr/sbin/share -F nfs -o ... (1 Reply)
Discussion started by: nvanvliet
1 Replies
LEARN ABOUT DEBIAN
bp_classify_hits_kingdom
BP_CLASSIFY_HITS_KINGDOM(1p) User Contributed Perl Documentation BP_CLASSIFY_HITS_KINGDOM(1p)
NAME
classify_hits_kingdom - classify BLAST hits by taxonomic kingdom
USAGE
classify_hits_kingdom [-i tab_file] [-i second_BLAST_file] [-e evalue_cutoff]
[-t dir_where_TAXONOMY_files_are] [-g gi2taxid]
[-z PATH_TO_zcat] [-v]
DESCRIPTION
Will print out the taxonomic distribution (at the kingdom level) for a set of hits against the NR database. This script assumes you've
done a search against the protein database, you'll have to make minor changes in the gi_taxid part to point to the gi_taxid_nuc.dump file.
This expects BLAST files in tabbed -m9 or -m8 format. Output with -m 8 or use blast2table.pl to convert (or fastam9_to_table.PLS if using
FASTA).
Input values:
-t/--taxonomy directory where the taxonomy .dmp files are (from NCBI)
-g/--gi Location of gi_taxid_prot.dmp (or gi_taxid_nucl.dmp if
the search was against a NT db)
-i/--in The name of the tab delimited -m8/-m9 output files to
process.
-e/--evalue Provide an E-value cutoff for hits to be considered
-z/--zcat Path to the 'zcat' executable, can also be 'gunzip -c'
if no zcat on your system.
Flags
-v/--verbose To turn on verbose messages
-h/--help Display this helpful information
This is intended to be useful starting script, but users may want to customize the output and parameters. Note that I am summarizing the
kingdoms here and Eukaryota not falling into Metazoa, Viridiplantae, or Fungi gets grouped into the general superkingdom Eukaryota. for
simplicity. There are comments in the code directing you to where changes can be made if you wanted to display hits by phylum for example.
Note that you must wipe out the cache file 'gi2class' that is craeed in your directory after making these changes.
AUTHOR
Jason Stajich jason_at_bioperl_dot_org
perl v5.14.2 2012-03-02 BP_CLASSIFY_HITS_KINGDOM(1p)