Appreciate all the answers. So far I have made so much progress on my custom prompt and i'm quite happy with the results. It's so streamline and customized that it answers about 20 different questions about the system at a glance. The last thing i'm trying to do involves the same process but I need to be able to compare sdout with a variable in side of awk. I can't seem to get it to work with a variable. The output of the command will be the IP address the hostname resolves to and the variable $actualip is the actual configured IP on the system. So the idea is that they will match when properly configured.
Hello all
I wander if I make for example " ls -l "
And it gives me all the files in the directory with the additional info like data size and privileges
But what if I like to filter the stout result for example by date
When I try to do:
echo "`ls -l`" | grep "Jan 12"
it gives me the... (2 Replies)
Hi All,
I have created a Unix Shell script whch creates a *.csv file and export it to Excel.
The problem i am facing is that Users wants one of the AMOUNT field in comma separted values. Example :
if the Amount has the value as 3000000 User wants to be in 3,000,000 format.
This Amount format... (2 Replies)
I have a function called sysLogger in a bash script that I am using to redirect stdout and stderr to syslog.
Part of the script contains an option to turn on debugging otherwise I want debugging output to go to /dev/null.
I am struggling to understand how to make this work using the function... (10 Replies)
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
should be the simplest thing in the world use grep
but i not get it
i have several files, in this files i need to khow how many times the words are repeated but the files must star whit P_
this work
egrep -c "word1|word2" *P_*
result:
P_11351814:1
P_11351823:3
P_11351826:1... (2 Replies)
Hi, I am trying to write the simplest network driver that would send whatever through cable.
My configuration is:
Linux machine with some Intel network adapter
Another machine with WireShark
I connected Intel network adapter to second machine and want anything to pop up at wireshark.
... (12 Replies)
I'm not a Linux newbie but this seemed like a pretty n00b question. I am familiar with Postfix/Dovecot setups but now I am looking for the simplest way to access mail on a Linux system, such as the mail that goes to /var/mail/root. I know I can edit /etc/aliases and have the system mail go straight... (6 Replies)
Discussion started by: TayKimchi
6 Replies
LEARN ABOUT X11R4
asadmin-start-domain
asadmin-start-domain(1AS) User Commands asadmin-start-domain(1AS)NAME
asadmin-start-domain, start-domain - starts the given domain
SYNOPSIS
start-domain [--domaindir install_dir/domains] [--terse=false] [--echo=false] [--verbose=false] [--debug] [domain_name]
start-domain starts the specified domain. If there is only one domain in the default domain directory (install_dir/domains), then no oper-
and is required to start the domain. However, if there is more than one domain, the domain operand must be specified. This command can only
be run locally.
OPTIONS --domaindir directory where the domain is to be started. If specified, path must be accessible in the filesystem. If not speci-
fied, the domain is started in the default install_dir/domains directory.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--verbose by default this flag is set to false. If set to true, detailed server startup output is displayed. Press CTRL-C to
kill the server. Press CTRL- to print a thread dump.
--debug by default this flag is set to false. If set to true, the server is started in debug mode and prints the JPDA port
on the console.
OPERANDS
domain_name name of the domain. Must be a unique name.
Example 1: Using start-domain
asadmin> start-domain sampleDomain
Starting Domain sampleDomain, please wait.
Domain sampleDomain started
Where: the sampleDomain domain is started.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-domain(1AS), asadmin-delete-domain(1AS), asadmin-stop-domain(1AS), asadmin-list-domains(1AS)J2EE 1.4 SDK March 2004 asadmin-start-domain(1AS)