HI ALL,
i am a beginner in unix world.
can anyone please tell me the way to find total size taken by each directory (including size of all subdirectories and files) present under /var.
e.g what is space occupied by /var/adm , /var/admin etc.
its a simple question but still i dont know the... (2 Replies)
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Hi,
I'm newbie to Unix. I'd like to count the total size of those files in my directory by date. For example, files on this period 05/01/08 - 05/31/08. If possible can we count by byte instead of kb.
if I use $ du - ks , it will add up all files in the dir.
thanks,
Helen (5 Replies)
Hi all,
I have copied all my files to one folder.and i want to check how many files (count) in the folder recently moved or total files in my folder?
please send me the query asap. (3 Replies)
I have a directory that contains files like
aaa-2010-05-30.txt
ddd-2010-05-30.txt
www-2010-05-30.txt
i have total 2000 files, i need to calculate total size of files for *2010-05-30.txt like
aaa-2010-05-30.txt 200MB
ddd-2010-05-30.txt 10GB
www-2010-05-30.txt 4GB
Total 14.2 GB... (5 Replies)
as we use du - sh *.frm
In This command It will show the list of files and size
But I want the Total size that these files in directory with extension .frm
How can we do This (6 Replies)
I'm trying to make this code below to work but I can't find the way to do the following: I want to make the script to touch only 10% of the total amount of files counted inside the given directory instead of all like it is now.
I would greatly appreciate it if someone can give me a direction on... (9 Replies)
:mad:i need command to know the total size of project in my system by Giga bit
i try
#du -s /*/projectname
but i need total size for this project by G.B
can you help me (6 Replies)
Hi All,
When i give the ls -lrt to list out all files with total number of files , i get the output as
ls -lrt
total 72
-rw-r--r-- 1 hari staff 796 Jul 11 09:17 va.txt
-rw-r--r-- 1 hari staff 169 Jul 13 00:20 a.log
-rwxr-xr-x 1 hari staff 659 Aug... (9 Replies)
Trying to count total files with different file types with thousands of files in each folder.
Since some files do not have extensions I have to use below criteria.
Count Total Files starting with --> "^ERROR"
Count Total Files starting with --> "^Runtime"
Count Everything else or files... (3 Replies)
Perl::Critic::Policy::CodeLayout::ProhibitHardTabs(3) User Contributed Perl Documentation Perl::Critic::Policy::CodeLayout::ProhibitHardTabs(3)NAME
Perl::Critic::Policy::CodeLayout::ProhibitHardTabs - Use spaces instead of tabs.
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
Putting hard tabs in your source code (or POD) is one of the worst things you can do to your co-workers and colleagues, especially if those
tabs are anywhere other than a leading position. Because various applications and devices represent tabs differently, they can cause you
code to look vastly different to other people. Any decent editor can be configured to expand tabs into spaces. Perl::Tidy also does this
for you.
This Policy catches all tabs in your source code, including POD, quotes, and HEREDOCs. The contents of the "__DATA__" section are not
examined.
CONFIGURATION
Hard tabs in a string are always forbidden (use " " instead). But hard tabs in a leading position are allowed when they are used to
indent code statements, "qw()" word lists, and regular expressions with the "/x" modifier. However, if you want to forbid all tabs
everywhere, then add this to your .perlcriticrc file:
[CodeLayout::ProhibitHardTabs]
allow_leading_tabs = 0
NOTES
Beware that Perl::Critic may report the location of the string that contains the tab, not the actual location of the tab, so you may need
to do some hunting. I'll try and fix this in the future.
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.3 2014-06-09 Perl::Critic::Policy::CodeLayout::ProhibitHardTabs(3)