Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

index(4) [plan9 man page]

0intro	0intro	intro  0intro  81/2 81/2 acme acme cfs cfs C con-
solefs consolefs consolefs 9660srv dossrv a: dossrv b: dossrv  c:
dossrv	dossrv	dossrv	eject  dossrv exportfs exportfs srvfs ex-
portfs fs fs ftpfs ftpfs  import  import  iostats  iostats  keyfs
keyfs  warning	keyfs kfs kfs namespace namespace ramfs ramfs 9fs
srv dk232 srv dkmodem srv srv  srv  fax  telco	faxreceive  telco
faxsend  telco	telco  telco  telcodata telco telcofax telco u9fs
u9fs

Check Out this Related Man Page

SRV(4)							     Kernel Interfaces Manual							    SRV(4)

NAME
srv, 9fs, dk232, dkmodem - start network file service SYNOPSIS
srv [ -m ] [net!]system[!service] [ srvname [ mtpt ] ] 9fs [net!]system [mountpoint] dk232 [server] dkmodem [telno] DESCRIPTION
Srv dials the given machine and initializes the connection to serve the 9P protocol. It then creates in /srv a file named srvname. Users can then mount (see bind(1)) the service, typically on a name in /n, to access the files provided by the remote machine. If srvname is omitted, the first argument to srv is used. Option m directs srv to mount the service on /n/system or onto mtpt if it is given. The specified service must serve 9P. Usually service can be omitted; when calling some non-Plan 9 systems, a service such as u9fs must be mentioned explicitly. The 9fs command does the srv and the mount necessary to make available the files of system on network net. The files are mounted on mount- point, if given; otherwise they are mounted on /n/system. If system contains characters, only the last element of system is used in the /n name. 9fs recognizes some special names, such as dump to make the dump file system available on /n/dump. 9fs is an rc(1) script; examine it to see what local conventions apply. Dk232 configures a serial line as a Datakit device and connects to a file server (default bootes) using 9fs. Dkmodem dials a file server at telephone number telno and configures the line as a Datakit device using 9fs. EXAMPLES
To see kremvax's and deepthought's files in /n/kremvax and /n/deepthought: 9fs kremvax 9fs hhgttg/deepthought NOTE
The TCP port used for 9P is 564. FILES
/srv/* ports to file systems and servers posted by srv and 9fs SOURCE
/sys/src/cmd/srv.c /rc/bin/9fs /rc/bin/dk232 /rc/bin/dkmodem SEE ALSO
bind(1), dial(2), srv(3), ftpfs(4), dkconfig(8) SRV(4)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

please help with openbsd 2.9

Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
Discussion started by: Blunt_Killer
11 Replies

2. Shell Programming and Scripting

PHP: problem with index.php

iam geting a error with this index script. heres the error Parse error: parse error in c:\phpdev\www\dev\compulearn\in work\index.php on line 39 Whats wrong?? ------------------------ <?php //display header and left bars include ('header.php'); include ('left.php'); //connect... (13 Replies)
Discussion started by: perleo
13 Replies

3. Shell Programming and Scripting

Indexing or Filtering code- Pattern Search by comparing two files

So here is goes to the Gurus of shell programming......I have tried a lot of different ways and its a very challenging code to write but i am enjoying it as i troubleshoot and hopefully someone can provide me a better option....Thank you in advance for your time and support....Much appreciated... ... (12 Replies)
Discussion started by: aavam
12 Replies

4. Shell Programming and Scripting

How to access the elements of two arrays with a single loop using the inbuilt index.

Hi all, I wanted to access two arrays (of same size) using one for loop. Ex: #!/bin/bash declare -a num declare -a words num=(1 2 3 4 5 6 7) words=(one two three four five six seven) for num in ${num} do echo ":$num: :${words}:" done Required Output: :1: :one: (11 Replies)
Discussion started by: 14341
11 Replies

5. Shell Programming and Scripting

awk: reading into an array and then print the value corresponding to index

I am beginner in awk awk 'BEGIN{for(i=1;(getline<"opnoise")>0;i++) arr=$1}{print arr}' In the above script, opnoise is a file, I am reading it into an array and then printing the value corresponding to index 20. Well this is not my real objective, but I have posted this example to describe... (19 Replies)
Discussion started by: akshaykr2
19 Replies

6. Shell Programming and Scripting

rm -i and deleting files from an index table

Hi, I am trying to make a command to delete my files out the trash can, but one at a time. I am currently using rm - i to do this, but the original file locations for restoring my files are heard on a .txt file which I am using as an index table. How would I manage to make it so that if I... (21 Replies)
Discussion started by: E-WAN
21 Replies

7. Shell Programming and Scripting

BASH - storing index value from another file

I'm trying to figure out a way to store the index value from a flat file. The flat file looks like this: A1,A2,A4,A6,B3,B6,B7,C1,C2,C5,C7,D2,D5,D7,E2,E3,E4,F1,F5,F6,G2,G5 What I'm trying to achieve is to grab individual index value so as to display it out in a 7x7 matrix with ROW and COL... (21 Replies)
Discussion started by: vinzping
21 Replies

8. Shell Programming and Scripting

awk uniq and longest string of a column as index

I met a challenge to filter ~70 millions of sequence rows and I want using awk with conditions: 1) longest string of each pattern in column 2, ignore any sub-string, as the index; 2) all the unique patterns after 1); 3) print the whole row; input: 1 ABCDEFGHI longest_sequence1 2 ABCDEFGH... (12 Replies)
Discussion started by: yifangt
12 Replies

9. UNIX for Dummies Questions & Answers

awk: syntax for "if (array doesn't contain a particular index)"

Hi! Let's say I would like to convert "1", "2", "3" to "a", "b", "c" respectively. But if a record contains other number then return "X". input: 1 2 3 4 output: a b c X What is the syntax for: if(array doesn't contain a particular index){ then print the value "X" instead} (12 Replies)
Discussion started by: beca123456
12 Replies

10. Shell Programming and Scripting

Count lines

Hello, I have a file with two columns like the following FILE1: chr1 61042 chr1 61153 chr1 61446 chr1 61457 chr1 61621 chr10 61646 chr10 61914 chr10 62024 chr10 62782 Alos, I have another file FILE2: (13 Replies)
Discussion started by: rkk
13 Replies

11. Shell Programming and Scripting

awk : search last index in specific column

I am trying to search a given text in a file and find its last occurrence index. The task is to append the searched index in the same file but in a separate column. I am able to accomplish the task partially and looking for a solution. Following is the detailed description: names_file.txt ... (17 Replies)
Discussion started by: tarun.trehan
17 Replies

12. Shell Programming and Scripting

Associative array index question

I am trying to assign indexes to an associative array in a for loop but I have to use an eval command to make it work, this doesn't seem correct I don't have to do this with regular arrays For example, the following assignment fails without the eval command: #! /bin/bash read -d "\0" -a... (19 Replies)
Discussion started by: Riker1204
19 Replies

13. What is on Your Mind?

UNIX.com is getting crushed in google search these days

For over a decade, unix.com has been in the top tier for search referrals. The keyword "unix" used to rank #4, and when it was down, it was #9. At times, we were close to #2 on Google for the "unix" keyword. Now, in some geos (in the US for example yesterday), in Google search the "unix"... (28 Replies)
Discussion started by: Neo
28 Replies

14. What is on Your Mind?

Your site has been switched to Mobile First Indexing

Well, Google throws the web a curve ball again: I thought I was going to get a break from coding; but no..... https://www.unix.com/members/1-albums215-picture1240.png (15 Replies)
Discussion started by: Neo
15 Replies