Sponsored Content
Full Discussion: Date capture & filter
Top Forums Shell Programming and Scripting Date capture & filter Post 302764461 by Yoda on Thursday 31st of January 2013 01:59:14 PM
Old 01-31-2013
Refer string manipulation (link removed)
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ftp by date filter

i would be grateful if someone could supply me with a shell script which performed a ftp but only retrieved files which had a created date greater than a specific date - is this possible with ftp? many thanks mc (1 Reply)
Discussion started by: campbem
1 Replies

2. Shell Programming and Scripting

Filter by modify date.

I want to filter an "ls -al" command so it only shows me files with modify dates older than two weeks. What is the best way of doing this? (2 Replies)
Discussion started by: millerdc
2 Replies

3. Shell Programming and Scripting

filter input & outputs to another file

Hello All, I am stuck with the follwing problem , pls give me some advice.. Input file: input clock; input reset; \\reset all input yuv; //input comment output sur; output sud; output vtua; output tur; input ebi; //output comment The input file... (1 Reply)
Discussion started by: user_prady
1 Replies

4. Shell Programming and Scripting

Script to capture userids logged on & killing as well

Can someone help me with a script to capture the list of users logged on at a point of time, and if a particular user id say xyz exists, kill that process Id. (2 Replies)
Discussion started by: ggayathri
2 Replies

5. Shell Programming and Scripting

Need to capture all dates between start date and End date.

Hi All, I enter Start date and end date as parameters. I need to capture dates between start date and end date. Please let me know if you have any idea the same. Thanks in advance. Nagaraja Akkivalli. (5 Replies)
Discussion started by: Nagaraja Akkiva
5 Replies

6. Shell Programming and Scripting

Need to capture dates between start date and end date Using perl.

Hi All, Want to get all dates and Julian week number for that date between the start date and end date. How can I achive this using perl? (To achive above functionality, I was connecting to the database from DB server. Need to execute the same script in application server, since databse... (6 Replies)
Discussion started by: Nagaraja Akkiva
6 Replies

7. Linux

awk filter & Auto gen Mail

hi experts 2012-01-30 10:30:01:812 "y" "NA" "30/01/2012 10:30:01:154 AM" 2012-01-30 10:33:46:342 "y" "NA" "30/01/2012 10:33:45:752 AM" 2012-01-30 10:41:11:148 "n" "200" "30/01/2012 10:41:10:558 AM" 2012-01-30 10:44:48:049 "y" "NA" ... (7 Replies)
Discussion started by: nith_anandan
7 Replies

8. Web Development

PHPMaker 9 Help with Server Events & Filter

Hello, I need some help with PHPMaker 9 "Server Events". trying to do a simple filter but my lack of knowledge of PHP & Mysql is getting me in a jam. I have 2 tables: MyMainTable = which has all individual records for different people and Users = the security table that also has... (0 Replies)
Discussion started by: vestport
0 Replies

9. Shell Programming and Scripting

Script to filter by date

Hello, I currently have the need to perform backup, naming the file by date. How do I get the script, you can choose the most current file or current date and then upload it? My script is related to this topic that is already closed. Read Post Can anyone help me? (12 Replies)
Discussion started by: hdegenaro
12 Replies

10. Shell Programming and Scripting

How-To Check & Filter user input

Hi, On my Java webpage which invokes the shell script has two checkboxes viz ... apache and weblogic apache require one parameter i.e apache home from the user while Weblogic requires three or five params from the user vi.z weblogic_home or <jdk_home, config_home & pid>, username and... (4 Replies)
Discussion started by: mohtashims
4 Replies
ln(1)							      General Commands Manual							     ln(1)

Name
       ln - link to a file

Syntax
       ln [ -f ] [ -i ] [ -s ] name1 [name2]
       ln [ -f ] [ -i ] [ -s ] name ... directory

Description
       A  link is a directory entry referring to a file.  A file, together with its size and all its protection information may have several links
       to it.  There are two kinds of links: hard links and symbolic links.

       By default makes hard links.  A hard link to a file is indistinguishable from the original directory entry.  Any  changes  to  a  file  are
       effective independent of the name used to reference the file.  Hard links may not span file systems and may not refer to directories.

       Given  one or two arguments, creates a link to an existing file name1.  If name2 is given, the link has that name.  The name2 may also be a
       directory in which to place the link.  Otherwise it is placed in the current directory.	If only the directory is specified,  the  link	is
       made to the last component of name1.

       Given  more  than two arguments, makes links to all the named files in the named directory.  The links made have the same name as the files
       being linked to.

Options
       -f   Forces existing destination pathnames to be removed before linking without prompting for confirmation.

       -i   Write a prompt to standard output requesting information for each link that would overwrite an existing file.  If  the  response  from
	    standard input is affirmative, and if permissions allow, the link is done. The -i option has this effect even if the standard input is
	    not a terminal.

       -s   Creates a symbolic link.

	    A symbolic link contains the name of the file to which it is linked.  The referenced file is used when an operation  is  performed	on
	    the  link.	 A  on a symbolic link returns the linked-to file.  An must be done to obtain information about the link.  The call may be
	    used to read the contents of a symbolic link.  Symbolic links may span file systems and may refer to directories.

See Also
       cp(1), mv(1), rm(1), link(2), readlink(2), stat(2), symlink(2)

																	     ln(1)
All times are GMT -4. The time now is 02:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy