10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Below are my custom period start and end dates based on a calender, these dates are placed in a file, for each period i need to split into three weeks for each period row, example is given below.
Could you please help out to achieve solution through shell script..
File content:
... (2 Replies)
Discussion started by: nani2019
2 Replies
2. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
3. UNIX for Beginners Questions & Answers
-> start /SYS
Are you sure you want to start /SYS (y/n)? y
Starting /SYS
]-> show HOST
/HOST
Targets:
bootmode
diag
domain
Properties:
autorestart = reset
autorunonerror = false
bootfailrecovery = poweroff
... (29 Replies)
Discussion started by: z_haseeb
29 Replies
4. UNIX for Dummies Questions & Answers
I need to replace the (*) in the fist of a list with numbers using sed for example >
this file contain a list
* linux
* computers
* labs
* questions
to >>>>
this file contain a list
1. linux
2. computers
3. labs
4. questions (7 Replies)
Discussion started by: aalbazie
7 Replies
5. Shell Programming and Scripting
Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').... (1 Reply)
Discussion started by: Dabheeruz
1 Replies
6. Shell Programming and Scripting
Hey!
I'm working on a script that will add a user, create some configfiles, and add a crontab for the user.
The crontab looks like the following:
@reboot /home/user/program config.conf &
I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies
7. UNIX for Dummies Questions & Answers
Write a sh or bash script to manage the customers' information. The script should allow the user to add and remove a customer, display all customers (sorted by LastName, FirstName, PhoneNumber, Company, or Email), and search a customer's information by his/her name. The script should be menu-based... (1 Reply)
Discussion started by: dsptl
1 Replies
8. AIX
As topic, assume we have a service called "blahservice"
and we can start it by:
startsrc -s blahservice
what is the best practice to run such command when system start?
- directly use mkitab to add it into /etc/inittab
or
- drop startup scripts in /etc/rc.d/rcX.d
I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies
9. Linux
hi
i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots
i mean whenever my system starts that application must also start
thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies
10. UNIX for Dummies Questions & Answers
I'm running MAC OS X and I'm wondering how I start 'nixey programs (not normal apps) on startup? Things like the dnet client and hxd Hotline Server. Anyone know? (1 Reply)
Discussion started by: l008com
1 Replies
YPINIT(8) NIS Reference Manual YPINIT(8)
NAME
ypinit - NIS database install and build program
SYNOPSIS
/usr/lib/yp/ypinit [-m] [-s master_name]
DESCRIPTION
ypinit builds the domain subdirectory of /var/yp for the current default domain. After building the domain subdirectory, ypinit builds a
complete set of administrative maps for your system and places them in this directory. The first map created by ypinit -m is the ypservers
map. You should run it as root on the hosts, which should be the master ypserver.You should have only one master server per NIS domain.
All databases are built from scratch, either from information available to the program at runtime, or from the ASCII data base files in
/etc. These files are listed below under FILES.
An NIS database on a slave server is set up by copying an existing database from a running server. The master_name argument should be the
hostname of an NIS server (either the master server for all the maps, or a server on which the data base is up-to-date and stable).
OPTIONS
-m
If the local host is the NIS master.
-s
Set up a slave server with the database from master_name
FILES
/etc/passwd, /etc/group, /etc/hosts, /etc/networks, /etc/services, /etc/protocols, /etc/netgroup, /etc/rpc
SEE ALSO
makedbm(8), revnetgroup(8), yppush(8), ypserv(8), ypxfr(8)
BUGS
There is no good error handling at the moment.
AUTHOR
Thorsten Kukuk <kukuk@linux-nis.org>
NIS Reference Manual 04/02/2009 YPINIT(8)