Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #94
Difficulty: Easy
The mv command in Linux moves a file from one location to another, but only in the same directory.
True or False?
Linux & Unix Commands - Search Man Pages

vfragpg(8) [osf1 man page]

vfragpg(8)						      System Manager's Manual							vfragpg(8)

vfragpg - prints a single header page of a frag file SYNOPSIS
/sbin/advfs/vfragpg special page_LBN OPERANDS
Specifies the block special device name, such as /dev/disk/dsk2c. Specifies the logical block number of the page. DESCRIPTION
The vfragpg command allows you to see the structure of a single header page in a frag file. Use showfile -x /usr/.tags/1 to locate the logical block number of the page. RESTRICTIONS
You must have root user privileges to access this command. EXAMPLES
The following example shows the headers for the frag file with logical block number 10672 on the device /dev/disk/dsk3a: # vfragpg /dev/disk/dsk3a 10672 self 0 nextFreeGrp -1 fragType 6 freefrgs 14 ver 1 frag on free list : 43, nextFree = 49 frag on free list : 49, nextFree = 55 frag on free list : 55, nextFree = 61 frag on free list : 61, nextFree = 67 frag on free list : 67, nextFree = 73 frag on free list : 73, nextFree = 79 frag on free list : 79, nextFree = 85 frag on free list : 85, nextFree = 91 frag on free list : 91, nextFree = 97 frag on free list : 97, nextFree = 103 frag on free list : 103, nextFree = 109 frag on free list : 109, nextFree = 115 frag on free list : 115, nextFree = 121 frag on free list : 121, nextFree = -1 # SEE ALSO
advfs(4), showfile(8), shfragbf(8) vfragpg(8)

Check Out this Related Man Page

URI::Split(3)						User Contributed Perl Documentation					     URI::Split(3)

URI::Split - Parse and compose URI strings SYNOPSIS
use URI::Split qw(uri_split uri_join); ($scheme, $auth, $path, $query, $frag) = uri_split($uri); $uri = uri_join($scheme, $auth, $path, $query, $frag); DESCRIPTION
Provides functions to parse and compose URI strings. The following functions are provided: ($scheme, $auth, $path, $query, $frag) = uri_split($uri) Breaks up a URI string into its component parts. An "undef" value is returned for those parts that are not present. The $path part is always present (but can be the empty string) and is thus never returned as "undef". No sensible value is returned if this function is called in a scalar context. $uri = uri_join($scheme, $auth, $path, $query, $frag) Puts together a URI string from its parts. Missing parts are signaled by passing "undef" for the corresponding argument. Minimal escaping is applied to parts that contain reserved chars that would confuse a parser. For instance, any occurrence of '?' or '#' in $path is always escaped, as it would otherwise be parsed back as a query or fragment. SEE ALSO
Copyright 2003, Gisle Aas This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.3 2012-02-11 URI::Split(3)

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mounting advfs in single-user mode

Hi! I am trying to mount a file system (advfs) in single-user mode. The goal is to make a vdump of the partition The command I am using is: mount -t advfs domain#gaston /usr/local/gaston But appears the following error: No such domain, file.... Any help? Thanks in advance Gaston (2 Replies)
Discussion started by: gmoyano
2 Replies

2. UNIX for Dummies Questions & Answers

it's free ????????

is solirs free or lindows and were to download it? i have a x86 p500 (3 Replies)
Discussion started by: amicrawler2000
3 Replies

3. Shell Programming and Scripting


Hi, I had this syntax and no matter what I do, I can't get it run. err message: run6: syntax error at line 121 : `(' unexpected I went to line 121 and it's comment out! All the variables passed to nawk are valid. There are two places I suspect have the problem: 1.... (3 Replies)
Discussion started by: whatisthis
3 Replies

4. AIX

pg: 0652-121

Hello, Whenever a non-root user try to run any cmd with |pg on a AIX 5.1 system it returns: pg: 0652-121 Cannot create the temporary file. Does anyone knows what this is about? This doesn't occur with root account. Obrigado (2 Replies)
Discussion started by: maraquez
2 Replies

