Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ls -l displays size in KB, MB, GB? Post 302424419 by venkatesht on Tuesday 25th of May 2010 07:39:18 AM
Old 05-25-2010
ls -l displays size in KB, MB, GB?

Hi,

ls -l displays the long listing of a file in 8 fields.

Query:
------
Does ls -l display the filename size in KB or MB or GB?

-rwxrwxr-x 1 xx dba 655 May 22 06:27 time

Here 655 is KB or MB or GB?

Many thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dual Displays

I have a TV and a monitor hooked up to my box. Right now the system is displaying all the information on the TV instead of the monitor, obviously I want to switch this, as the TV is very impracticle for everything other than watching movies. I thought I remembered a command I used to use that... (2 Replies)
Discussion started by: Synbios
2 Replies

2. HP-UX

Dual Displays HP-UX 10.20

Hello All! Where I work we have C3600's that have a video cards that have both DVI and Regular RBG type monitor ports on them. My question is: is it possible to spread my desktop across two monitors that are plugged into the one card much like you can do with NVIDIA software like NVIEW for... (0 Replies)
Discussion started by: giftedone
0 Replies

3. Linux

Hostname displays incorrectly

hiii, in many of the linux machines i have tried this but the result is the same everywhere. if there are double letters in a hostname then that is displayed as single letter. e.g. if hostname is set to nepttune then login into the shell will display : NEPTUNE(admin)@/ $ hostname... (15 Replies)
Discussion started by: shamik
15 Replies

4. AIX

who -r displays no output

Hello. I have an AIX machine at 6100-00. We had some strange activity since filling up /tmp. One symptom is that who -r displays no output. It doesn't hang just no output is displayed. We are going to boot the machine, but prior to that I'd like to dig a bit to see what may be causing the... (0 Replies)
Discussion started by: maficdan
0 Replies

5. Solaris

Raidz displays incorrect size

So I just tried what somebody here suggested and set up my backupserver with a zraid2 over 16 disks (4x4 groups) zpool create tank raidz2 c7t0d0 c7t1d0 and so on. zpool list showed a correct info about 5,4T in size (I did not use all disks), but when I did a df -h, it showed me only half the... (5 Replies)
Discussion started by: PatrickBaer
5 Replies

6. Shell Programming and Scripting

Awk displays file name twice (?!)

Greetings. I have files that contains eleven fields in the file name. Each file has a specific meaning. My job is to list each file name and load the info into a database table for reporting. My awk code does this (files have VER suffix): find . -name "*.VER" -exec ls '{}' ';' -printf... (2 Replies)
Discussion started by: alan
2 Replies

7. Shell Programming and Scripting

Displays the text upward

I need to print out text from a file in the console up, you know someone like that? (8 Replies)
Discussion started by: gizmo16
8 Replies

8. UNIX for Dummies Questions & Answers

Ls -l displays ctime or mtime?

commands ls -l or just l displays ctime (changed time) or mtime (modified time)? (10 Replies)
Discussion started by: rupeshkp728
10 Replies

9. UNIX Desktop Questions & Answers

Cat/tac displays nothing but vi does

Hi, Today i have seen a file which shows nothing when i use cat/tac. But when i use vi it displays a single line at the top. There are no other lines. I am curious why cat/tac doesn't display that line and only vi does? Any thoughts? Thanks in advance, (1 Reply)
Discussion started by: pandeesh
1 Replies

10. Shell Programming and Scripting

Bash $(...) DISPLAYS EVERY COMMAND

I use things like this a lot in ksh and bash, but lately bash has been printing the command for every loop: ... | while read f do if then echo Differ "$f" fi done How to prevent this? (5 Replies)
Discussion started by: DGPickett
5 Replies
Bio::Tools::Run::Alignment::DBA(3pm)			User Contributed Perl Documentation		      Bio::Tools::Run::Alignment::DBA(3pm)

