Sponsored Content
The Lounge What is on Your Mind? STILL can't buy a Linux PC easily Post 302463397 by Neo on Sunday 17th of October 2010 09:11:15 AM
Old 10-17-2010
OBTW, there are a lot of Linux notebooks and netbooks in the Thailand market.
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to see all the subdirectories easily?

Suppose I have two directories a and b. Each directory has a few subdirectories, a1 a2 a3 and b1, b2, b3 respectively. Using ls, I can see a and b. Then I need cd a, ls, cd ../b, ls to see all the subdirectories. How to see all the directories and subdirectories easily, say using just one... (2 Replies)
Discussion started by: fld2007
2 Replies

2. Fedora

Unix which can easily boot from a DVD

Hi, Really sorry if this is in the wrong place etc but I really need some big time newbie help :o I am a recent Maths graduate and have been invited to a 4 day job interview/assessment where I will be taught and tested on the following: "Fedora UNIX, Bash Scripting". Having no experience... (8 Replies)
Discussion started by: Rich147
8 Replies

3. Shell Programming and Scripting

Easily search file and get line - little problem

hi, file1.txt: cell101 1 20.24.1.1 10 cell101 2 20.24.1.2 20 cell101 3 20.24.1.3 30 cell327 1 20.24.1.4 40 cell327 2 20.24.1.5 50 cell327 3 20.24.1.5 60 ... file2.txt: cell101 1 cell327 1 cell327 3 ... according to values in file2.txt, the script should search lines and get... (7 Replies)
Discussion started by: gc_sw
7 Replies

4. Linux

How to easily identify socket given a PID on Linux?

I have the PID of a process running on Linux mymac 2.6.18-417.el5 #1 SMP Sat Nov 19 14:54:59 EST 2016 x86_64 x86_64 x86_64 GNU/Linux I need to get the ip & port i.e socket details of the given PID (32752). Based on a suggestion on my other thread i tried bash-3.2$ netstat -anpt | grep... (8 Replies)
Discussion started by: mohtashims
8 Replies
TIME(2) 						     Linux Programmer's Manual							   TIME(2)

NAME
time - get time in seconds SYNOPSIS
#include <time.h> time_t time(time_t *t); DESCRIPTION
time() returns the time as the number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). If t is non-NULL, the return value is also stored in the memory pointed to by t. RETURN VALUE
On success, the value of time in seconds since the Epoch is returned. On error, ((time_t) -1) is returned, and errno is set appropriately. ERRORS
EFAULT t points outside your accessible address space. CONFORMING TO
SVr4, 4.3BSD, C89, C99, POSIX.1-2001. POSIX does not specify any error conditions. NOTES
POSIX.1 defines seconds since the Epoch using a formula that approximates the number of seconds between a specified time and the Epoch. This formula takes account of the facts that all years that are evenly divisible by 4 are leap years, but years that are evenly divisible by 100 are not leap years unless they are also evenly divisible by 400, in which case they are leap years. This value is not the same as the actual number of seconds between the time and the Epoch, because of leap seconds and because system clocks are not required to be syn- chronized to a standard reference. The intention is that the interpretation of seconds since the Epoch values be consistent; see POSIX.1-2008 Rationale A.4.15 for further rationale. SEE ALSO
date(1), gettimeofday(2), ctime(3), ftime(3), time(7) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2011-09-09 TIME(2)
All times are GMT -4. The time now is 08:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy