9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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
2. Shell Programming and Scripting
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)
Discussion started by: czar21
3 Replies
3. Shell Programming and Scripting
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)
Discussion started by: vaibhavkorde
1 Replies
4. Shell Programming and Scripting
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)
Discussion started by: chrish
3 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)
Discussion started by: glen.barber
2 Replies
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
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)
Discussion started by: bhalotias
10 Replies
8. Linux
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)
Discussion started by: Cisco
3 Replies
9. UNIX for Dummies Questions & Answers
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)
Discussion started by: luft
2 Replies