can someone explain the meaning of the following shell commands:
1. who / wc -l
2. who / sort > user_names
3. cat students > new_students
4. current_day='date / cut -cl-3'
i would also appreciated if you could tell me some things about the umask
1. what is a good umask value and why?
2.... (2 Replies)
What is the basic syntax for a script that says
do you want to do this?
y - execute this
n - end
not y or n - end and print this
for example if I want to run this:
"Do you want to start this process?"
answer
if y,Y, or yes
then
run the following script (do I put the script with... (10 Replies)
OK...I'm using the latest version of Fedora 10.
My network connection was working fine, and I had several network LAN shares on my desktop. Then I rebooted the system without dismounting those shares first. ooops. <:(
...When the system came back up, my network connection was gone. All... (2 Replies)
Hi all,
OS: fedora release 10
when i try to restart network service, ending up with following errors. There are two interfaces eth0 and eth1
bringing up interface eth0 rtnetlink answers file exists
error adding <IP Address here> to eth0
bringing up interface eth0 rtnetlink answers... (2 Replies)
hello guys!! need 1 favour from u all..
Can u jst tell me the answers for these ques??
1. ls - l _____ : command to return all files that end with single digit and those with TXT extension
2. ls -l report* _______ : command to return all files that start with the word RPT except those with LOG... (1 Reply)
Hello All,
While I am studying on RTNETLINK, I understand that the kernel will send RTM_ADDLINK or RTM_DELLINK if interface is added/removed at kernel space. However, I have a question regarding to the RTNETLINK message if adding or removing ethernet to/from bridge? Since adding or removing... (0 Replies)
Hi,
I have wrote a python program to sum the numbers in a list.However its giving answer one.
Please advise.
MyList =
Number = int(input("Please enter number:"))
for i in range(1, Number + 1):
value = int(input("Enter Numbers %d:" %i))
MyList.append(value)
total =... (3 Replies)
Discussion started by: nag_sathi
3 Replies
LEARN ABOUT OPENDARWIN
nigrep
NIGREP(1) General Commands Manual NIGREP(1)NAME
nigrep - search for a regular expression in the NetInfo hierarchy
SYNOPSIS
nigrep expression [ -t ] domain [ directory ... ]
DESCRIPTION
nigrep searches through the specified domain argument for a regular expression. It searches the domain's directory hierarchy depth-first
starting from the root directory. It can also start from each directory specified on the command line.
The domain argument can be specified as an absolute or relative domain name. The domain argument can be specified as a network address or
hostname and tag if preceded by the -t option.
On output, nigrep prints the directory ID number of the directory which contains the regular expression, and the property key and values
where it was found. A line is printed for each property that contains the regular expression.
OPTIONS -t Specify domain as a network address or hostname and tag.
EXAMPLES
% nigrep '[Nn]et' /
% nigrep '[Nn]et' -t 192.42.172.17/local
% nigrep '192.[0-9]+.172' -t astra/network /machines
% nigrep '/Net/server.*/Users' .. /users /mounts
SEE ALSO netinfo(5)AUTHOR
Marc Majka, Apple Computer Inc.
Apple Computer, Inc. August 9, 1994 NIGREP(1)