NAME
Bio::Tools::Run::Alignment::DBA - Object for the alignment of two sequences using the DNA Block Aligner program. SYNOPSIS
use Bio::Tools::Run::Alignment::DBA; # Build a dba alignment factory my @params = ('matchA' => 0.75, 'matchB' => '0.55', 'dymem' =>'linear'); my $factory = Bio::Tools::Run::Alignment::DBA->new(@params); # Pass the factory a filename with 2 sequences to be aligned. $inputfilename = 't/data/dbaseq.fa'; # @hsps is an array of GenericHSP objects my @hsps = $factory->align($inputfilename); # or my @files = ('t/data/dbaseq1.fa','t/data/dbaseq2.fa'); my @hsps = $factory->align(@files); # or where @seq_array is an array of Bio::Seq objects $seq_array_ref = @seq_array; my @hsps = $factory->align($seq_array_ref); DESCRIPTION
DNA Block Aligner program (DBA) was developed by Ewan Birney. DBA is part of the Wise package available at <http://www.sanger.ac.uk/software/wise2>. You will need to enable dba to find the dba program. This can be done in a few different ways: 1. Define an environmental variable WISEDIR: export WISEDIR =/usr/local/share/wise2.2.0 2. Include a definition of an environmental variable WISEDIR in every script that will use DBA.pm: $ENV{WISEDIR} = '/usr/local/share/wise2.2.20'; 3. Make sure that the dba application is in your PATH. FEEDBACK
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists Support Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web: http://redmine.open-bio.org/projects/bioperl/ AUTHOR - Shawn Hoon Email shawnh@fugu-sg.org APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ program_name Title : program_name Usage : $factory>program_name() Function: holds the program name Returns: string Args : None program_dir Title : program_dir Usage : $factory->program_dir(@params) Function: returns the program directory, obtained from ENV variable. Returns: string Args : version Title : version Usage : exit if $prog->version() < 1.8 Function: Determine the version number of the program Example : Returns : float or undef Args : none align Title : align Usage : $inputfilename = 't/data/seq.fa'; @hsps = $factory->align($inputfilename); or #@seq_array is array of Seq objs $seq_array_ref = @seq_array; @hsps = $factory->align($seq_array_ref); or my @files = ('t/data/seq1.fa','t/data/seq2.fa'); @hsps = $factory->align(@files); Function: Perform a DBA alignment Returns : An array of Bio::Search::HSP::GenericHSP objects Args : Name of a file containing a set of 2 fasta sequences or else a reference to an array to 2 Bio::Seq objects. or else a reference to an array of 2 file names containing 1 fasta sequence each Throws an exception if argument is not either a string (eg a filename) or a reference to an array of 2 Bio::Seq objects. If argument is string, throws exception if file corresponding to string name can not be found. If argument is Bio::Seq array, throws exception if less than two sequence objects are in array. _run Title : _run Usage : Internal function, not to be called directly Function: makes actual system call to dba program Example : Returns : nothing; dba output is written to a temp file Args : Name of a file containing a set of unaligned fasta sequences and hash of parameters to be passed to dba _parse_results Title : __parse_results Usage : Internal function, not to be called directly Function: Parses dba output Example : Returns : an reference to an array of GenericHSPs Args : the name of the output file _setinput() Title : _setinput Usage : Internal function, not to be called directly Function: Create input file for dba program Example : Returns : name of file containing dba data input Args : Seq or Align object reference or input file name _setparams() Title : _setparams Usage : Internal function, not to be called directly Function: Create parameter inputs for dba program Example : Returns : parameter string to be passed to dba during align or profile_align Args : name of calling object _query_seq() Title : _query_seq Usage : Internal function, not to be called directly Function: get/set for the query sequence Example : Returns : Args : _subject_seq() Title : _subject_seq Usage : Internal function, not to be called directly Function: get/set for the subject sequence Example : Returns : Args : perl v5.12.3 2011-06-18 Bio::Tools::Run::Alignment::DBA(3pm)
All times are GMT -4. The time now is 09:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy