Hello all
I'm trying to copy all files in the current directory with yesterday's date to another directory using a single command . I searched the faqs but all the examples listed out involve only the find command.I tried to do something like but it does'nt seem to work.
cp < ls -l |grep... (2 Replies)
If i want to display a banner that says Happy Bday, but I want to put that output banner into a file called bday4me,
could I use the command (echo) or (banner -w35) Happy Bday >> bday4me
would this command work? Sorry for asking, but i'm at home just now and don't have access to a UNIX... (3 Replies)
Hi,
I have just started working on unix today. I want to get the instring of a string (filename).
Eg. JAN_BILS_PRINT_01-01-08.txt
Now i want to extract the datestamp from the file and convert the date to the format mm/dd/yyyy.
How do i do this? Please hel pme with this.
Regards,... (10 Replies)
i have a problem here
TZ=`date +%Z`+0 ;a=`date +%b%e`----gives me Feb27
but i want Feb 27.there should be a single space b/w Feb and 27....
can anyone tell me how to resolve this issues........ (1 Reply)
Discussion started by: ali560045
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Hey everyone. I wasn't sure what it meant when my profile said it had 1 infraction against it, so I thought I'd check it out. Unfortunately, I can't find the post in question.
The date from the post in question is 07-09-2008 at 04:24 AM, but from what I can tell is marked as 'private'. I'd... (2 Replies)
My current output is as follows:
All Day Event
Someone's Birthday
Class 7:00 PM
Pick up dry cleaning 1:00 PM
Wake up 8:00 AM
I'd like the output to remain the same but have the times moved to the beginning of the line with a hyphen after it so it would look like,
All Day Event... (3 Replies)
i have a file which consists of the timestamp fields in the format
first packet: Sat Mar 5 16:14:33.678747 2011
first packet: Sat Mar 5 16:14:34.035362 2011
first packet: Sat Mar 5 16:14:39.805442 2011
first packet: Sat Mar 5 16:14:43.934197 2011
first packet: ... (1 Reply)
This piece of code is in a shell script I'm trying to modify to run on my system.
sed s:nu\\t.\*:"nu=0"
It's clearly a substitute script which replaces nu\\t.\* with nu = 0.
What exactly does nu\\t.\* demarcate though-- I thought it was just the previous nu = xxxxx (which existed and is... (3 Replies)
Hello... And thanks in advance for any help anyone can offer me
I was trying to work out the differences between displaying modify, access, and change times with the 'ls' command. Everything seems in order when I look at files, but the access time on a directory doesn't seem to change when I... (4 Replies)
Discussion started by: bodisha
4 Replies
LEARN ABOUT OSF1
ident
ident(1)ident(1)NAME
ident - identify files
SYNOPSIS
ident [-q] [file...]
DESCRIPTION
ident searches for all occurrences of the pattern $keyword:...$ in the named files or, if no file name appears, the standard input.
These patterns are normally inserted automatically by the RCS command co(1), but can also be inserted manually. The option -q suppresses
the warning given if there are no patterns in a file.
ident works on text files as well as object files and dumps. For example, if the C program in f.c contains
char rcsid[] = "$Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $";
and f.c is compiled into f.o, then the command
# ident f.c f.o
will output
f.c:
$Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $ f.o:
$Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $
IDENTIFICATION
Author: Walter F. Tichy.
Revision Number: 1.1.6.4; Release Date: 1993/12/20.
Copyright (C) 1982, 1988, 1989 by Walter F. Tichy.
Copyright (C) 1990 by Paul Eggert.
SEE ALSO ci(1), co(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1), rcsfile(5)
Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654.
ident(1)