01-02-2014
Ls directory size reporting byte size instead of file count
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change. Previously when I did an "ls -ld" on a directory, the size column would report the number of files and/or directories contained in that directory. Now it is reporting a byte size. An empty directory is reporting 4096. If this is a configurable option, I would like to be able to request my admins adjust the option back to showing number of files & directories.
Thanks,
John
10 More Discussions You Might Find Interesting
1. Solaris
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)
Discussion started by: abhinov
3 Replies
2. UNIX for Dummies Questions & Answers
Hello
I want to set two fields in a text file to be of size 20.
how to do it using unix ?
eg: ABC.txt
Name | City
I want Name and City both to be of size 20.
Also If I am pasting it in other file the byte size should be preserved.i.e. If I want to append content of ABC.txt to other... (0 Replies)
Discussion started by: dashing201
0 Replies
3. Shell Programming and Scripting
Preserve byte size of fields while pasting it to other file
Hello
I want to set two fields in a text file to be of size 20.
how to do it using unix ?
eg: ABC.txt
Name | City
I want Name and City both to be of size 20.
Also If I am pasting it in other file the byte size should be... (1 Reply)
Discussion started by: dashing201
1 Replies
4. Solaris
Hi,
We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB?
I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies
5. Shell Programming and Scripting
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies
6. Shell Programming and Scripting
Hi Experts,
I have a script like
$ORACLE_HOME/bin/sqlplus username/password # << ENDSQL
set pagesize 0 trim on feedback off verify off echo off newp none timing off
set serveroutput on
set heading off
spool Schemaerrtmp.txt
select ' TIMESTAMP COMPUTER NAME ... (5 Replies)
Discussion started by: welldone
5 Replies
7. Shell Programming and Scripting
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
8. Shell Programming and Scripting
Hi,
I have task to merge multiple XML's to one big XML.
In doing this i have to calculate the byte size of each XML which i will be recieving as a string from a code and append all the recieved XML's to single file.
The reason being the byte size and the offset will help me to extract only... (7 Replies)
Discussion started by: chetan.c
7 Replies
9. Shell Programming and Scripting
Hi there,
im a beginner to the shell scripting.i trying to extract a table from a db(IMD) and i have to get the count of that table and size of the file.
can you help me out how to write the shall scriping for the above query. (2 Replies)
Discussion started by: pawanmamidi
2 Replies
10. Solaris
Solaris 8
running on a Sparcstation 5 (Aurora) with 170MHz processor and 256MB ram
This is AFTER doing fsck and reboot.
820030k vs 385252k
All other files in /usr/asm not in /usr/asm/sys or /usr/asm/data amount to 43k. The /usr/asm/lost+found is 8k. somehow df and other applications... (3 Replies)
Discussion started by: lcoreyl
3 Replies
DING(1) Debian GNU/Linux DING(1)
NAME
ding - dictionary lookup program for Unix
SYNOPSIS
ding [options] [phrase]
DESCRIPTION
ding is a dictionary lookup program for X Windows/Unix. It comes with a German-English dictionary with about 270,000 entries.
It is based on Tk version >= 8.3 and uses the agrep(1) or egrep(1) tools for searching.
In addition to this ding can also search using ispell(1) and dict(1).
It has many configuration options, such as search preferences, interface language (English or German), colors. It has history and help
functions and comes with useful key and mouse bindings for quick and easy lookups.
If you enter some word or phrase as command line argument, ding will start up with a translation of this word/phrase.
OPTIONS
-x, --selection
Start searching for selected word (X selection).
-m, --mini
Start with minimal size (search form only).
-r, --remote
Start search in an already running program.
-R, --remote-new
Start search in an already running program or start a new program.
--noconf
Do not save preferences
-D #, --debug #
Start with debug output, # = number (1..15).
USAGE
It's very simple: Start ding (via KDE menu "Tools" or via command line), type in search word, press ENTER, read results. Search further by
double-clicking a word, or select a word in another window and drop it by clicking with mouse button 2 over the "ding window". For further
information consult the program help by pressing F1.
SEE ALSO
agrep(1), egrep(1), ispell(1), ding(1).
http://www.tu-chemnitz.de/~fri/ding/
/usr/share/doc/ding/html/index.html
AUTHOR
ding was written by Frank Richter <frank.richter@hrz.tu-chemnitz.de>.
This manual page was written by Roland Rosenfeld <roland@spinnaker.de>, for the Debian GNU/Linux system (but may be used by others).
Debian Project March 2011 DING(1)