5. Shell Programming and Scripting

removing spaces after sperator

Hi friends i have problem 6000000001| CDC049| 109| CDC| 02/02/2006| Auto| New Add| 02/03/2006 6000000002| CDC033| 109| CDC| 02/02/2006| Auto| New Add| 02/03/2006 6000000003| CDC037| 109| CDC| 02/02/2006| Auto| New Add| 02/03/2006 6000000004| CDC031| ... (6 Replies)
Discussion started by: vishnu_vaka
6 Replies

6. IP Networking

Problem with name resolution?

I have an AIX4.3 box on our subnet, called LIMEST3.OURDOMAIN.CO.UK, with IP address It has the following entry in its own /etc/hosts: limest3 Now, if I ping or ping, the result is instant. However if I ping... (4 Replies)
Discussion started by: grimbleshanks
4 Replies

7. Shell Programming and Scripting

Append value in a file

Dear all, I have output in file like below: and I need to append number starts from 901 til 909 to the end of each line please help. 109;0;109 109;1001;109 109;101;109 109;102;109 109;1101;109 109;1301;109 109;1401;109 109;162;109 109;1;109 109;201;109 109;202;109 109;216;109... (4 Replies)
Discussion started by: sfaqih
4 Replies

8. Shell Programming and Scripting

Cut last Field

Guys, I have a line like this: 109;201;1099010 and as you see that first field 109 and the last field starts with 109. I need to cut the rest in the last field after 109 which is 9010 How to do it? (2 Replies)
Discussion started by: sfaqih
2 Replies

9. Shell Programming and Scripting

Need help in building Unix script

Hi all, We have a requirement like we need to create a program which will change a particular string in the file. For example +=KA1238767 1121 3344645 686943 22356 01 567893 12435 12121 983627 121 1092 091217 02 may be for engine failure In the above file we need to change the bold string... (2 Replies)
Discussion started by: susant.igate
2 Replies

10. Shell Programming and Scripting

Comparison doubt..

Hi, /etc/fstab file contains: ================== cluster_root#root / advfs rw 0 1 cluster_usr#usr /usr advfs rw 0 2 cluster_var#var /var advfs rw 0 2 /proc /proc procfs rw 0 0 t_d#t_f /t_m advfs rw 0 2 /dev/disk/dsk1c /ufs_mnt ufs ... (3 Replies)
Discussion started by: mansa
3 Replies

11. Web Development

Getting access of my project kept in one node

sir.. i am working in a WAN...... i am getting the login screen for an application by typing the address of the location and the file name "http:/" from the node now i had my web applicatioon at for which i have taken the source code of the... (0 Replies)
Discussion started by: KANNI786
0 Replies

12. AIX

Lspv -free command on VIOS

Hi all, When we run lpsv -free command on VIOS, it will take lot of time to display free disks i.e around 8 to 10 minutes. VIOS ioslevel is you have any solution for this problem? Many Thanks (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

13. Red Hat

Check free diskspace

Hi all, I would like to know what was the free disk space available in my system for last two days back. I know how to check free disk space by command below. df -h But i want to know the same outcome for last two days back. Please help me. Reg, Mastan (5 Replies)
Discussion started by: mastansaheb
5 Replies

14. Shell Programming and Scripting

Display combination of 4 field uniqe record and along with concatenate 5th and 6th field.

Table ACN|NAME|CITY|CTY|NO1|NO2 115|AKKK|ASH|IND|10|15 115|AKKK|ASH|IND|20|20 115|AKKK|ASH|IND|30|35 115|AKKK|ASH|IND|30|35 112|ABC|FL|USA|15|15 112|ABC|FL|USA|25|20 112|ABC|FL|USA|25|45 i have written shell script using cut command and awk programming getting error correct it and add... (5 Replies)
Discussion started by: udhal
5 Replies

Featured Tech Videos