06-30-2010
Get the only ip (nothing else) of my linux machine?
How i can get the only ip (nothing else) of my linux machine using shell script.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have three Linux machine have three different times.
Can I synchronize them using one process?
I have root access.
Thanks! (1 Reply)
Discussion started by: whatisthis
1 Replies
2. Shell Programming and Scripting
Hi.
I have a C code i want to run that code in linux machine.
i tried with CC command.
but CC command not in my bin dir.
how to run that script.
regards
rajan (3 Replies)
Discussion started by: rajan_ka1
3 Replies
3. UNIX Desktop Questions & Answers
can i install more than one linux on a same machine.........
i.e fedora and Kubuntu on asame machine.....
will it affect a performance?????? (2 Replies)
Discussion started by: arunchaudhary19
2 Replies
4. Shell Programming and Scripting
I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies
5. UNIX for Dummies Questions & Answers
One of our database server is suddenly became very slow and i have no clue what to do .Please help. I m sharing the performance inforamtion regarding cpu,harddisk,ram .
########CPU Information########
Machine Uptime Information:
uptime
10:25:06 up 16:50, 1 user, load average: 5.84, 5.65,... (10 Replies)
Discussion started by: pinga123
10 Replies
6. Shell Programming and Scripting
I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine.
for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies
7. Red Hat
Hi guys, could you help me to configure my Linux machine to behave as router?
Scenario:
Machine OS: CentOS 6.2
NIC: eth0: configured with a static IP by the ISP.
eth1: not configured yet
Virtual Machine: CentOS 5.7
NIC : eth0 : not configured yet
eth1 : not configured yet... (8 Replies)
Discussion started by: saqlain.bashir
8 Replies
8. Red Hat
Hi genious
i'm New to Linux .. help me
Very Urgent
how to install Openssh in linux machine step by step ....
plz (3 Replies)
Discussion started by: coolboys
3 Replies
9. Linux
Hi All.
Can anyone let me know the smartest and fullprrof method of checkking whther any given linux machine is using DHCP or not?
# ps -ef | grep dhcp
gives output like below :
root 3251 3128 0 11:02 pts/0 00:00:00 grep dhcp
so i dont think its full proof method , please... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies
10. UNIX for Advanced & Expert Users
I have IBM Z-Linux machine as well as RedHat Linux.
Where do I see that the particular machine is z-Linux?
below output from zlinux.
$ uname -a
Linux xxxxxxxHostname 2.6.18-406.el5 #1 SMP Fri May 1 10:42:26 EDT 2015 s390x s390x s390x GNU/Linux
below output from redhat.
$ uname -a... (3 Replies)
Discussion started by: govindts
3 Replies
LEARN ABOUT OSX
platform::shell
platform::shell(n) Tcl Bundled Packages platform::shell(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________
DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(n)