01-05-2011
uname -i ?
For more details check the output of /usr/platform/"$(uname -i)"/sbin/prtdiag or /usr/sbin/prtdiag on Solaris 10 (the first line).
Last edited by radoulov; 01-05-2011 at 05:28 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
please help me figure out how to do this
I wont lie, this is for a homework problem and I have searched on google for a long time and still can't figure out what to do.
here is the problem
So there's a folder let's say called "bare"
in it, there are 10 dirs with names from "part1" through... (2 Replies)
Discussion started by: white_raven0
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am trying to schedule a one time job using the at command with the help of shell script for my project. The shell script should take a parameter as a command line argument from the at command itself. Is it possible to take a command line parameter for a shell script in the command... (3 Replies)
Discussion started by: Mohanraj
3 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I`m trying to execute something remotely using Remsh. Up to now it worked on HP-UX machines ( editing the /etc/hosts. .rhosts and creating user to the remote machine using SAM) but i cannot configure it to work from HP-UX to Linux or SunOS.
Can anybody help me with this?
THanks (2 Replies)
Discussion started by: elthox
2 Replies
4. Shell Programming and Scripting
Dear friends,
please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories..
it is like this,
current directory contains
file1, file2, file3, dir1, dir2
and dir1 conatins
file4, file5
and dir2 contains
file6,... (9 Replies)
Discussion started by: swamymns
9 Replies
5. Shell Programming and Scripting
How do I create shortcuts? For example:
I just want to type one key "l" and have it output the command of "ls -lah"
I believe it's creating a file called l with 755 permissions but I'm not sure where to put the file.
*if it matters, I'm on a shared hosting web server using cPanel with... (2 Replies)
Discussion started by: ijustsawmars
2 Replies
6. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
7. UNIX for Dummies Questions & Answers
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies
8. Shell Programming and Scripting
I want to list all files/lines which except those which contain the pattern ' /proc/' OR ' /sys/' (mind the leading blank).
In a first approach I coded:
find / -exec ls -ld {} | grep -v ' /proc/| /sys/' \; > /tmp/list.txt
But this doesn't work. I got an error (under Ubuntu):
grep:... (5 Replies)
Discussion started by: pstein
5 Replies
9. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
10. Answers to Frequently Asked Questions
When I use the command find "/abc/xyz" -type f -ctime +30 getting the error as
find:"/abc/xyz /lost+found: Permission Denied"
I tired find "/abc/xyz" -type d \( ! lost+found \) -type f -ctime +30 The error is
find: paths must precede expression Usage: find
Tried find "/abc/xyz"... (1 Reply)
Discussion started by: anithab
1 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)