07-31-2009
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do i set the system date and time? i know i have to be root to do it but i'm new to unix--really new--and some of this stuff seems really cryptic. thanks for any help.:confused: (2 Replies)
Discussion started by: singlefin
2 Replies
2. UNIX for Dummies Questions & Answers
Please lemme know how & where to set the session time for ftp connection in Wu-ftp .
Regards
Gambhi. (5 Replies)
Discussion started by: gambhi_s
5 Replies
3. UNIX for Dummies Questions & Answers
I am trying to change the time on a Sun Solaris System, but I am having some difficulties. I thought by accessing the clock icon in the CDE would allow me to change the time. Also when I clicked the help icon I still could not fine any information. (1 Reply)
Discussion started by: wmosley2
1 Replies
4. Shell Programming and Scripting
Hi,
I am trying to set environment variable on a remote machine. I want to do it by running a shell script
Here's what I am doin
rsh <remote-hostname> -l root "cd /opt/newclient; . ./setp.sh"
In setp.sh, I have
#############################
cd ../newlib;
export... (1 Reply)
Discussion started by: eamani_sun
1 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
I wish to set the time and date of the system from my application. (I write code in C ).
How can it be done?
I found the function stime() - but it gets time in seconds as a parameter, and I don't know how to convert my time & date to seconds since EPOCH.
What's the best... (0 Replies)
Discussion started by: klafte
0 Replies
6. IP Networking
Hi,
We have a ftp server which is running on public ip and out side of firewall.
Users out side of our network and users of our local network both using the same public ip and doing upload and downloading.
Last few days we are facing bandwidth problem as internal network users increased.
... (1 Reply)
Discussion started by: abduljabbar_11
1 Replies
7. Shell Programming and Scripting
I am trying to do a comparison of files based on their last modified date.
I am pulling the first file from a webapp folder using curl.
curl --silent -I http://localhost:8023/conf/log4j2.xml | grep Last
Last-Modified: Tue, 22 Mar 2016 22:02:18 GMT
The second file is on local disk.
stat... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
8. UNIX for Beginners Questions & Answers
Hi,
I want to parse below file and Write a function to extract the logs between two given timestamp.
Apache (Unix) Log Samples - MonitorWare
The challenge here is there are three date and time format.
First :- 07/Mar/2004:16:05:49
Second :- Sun Mar 7 16:02:00 2004
Third :- 29-Mar... (6 Replies)
Discussion started by: sahil_shine
6 Replies
LEARN ABOUT DEBIAN
systemd-machine-id-setup
SYSTEMD-MACHINE-ID(1) systemd-machine-id-setup SYSTEMD-MACHINE-ID(1)
NAME
systemd-machine-id-setup - Initialize the machine ID in /etc/machine-id
SYNOPSIS
systemd-machine-id-setup
DESCRIPTION
systemd-machine-id-setup may be used by system installer tools to initialize the machine ID stored in /etc/machine-id at install time with
a randomly generated ID. See machine-id(5) for more information about this file.
This tool will execute no operation if /etc/machine-id is already initialized.
If a valid D-Bus machine ID is already configured for the system the D-Bus machine ID is copied and used to initialize the machine ID in
/etc/machine-id.
If run inside a KVM virtual machine and a UUID is passed via the -uuid option this UUID is used to initialize the machine ID instead of a
randomly generated one. The caller must ensure that the UUID passed is sufficiently unique and is different for every booted instanced of
the VM.
Similar, if run inside a Linux container environment and a UUID is set for the container this is used to initialize the machine ID. For
details see the documentation of the Container Interface[1].
OPTIONS
This tool does not take any options or arguments.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
SEE ALSO
systemd(1), machine-id(5), dbus-uuidgen(1)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
NOTES
1. Container Interface
http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface
systemd 10/07/2013 SYSTEMD-MACHINE-ID(1)