Sponsored Content
The Lounge What is on Your Mind? You too can learn how to code in a day! ;oO Post 303002084 by rbatte1 on Thursday 17th of August 2017 07:40:09 AM
Old 08-17-2017
Well, how many ways can one write "Hello world!" anyway?
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Write a shell script to find whether the first day of the month is a working day

Hi , I am relatively new to unix... Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell.. This is very urgent. Thanks for ur help... (7 Replies)
Discussion started by: phani
7 Replies

2. Shell Programming and Scripting

Script to find previous month last day minus one day timestamp

Hi All, I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this. My Requirment is as below: Input for me will be 2000909(YYYYMM) I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies

3. Solaris

May i know the day to day activities of a Solaris system administrator?

Recently i have attended a telephonic interview. As i dont have work experience in solaris i was not able to deliver correct answer for this question. Your answer will help for the people like me who is looking to become Solaris System administrator. (4 Replies)
Discussion started by: Sesha
4 Replies

4. Shell Programming and Scripting

Code creates day 32 instead of 1st day of next month.

I am using the code below modified from a post I saw here regarding having the script write out future dates. The problem is that instead of making 8/1 it makes 7/32! Please help! yy=`date +%Y` mm=`date +%m` dd=`date +%d` echo "Today is : $yy $mm $dd" #!/usr/bin/ksh date '+%m... (5 Replies)
Discussion started by: libertyforall
5 Replies

5. Shell Programming and Scripting

Script to check if last modified day is previous day

Hi, I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it. For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies

6. UNIX for Dummies Questions & Answers

Move the files between Current day & a previous day

Hi All, I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day. i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
Discussion started by: dsfreddie
2 Replies

7. Shell Programming and Scripting

Julian day to dates in YEAR-MONTH-DAY

hello, I have many files called day001, day002, day003 and I want to rename them by day20070101, day20070102, etc. I need to do it for several years and leap years as well. What is the best way to do it ? Thank you. (1 Reply)
Discussion started by: Ggg
1 Replies

8. What is on Your Mind?

Can anybody learn how to code?

Hey Everyone, Apologies on the vague title, but it is at the core of my question - let me first elaborate a little bit here. Just to give a brief background on myself - I have been working in the IT industry for around 4 years now. I first started working straight from college (where I did... (12 Replies)
Discussion started by: pilnet101
12 Replies
TURNIN(1)						      General Commands Manual							 TURNIN(1)

NAME
turnin - submit assignments to be graded SYNOPSYS
turnin [ OPTIONS ] -c [ course-name ] files DESCRIPTION
Submits assignments to be graded. We submit to the default project if it is not specified as an option. REQUIRED ARGUMENTS
-c, --course Sets the course to which we'll submit our assignments. files A list of files we wish to submit. They will be compressed using tar(1) and gzip(1) formats before being copied to the submission directory. OPTIONS
--version Print turnin's version -h, --help Print a help message -l, --list Prints a list of projects, along with whether or not they are enabled and shows which project is the default project. -p, --project Sets the project to which we'll submit our assignments. -C, --config Path to an alternate configuration file -v, --verbose Prints a list of submitted files once they have been submitted. -k, --keyid Cryptographically signs an assignment using gpg(1) -w, --legal Print warranty and license information. EXAMPLES
turnin -c world-cheeses --list List the projects in the course world-cheeses. turnin -c world-cheeses stilton-recipe Submit the file stilton-recipe to the default project in the course world-cheeses. turnin -c world-cheeses -p stilton stilton-recipe Submit the file stilton-recipe to the project stilton in the course world-cheeses. FILES
/etc/turnin-ng.cf ~/.turnin-ng/submissions SEE ALSO
turnincfg(1) The full documentation for turnin is maintained as a Texinfo manual. If the info and turnin programs are properly installed at your site, the command info turnin-ng should give you access to the complete manual. AUTHOR
Turnin-NG and this manpage were written by Ryan Kavanagh <ryanakca@kubuntu.org> in the summer of 2009 and are still actively maintained. Turnin-NG is a replacement for the 'project' and 'turnin' commands written in 1990 for the SPARC architecture by an unknown author. Both Turnin-NG and this manpage are distributed under the terms of the GNU General Public License version 2, or (at your option) any later version. Turnin-NG SEPTEMBER 2010 TURNIN(1)
All times are GMT -4. The time now is 07:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy