Hi,
I would like to find out how can i calculate a date which is 3 months ago. I intend to run a cron job on the 1st of every month, and calculate the month 4 months earlier from the date. For example, if today's date is 1st May 2007, i would like to return 012007( January 2007).
i can get... (1 Reply)
hi,
I have a big file that contains datas since 4 years ago.
I need re-create this file but just lines that are 13 months ago from today.
see what I have: ( I have a file.ksh that calls this file.scl ok !!)
======== file.scl ================
/STATISTICS=stderr
/STABLE
/NODUPLICATES... (3 Replies)
hi,
I have a big file that contains datas since 4 years ago.
I need re-create this file but just lines that are 13 months ago from today.
see what I have: ( I have a file.ksh that calls this file.scl ok !!)
======== file.scl ================
/STATISTICS=stderr
/STABLE
/NODUPLICATES... (4 Replies)
I am new to shell scripting and doing a similar thing @ work
Stan:Smith:Detroit:MI
Jim:Jones:Farmington Hills:MI
Jack:Frost:Denver:CO
Sue:Apple:New York:NY
Cindy:Thompson:Battle Creek:MI
John:Smith:Denver:CO
George:Jones:New York:NY
Need to create a shell script This script will display... (1 Reply)
Hi,
I'm curious to know if we can display 5 months of a calendar using the cal command. I know we can three successive months (cal -3) but I wanted to know if we can do it with 5 months for example. (Give a specific month, and get as a result two previous months + the month in question + two... (12 Replies)
Please find my below requirement and see if you can help me on this. I am looking for a shell script which can provide me the below output.
Manuall steps which i am doing now
1) First I source the File
$ . ./WC_env.sh
2) Execute the command
$ /app/oracle/product/mos/bin/mosotl -url... (2 Replies)
hi all i have a reporting work and i want it to be automated using shell scripting kindly let me know how can i make that possibe .
eg data are :... (2 Replies)
topfunc()
{
top
}
topfunc
Here i used the top command inside a function,and i called the function.
when executing this bash file i get all the process which are using by the kernel
i just want to display only the first 5 running process.
is it possible? (7 Replies)
Discussion started by: Meeran Rizvi
7 Replies
LEARN ABOUT DEBIAN
dircolors
DIRCOLORS(1) User Commands DIRCOLORS(1)NAME
dircolors - color setup for ls
SYNOPSIS
dircolors [OPTION]... [FILE]
DESCRIPTION
Output commands to set the LS_COLORS environment variable.
Determine format of output:
-b, --sh, --bourne-shell
output Bourne shell code to set LS_COLORS
-c, --csh, --c-shell
output C shell code to set LS_COLORS
-p, --print-database
output defaults
--help display this help and exit
--version
output version information and exit
If FILE is specified, read it to determine which colors to use for which file types and extensions. Otherwise, a precompiled database is
used. For details on the format of these files, run `dircolors --print-database'.
AUTHOR
Written by H. Peter Anvin.
REPORTING BUGS
Report dircolors bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report dircolors translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for dircolors is maintained as a Texinfo manual. If the info and dircolors programs are properly installed at your
site, the command
info coreutils 'dircolors invocation'
should give you access to the complete manual.
GNU coreutils 8.12.197-032bb September 2011 DIRCOLORS(1)