05-03-2004
list command
Hi,
"ls -l" would not display the year for the files created in the current year. Is there an option in "ls" that would display the year for those files?
Thanks!
10 More Discussions You Might Find Interesting
1. Programming
Hi
i need C code to list direcoty without using ls command and it sould take the path of the directory from the user?
"please help me it is so important" (3 Replies)
Discussion started by: ashamry
3 Replies
2. UNIX for Dummies Questions & Answers
Hi
If my ls -l results in 1000 lines and i just want to see the last few lines in the list what arguments do i pass
eg lets say i want to see only the last 5 lines of 'ls -l' result (2 Replies)
Discussion started by: zomboo
2 Replies
3. UNIX for Dummies Questions & Answers
Hello.
Must be simple enough, but i am trying to find the quickest command to list the used disk space within my VGs. For example, lets say my workvg has 3 logical volumes. I can df -g -I to find the used space of each LVs and adding them up.
Is there a command to list the VGs with the used... (2 Replies)
Discussion started by: Stephan
2 Replies
4. UNIX for Dummies Questions & Answers
Hi
Is there a command(s) which can be used to get a list of all files, including all files in all subdirectories on a given volume?
Thanks :)
All My Best,
Jeffrey (6 Replies)
Discussion started by: groundlevel
6 Replies
5. UNIX for Dummies Questions & Answers
Hi,
THe following is the output when i run the command ls -ltr
can anyone explain the meaning of the field in red
-rw-r----- 3 orca orca 20924 Sep 08 19:21 BTL027SASI.gnt
-rw-r----- 3 orca orca 20924 Sep 08 19:21 BTL027RITD.gnt
-rw-r----- 3 orca orca ... (2 Replies)
Discussion started by: ranjita.c
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Iam a new member of this group
I have got one issue
I wanna to find out one file like *.pll
in a remote server using unix command i tried giving ls but it wont work acc to my expectation since ls list out the file only in a particular directory
eg in C DRIVE I SHUD BE ABLE TO... (2 Replies)
Discussion started by: dmerin
2 Replies
7. UNIX for Dummies Questions & Answers
provide me the command to list all the subdirectories from the /home (1 Reply)
Discussion started by: mail2sant
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Using ps, I can't work out what is the right options to use to show full listing of the process or command, can someone please advise what options I should be using?
Example output of a "trimmed" process is as below and I know this is not the complete command line that I've executed,... (8 Replies)
Discussion started by: newbie_01
8 Replies
9. AIX
Hi,
We are using AIX operating system.
Issue with the first two files which we need to get month and year but it is not coming.
When I use the ls -lrt command, I am having the problem.
ls -lrt command output
-rw-r----- 1 abc_dev devdatagrp 1234 17 Dec 08:30
-rw-r----- ... (7 Replies)
Discussion started by: onesuri
7 Replies
10. Shell Programming and Scripting
Hello,
i would make a script that generate SWITCH commands to create zone in a SAN, i have this file:
## zone:z_CGBVMH1_FC0_to_EVA1_CTRL_A_1
p_CGBVMH1_FC0; p_EVA1_CTRL_A_1
## zone:z_CGBVMH1_FC0_to_EVA1_CTRL_B_1
p_CGBVMH1_FC0; p_EVA1_CTRL_B_1
## zone:z_CGBVMH1_FC2_to_EVA1_CTRL_A_1... (2 Replies)
Discussion started by: alen192
2 Replies
LEARN ABOUT DEBIAN
ikiwiki-calendar
ikiwiki-calendar(1) General Commands Manual ikiwiki-calendar(1)
NAME
ikiwiki-calendar - create calendar archive pages
SYNOPSIS
ikiwiki-calendar [-f] your.setup [pagespec] [startyear [endyear]]
DESCRIPTION
ikiwiki-calendar creates pages that use the ikiwiki/directive/calendar directive, allowing the archives to be browsed one month at a time,
with calendar-based navigation.
You must specify the setup file for your wiki. The pages will be created inside its srcdir, beneath the archivebase directory used by the
calendar plugin (default "archives").
To control which pages are included on the calendars, a ikiwiki/PageSpec can be specified. The default is all pages, or the pages specified
by the comments_pagespec setting in the config file. A pagespec can also be specified on the command line. To limit it to only posts in a
blog, use something like "posts/* and !*/Discussion".
It defaults to creating calendar pages for the current year. If you specify a year, it will create pages for that year. Specify a second
year to create pages for a span of years.
Existing pages will not be overwritten by this command by default. Use the -f switch to force it to overwrite any existing pages.
CRONTAB
While this command only needs to be run once a year to update the archive pages for each new year, you are recommended to set up a cron job
to run it daily, at midnight. Then it will also update the calendars to highlight the current day.
An example crontab:
0 0 * * * ikiwiki-calendar ~/ikiwiki.setup 'posts/* and !*/Discussion'
TEMPLATES
This command uses two templates to generate the pages, calendarmonth.tmpl and calendaryear.tmpl.
AUTHOR
Joey Hess <joey@ikiwiki.info>
ikiwiki-calendar(1)