We have requirments to not allow a userid login abilities but allow users to 'su' to it. In solaris I normally set the shell in /etc/passwd to bin/false. THis does not work on Linux, any suggestions would help. (1 Reply)
i want to delete every newline and every line which starts with "RECORD......." in a file.
FILE:
Record 61391 in base BROCKHAUS (Timestamp: 2008-04-09 11:38:38)
UNTERTITEL :
Gräfin (seit 1707 Reichsgräfin) von, * Schwerin 4. 2. 1686, + Berlin
21. 10. 1744; wurde
Record 61392 in base BROCKHAUS... (4 Replies)
Hi,
I'm new to UNIX and am trying to learn shell scripting in order to work on an interface that I inherited when a co-worker left. I need to be able to check to see whether a file exists to determine whether the FTP has taken place, but in testing, the if statement always evaluates as false,... (3 Replies)
Hi All,
I am using the below Script to enter a line in the File:
#!/bin/ksh
# To delete the last line if it contains the pattern Redirect permanent / Virgin Atlantic Airways - Popup
echo "Enter the URL that should point to the particular microsite"
read url
# To delete the last line if it... (0 Replies)
Why this happens?
How to solve this?
$netstat -na |grep 9325
tcp 0 0 127.0.0.1:9325 127.0.0.1:9325 ESTABLISHED
When a client socket repeatedly tries to connect to an inactive(no server socket is listening on this port) local port,connect succeeds.
... (1 Reply)
Checking configuration access files for an AIX server, left me wondering about this :confused::
If a user is added to system group, it gets gid=0 with some security risks because it gets some root kind of file access level.
Is this insecure condition kept if the user has admin variable... (0 Replies)
I have read the below from the book bash cookbook.Tail +1 filenames is similar to cat filename
I have tried the same in Ubuntu 11.10 with bash. 4.0 .
I have received error for the Same.
May I know in which system that will work fine ?
Thanks (1 Reply)
Hi
I have written a script to send email alerts when load of my linux server reaches max point
I keep getting false emails thought the load is normal , looks like same email is generated again and again - called from cron tab
checked if the tempfile is present , no it is not , cleaned... (22 Replies)
Discussion started by: anil529
22 Replies
LEARN ABOUT DEBIAN
oggz-diff
oggz-diff(1) General Commands Manual oggz-diff(1)NAME
oggz-diff -- Hexdump the packets of two Ogg files and output differences
SYNOPSIS
oggz-diff [options] [OGGZDUMP_OPTIONS] [DIFF_OPTIONS] file1.ogg file2.ogg
options: [--verbose ] [-v | --version ] [-h | --help ]
OGGZDUMP_OPTIONS: [-b | --binary ] [-x | --hexadecimal ] [-c content-type | --content-type content-type ] [-s serialno | --serialno
serialno ] [-O | --hide-offset ] [-S | --hide-serialno ] [-G | --hide-granulepos ] [-P | --hide-packetno ]
DIFF_OPTIONS: [-q | --brief ] [-C NUM | --context[=NUM] ] [-u | -U NUM | --unified[=NUM] ] [-e | --ed ] [--normal ] [--rcs ] [-y
| --side-by-side ] [-l | --paginate ]
Description
oggz-diff is a sh script which uses oggz-dump to generate hexadecimal packet dumps of each input file, then outputs the difference between
these dumps using diff.
Options
oggz-diff forwards a subset of options accepted by oggz-dump and diff. See oggz-dump(1) and diff(1) for more detail.
oggz-dump format options
-b, --binary
Generate a binary dump of each packet
-x, --hexadeciaml
Generate a hexadecimal dump of each packet
oggz-dump filtering options
-c content-type, --content-type content-type
Dump only the logical bitstreams for a specific content-type. Run oggz-known-codecs(1) for a full list of codecs known by the
installed version of oggz.
-s serialno, --serialno serialno
Dump only the logical bitstream with specified serialno.
-O, --hide-offset
Hide the byte offset field of the preamble for each packet dumped. This is particularly useful when comparing Ogg bitstreams that
differ only in page structure.
-S, --hide-serialno
Hide the serialno field of the preamble for each packet dumped. This is particularly useful when comparing Ogg bitstreams that
differ only in serialno assignment.
-G, --hide-granulepos
Hide the granulepos field of the preamble for each packet dumped.
-P, --hide-packetno
Hide the packetno field of the preamble for each packet dumped.
diff options
The -w (--ignore-all-space) option to diff is always implied.
-q, --brief
Output only whether files differ.
-C NUM, --context[=NUM]
Output NUM lines of copied context.
-u, -U NUM, --unified[=NUM]
Output NUM (default 3) lines of unified context.
-e, --ed Output an ed script.
--normal Output a normal diff.
--rcs Output an RCS format diff.
-y, --side-by-side
Output in two columns.
-l, --paginate
Pass the output through pr to paginate it.
Miscellaneous options
--verbose Display verbose messages.
-v, --version
Display version information and exit.
-h, --help
Display usage information and exit.
AUTHOR
Conrad Parker
COPYRIGHT
Copyright (C) 2003 CSIRO Australia
SEE ALSO oggz-dump(1), diff(1), patch(1)oggz-diff(1)