BugTag

Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2008-08-24 03:01:58
Size: 1186
Editor: pool-72-81-242-91
Comment:
Revision 6 as of 2008-09-19 23:33:02
Size: 1026
Editor: pool-72-81-242-91
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== This is a ManXample entry for the "****" command. ==

This is the area to list the current manpage entry for the command in question.

=== Examples ===
== This is a ManXample entry for the "mount" command. ==
Line 9: Line 5:
1) To search your entire drive for the string "happy", use the following command:
    '''sudo find / -name "*happy*"
1) To mount an NFS share via IP, use the following command:
    '''sudo mount.nfs 10.0.0.1:/path/to/share /path/to/mount/point
Line 12: Line 8:
2) To find files in the current folder with the "xml" extension and append the .old extension to them, use the following command:
    '''find -name "*.xml" -exec mv '{}' '{}'.old \;
2) To mount an NFS share via hostname, use the following command:
    '''sudo mount.nfs hostname:/path/to/share /path/to/mount/point
Line 15: Line 11:
3) To Unrar all archives in the current folder into their own folder, use the following command:
    '''for x in *.rar; do mkdir "${x%.rar}" && cd "${x%.rar}" && unrar x "../$x" && cd ..; done
3) To mount an NFS4 share via IP with verbose and read-only modes enabled, use the following command:
    '''sudo mount.nfs4 -vr 10.0.0.1:/path/to/share /path/to/mount/point

This is a ManXample entry for the "mount" command.

This is the area to propose additional strings, comments, tips, work-flows, examples, and reference for commands and daemons. ManXamples will be added to the bottom of the official manpage entries the following standard format, so people can always find them and the listings are uniform. Please look at the commands listed before adding more, so work is not duplicated. If needed, simply add a function to an existing command if it adds significant value without complicating the spirit of the original example.

1) To mount an NFS share via IP, use the following command:

  • sudo mount.nfs 10.0.0.1:/path/to/share /path/to/mount/point

2) To mount an NFS share via hostname, use the following command:

  • sudo mount.nfs hostname:/path/to/share /path/to/mount/point

3) To mount an NFS4 share via IP with verbose and read-only modes enabled, use the following command:

  • sudo mount.nfs4 -vr 10.0.0.1:/path/to/share /path/to/mount/point

ManXamples/BugTag (last edited 2008-09-19 23:33:02 by pool-72-81-242-91)