9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hi,
i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010).
the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file.
my code is:
... (2 Replies)
Discussion started by: yossi
2 Replies
2. Shell Programming and Scripting
We are in a conversion where a list of six digit numbers needs to be excluded from an existing report. As new ones are added we have an ever longer string of "grep -v" commands like:
grep -v 020516 | grep -v 020522 | grep -v 030132 | \
grep -v 030330 | grep -v 030357 | grep -v 050111 | \
... (7 Replies)
Discussion started by: wbport
7 Replies
3. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
4. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
5. UNIX and Linux Applications
Hi,
I have my WebLogic server up and running on port 7002, and can be accessed from :
https://mydomain.com:7002/App1
i want to configure Port redirection from 7001 to 7002
if users Login to
http://mydomain.com:7001/App1 it should automatically take them to ... (1 Reply)
Discussion started by: szs
1 Replies
6. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
7. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
8. UNIX for Dummies Questions & Answers
I'm using GNU screen as a terminal to connect with a usb serial port. eg. screen /dev/tty.usbserial . This works well enough for manual processes. Is there a way to redirect the output of a script running in another session to the stdin of this virtual terminal? ie. I want to repeatedly send some... (1 Reply)
Discussion started by: geoffjMontreal
1 Replies
9. Solaris
Hi All
I need to find the biggest files on our system BUT excluding some directories.
I.E Find / -size +10000 (excluding 'platform'|'db' ..etc) |sort -n > file
I tried grep -v but that can only do one expression at a time. Tried /usr/xpg4/bin/grep but cant use -v
Please help
Chris (5 Replies)
Discussion started by: JTS911
5 Replies
MACHINE-INFO(5) machine-info MACHINE-INFO(5)
NAME
machine-info - Local machine information file
SYNOPSIS
/etc/machine-info
DESCRIPTION
The /etc/machine-info file contains machine meta data.
The basic file format of machine-info is a newline-separated list of environment-like shell-compatible variable assignments. It is possible
to source the configuration from shell scripts, however, beyond mere variable assignments no shell features are supported, allowing
applications to read the file without implementing a shell compatible execution engine.
/etc/machine-info contains meta data about the machine that is set by the user or administrator.
Depending on the operating system other configuration files might be checked for machine information as well, however only as fallback.
You may use hostnamectl(1) to change the settings of this file from the command line.
OPTIONS
The following machine meta data parameters may be set using /etc/machine-info:
PRETTY_HOSTNAME=
A pretty human-readable UTF-8 machine identifier string. This should contain a name like "Lennart's Laptop" which is useful to present
to the user and does not suffer by the syntax limitations of internet domain names. If possible, the internet hostname as configured in
/etc/hostname should be kept similar to this one. Example: if this value is "Lennart's Computer" an Internet hostname of
"lennarts-computer" might be a good choice. If this parameter is not set, an application should fall back to the Internet host name for
presentation purposes.
ICON_NAME=
An icon identifying this machine according to the XDG Icon Naming Specification[1]. If this parameter is not set, an application should
fall back to "computer" or a similar icon name.
CHASSIS=
The chassis type. Currently, the following chassis types are defined: "desktop", "laptop", "server", "tablet", "handset", as well as
the special chassis types "vm" and "container" for virtualized systems that lack an immediate physical chassis. Note that many systems
allow detection of the chassis type automatically (based on firmware information or suchlike). This setting (if set) shall take
precedence over automatically detected information and is useful to override misdetected configuration or to manually configure the
chassis type where automatic detection is not available.
EXAMPLE
PRETTY_HOSTNAME="Lennart's Tablet"
ICON_NAME=computer-tablet
CHASSIS=tablet
SEE ALSO
systemd(1), os-release(5), hostname(5), machine-id(5), hostnamectl(1), systemd-hostnamed.service(8)
NOTES
1. XDG Icon Naming Specification
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
systemd 208 MACHINE-INFO(5)