I have found an excellent OS X pref pane that allows you to output log files or terminal commands/scripts onto the desktop in the background.
What I want to do is create a script that outputs the following...
- Mac OS X Version and Build (As shown in the about this mac)
- Current username
-... (6 Replies)
Hi Gurus,
is there a possibility to show where a user can write to?
i want to see all directories where a user has permissions to write to.
Kind Regards
FranzB (0 Replies)
Hello,
I seem to be having a problem with accumulation of root CRON jobs occuring when I have a user's cron job(s) running.
Here is an example of a user's crontab file:
*/1 * * * * echo "hello" > /dev/nullps aux|grep CRON
root 14333 0.0 0.0 91236 2172 ? S ... (12 Replies)
Hello ,
When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Hi,
In the following output you can see the the user "richard" is a member on the team/group "developers":
# id richard
uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers)
but in the following details of the said group (developers), the said user... (3 Replies)
Good morning all,
This is the file name in question OD_Orders_2019-02-19.csv
I am trying to create a bash script to read into files with yesterdays date on the file name while retaining the rest of the files name. I would like for $y to equal, the name of the file with a formula output with... (2 Replies)
Hi
I wanted to know if there is an option in grep command to show the number of results (not the number of lines of findings).
Thanks (14 Replies)
Discussion started by: abdossamad2003
14 Replies
LEARN ABOUT BSD
stime
STIME(2) Linux Programmer's Manual STIME(2)NAME
stime - set time
SYNOPSIS
#include <time.h>
int stime(const time_t *t);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
stime():
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
DESCRIPTION
stime() sets the system's idea of the time and date. The time, pointed to by t, is measured in seconds since the Epoch, 1970-01-01
00:00:00 +0000 (UTC). stime() may be executed only by the superuser.
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EFAULT Error in getting information from user space.
EPERM The calling process has insufficient privilege. Under Linux, the CAP_SYS_TIME privilege is required.
CONFORMING TO
SVr4.
SEE ALSO date(1), settimeofday(2), capabilities(7)COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2016-03-15 STIME(2)