Hi!
I'm using SunOS 5.7 w/ Bash 2.01.
Currently, I'm working on a script that will make it possible to find textfiles which match certain criteria. While I write this message, I had some brainfarts, found the answer myself :D and the question I had in mind is now no longer the question I... (3 Replies)
Hi all, I'm a newbie to the Linux world and I got a couple of shell script questions:
(1) How do combine two variables and make it equal to a third variable? For example, I got a variable $A=FirstName, $B=LastName, and I want to combine the variable into one variable so when you echo the final... (4 Replies)
When formatting a script let's say for instance the following:
case ${choice} in
1)
vi ${tmp1}.tmp
# overwrite the tmp1 var with any user changes
cp ${tmp1}.tmp ${tmp1}
;;
... (2 Replies)
I want my program to replace tabs with spaces.1tab=4spaces.When i write aa(tab)aaa(tab)(tab)a(tab) it must show me aaxxaaaxxxxxaxxx. I think that my program works corectly but when a write aaa(tab)a it must show aaaxa but it is aaaxxxxxa.Please for help!!! That is my code:
#include <stdio.h>
... (3 Replies)
I am getting a value from a csv file using CUT command, however the command extracting the records with trailing spaces. I am using the result into a sql session to fetch data, because of the trailing spaces the sql session is unable to fetch any data.
Please let me know, how to remove this... (2 Replies)
hi buddies;
i have a file.txt:
Note: All the seperators are SPACE.
192.168.1.1
ParameterObject=1 Speech 1
ParameterObject=2 Speech 1
192.168.1.1
ParamFunction=1 UserID 1 (DEACTIVATED)
Sector=1,Device=2,Unit=3 DeviceId 1
192.168.1.1
FeederCable=2B ... (18 Replies)
Hi, wondering if it's been asked before but didn't find matches from google. Basically I have this line:
myvar=$(echo -e "a\tb")
Now somehow the '\t' from the echo output gets replaced with white space and then stored in $myvar.
It creates a problem for me later to use tab as delimiter to do... (2 Replies)
Hi All,
I wanted to know is there any way we can remove white spaces/tabs before & after some pattern { eg. before & after "," }.
Please find below sample data below,
Sat Jul 23 16:10:03 EDT 2011 , 12345678 , PROD , xyz_2345677 , testuuyt , ... (3 Replies)
I have a variable
I want to remove the spaces in between.
The output should be
How can this be done
Any help will be appreciated. Thanks in advance (1 Reply)
Hi
I have variable named tablename. The value to tablename variable has leading and trailing white spaces. How to remove the leading and training white spaces and write the value of the tablename without space to a file using shell script. ( for e.g. tablename= yyy )
INPUT
... (10 Replies)
Discussion started by: pottic
10 Replies
LEARN ABOUT DEBIAN
tableau-parm
tableau-parm(1)tableau-parm(1)NAME
tableau-parm - Tableau Write-blocking Bridge Query/Command Utility
SYNOPSIS
tableau-parm [-r] device
DESCRIPTION
tableau-parm is designed to interact with write-blocking forensics bridges produced by Tableau, LLC. It can be used to query bridges for
various bridge and device data, as well as to disable DCO regions.
OPTIONS
tableau-parm accepts the following parameters:
-r Directs tableau-parm to permanently remove a DCO, if it exists. THIS WILL MODIFY THE STATE OF THE DRIVE. USE AT YOUR OWN RISK! (It
is recommended for forensics investigations, that a full drive image be taken before this command is run, and then again afterward
if a DCO was detected originally.) Note: after running this, you'll need to restart the Tableau bridge for it to correctly detect
the changes.
device Required argument. Specifies the device file for the bridge/drive to be queried. This must be a device presenting SCSI emulation.
Under Linux, all USB and FireWire mass storage devices behave like SCSI devices. Once a bridge and drive are plugged in and powered
on, one can generally find out what the device was dynamically mapped to by running: dmesg | tail -20
OUTPUT
tableau-parm generates simple output with one data value per line, interspersed with blank lines and section headers. This output format
is subject to change.
EXAMPLES
To query a bridge which is mapped to /dev/sda:
tableau-parm /dev/sda
To remove a DCO from the hard drive on /dev/sda:
tableau-parm -r /dev/sda
BUGS
Older versions of ATA and SATA Tableau firmwares didn't properly handle HPA and DCO on some types of drives. Be sure to upgrade your block-
ers' firmwares using the firmware update utility, version 4.2 or later, which was released on July 5, 2007.
This is not really a bug, but something to note: when a drive has both an HPA and DCO section, and the DCO is removed, the HPA is removed
with it. This is how the bridge firmware works, and isn't something controlled by tableau-parm. Just something to be aware of.
CREDITS
Copyright (C) 2007,2009 Timothy D. Morgan
Copyright (C) 1999,2001,2006,2007 D. Gilbert
tableau-parm was written by Timothy D. Morgan using portions of SCSI example code written by D. Gilbert.
Tableau, LLC cooperated in the development of this tool by providing documentation on the proprietary SCSI interfaces and assisted in test-
ing. Without their help, this tool would not have been possible. Tableau, LLC does not endorse or warrant this code in any way.
LICENSE
Please see the file "LICENSE" included with this software distribution.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more details.
SEE ALSO hdparm(1)sdparm(1)Forensics Utilities 30 September 2009 tableau-parm(1)