Hi,
1-I want to calculate the size of all files which are generated during last month in a directory. How can I do that ?
Of cours, I find them by :
$ls -l | grep jun
but how to calculate the sum of their size ?
2- the same but for all files generated last month and before that.
many thanks... (11 Replies)
I need to figure out how to get all the files from a certian dir ./123/*sat files
and ./230/*sat files and several other directories which have these *sat files in them. I need to calculate how many were created today and how many yesterday from 2:00 pm on the 28th to 2pm on the 29th.
It's a... (1 Reply)
Hello,
I'm new member of shell scripting and i face some difficulties. To begin, i try to write an algorithm that calculate from one directory containing nfdump files (288) the entropy of one day 24hours. Each of the file is 5 min interval
(nfdump -r nfcapd.200908250000 -s srcip) 1st
(nfdump... (0 Replies)
Hi
I actually need to change the mode to 777 in the current directory as well as subdirectories how to achieve that.
I have /usr/sol/home/workfold as the main directory there are many directies and files in the workfold directory . I need to chmod 777 to all the directories and files under... (2 Replies)
Hello,
I'm trying to create a shell script (#!/bin/sh) which should tell me the age of a file in minutes...
I have a process, which delivers me all 15 minutes a new file and I want to have a monitoring script, which sends me an email, if the present file is older than 20 minutes.
To do... (10 Replies)
Dear all,
Please help me to write a script that can calculate the size of files.
For example: I have a directory which contain thousands of files. I need to know the size of files that their name begin with abc_123
Thank all!! (4 Replies)
Hi,
plz see the below code.
here my aim is to calculate the number of lines in unprocessedData.out
if this file contains 40 lines then lastly $linenum should print 40.(except blank lines)
i have tried below code but it giving me the output only one. can anyone help me how to do ?
... (9 Replies)
Hey guys
iīve one big problem with nscd.conf this donīt work i tried many examples of configuration the nscd.conf simply donīt work when i stop the ldap server i try access by ssh on the client i canīt make logon.
And the database on /var/db/nscd donīt work.
follows below the conf of... (0 Replies)
Trying to use file1 which is the actual counts in $2 associated with each $1 entry. The total of each $1 is in file2 with the total in $3. So when there is a match between $1 in file1 with $1 in file2, then the % is calculated using the $2 value of file1 and $3 value of file2. Thank you :).
... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT REDHAT
gtf
GTF(1) General Commands Manual GTF(1)NAME
gtf - calculate VESA GTF mode lines
SYNOPSIS
gtf h-resolution v-resolution refresh [-v|--verbose] [-f|--fbmode] [-x|--xf86mode]
DESCRIPTION
Gtf is a utility for calculating VESA GTF modes. Given the desired horizontal and vertical resolutions and refresh rate (in Hz), the
parameters for a matching VESA GTF mode are printed out. Two output formats are supported: mode lines suitable for the XFree86 XF86Con-
fig(5x) file, and mode parameters suitable for the Linux fbset(8) utility.
OPTIONS
-v|--verbose
Enable verbose printouts This shows a trace for each step of the computation.
-x|--xf86mode
Print the mode parameters as XFree86-style mode lines. This is the default format.
-f|--fbset
Print the mode parameters in a format suitable for fbset(8).
SEE ALSO XF86Config(5x)AUTHOR
Andy Ritger.
This program is based on the Generalized Timing Formula (GTF(TM)) Standard Version: 1.0, Revsion: 1.0. The GTF Excel(TM) spreadsheet, a
sample (and the definitive) implementation of the GTF Timing Standard is available at <ftp://ftp.vesa.org/pub/GTF/VTF_V1R1.xls>.
XFree86 Version Version 4.3.0 GTF(1)