Hi,
I have a file with the contents as below,
10:23:10 GOOD 10.30.50.60
10:23:11 GOOD 10.30.50.62
10:23:12 Hello 10.30.50.60
10:23:12 BAD 10.30.50.60
10:23:13 GOOD 10.30.50.66
10:23:14 BAD 10.30.50.62... (3 Replies)
I am making a script in bash shell and need to find out how many columns are in each row. I tried using awk '{print NF}' which will give me the number of columns for each row of the file all at once which is not what i want. I am trying to read each line individual from a file and want to know... (6 Replies)
Hi, i have data like
a
b
a
a
b
c
d
...
I have to output info of each distinct value that appears in the column and the count of it
a-3,b-2,c-1,d-1
Is there a single line command using awk or sed to accomplish this?
Thanks,
-srinivas yelamanchili (7 Replies)
Hello
How can I get a number of occurrence count for this file;
ERR315389.1000156 CTTGAAGAAGAATTGAAAACTGTGACGAACAACTTGAAGTCACTGGAGGCTCAGGCTGAGAAGTACTCGCAGAAGGAAGACAGATATGAGGAAGAG
ERR315389.1000281 ... (3 Replies)
Hello all,
I would like to ask your help here:
I've a huge file that has 2 columns. A part of it is:
sorted.txt:
kss23 rml.67lkj
kss23 zhh.6gf
kss23 nhd.09.fdd
kss23 hp.767.88.89
fl67 nmdsfs.56.df.67
fl67 kk.fgf.98.56.n
fl67 bgdgdfg.hjj.879.d
fl66 kl..hfh.76.ghg
fl66... (5 Replies)
FS_GETFID(1) AFS Command Reference FS_GETFID(1)NAME
fs_getfid - Display the fid for a given path in AFS
SYNOPSIS
fs getfid [-path] path [-help]
DESCRIPTION
The fs getfid command displays the FID for a given path in AFS. The FID is the internal identifier used by AFS encoding the volume name
and the file within a volume.
CAUTIONS
This command is not available on Windows prior to version 1.5.60.
OPTIONS -path path
The path of the file (or directory).
-literal
Windows only: for a symlink or mount point, evaluates the specified object rather than the object it refers to.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output contains the name of the file or directory, the FID, and the volume containing the FID. The Windows version also outputs the
object type instead of using "File" to describe all objects.
EXAMPLES
On Unix:
% fs getfid .
File . (536870918.1.1) contained in volume 536870918
% fs getfid /afs/example.com/foo
File /afs/example.com/foo (536870918.20404.20997) contained in volume 536870918
On Windows:
% fs.exe getfid \afsexample.eduuseroob
\afsexample.orgusroblinktestsroken
Directory \afsexample.eduuseroob (537235559.1.1) contained in cell example.edu
fs: File '\afsexample.orgusroblinktestsroken' doesn't exist
% fs.exe getfid \afsexample.eduuseroob
\afsexample.orgusroblinktestsroken -literal
Mountpoint \afsexample.eduuseroob (536873032.1162.16997) contained in cell example.edu
Symlink \afsexample.orgusroblinktestsroken (536874416.27618.488969) contained in cell example.org
PRIVILEGE REQUIRED
The issuer must be have read access in the directory containing the path to be resolved.
COPYRIGHT
This document was written by Steven Jenkins, and is released under the IBM Public License Version 1.0. Jeffrey Altman made several
suggestions and additions.
OpenAFS 2012-03-26 FS_GETFID(1)