09-14-2014
It is rather hard to rewrite parts of the kernel from a shell script.
Is this a homework assignment?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
passwd <username> < /var/adm/passwd.txt
cat /var/adm/passwd.txt
abcd1234
abcd1234
when I run this from the script, it comes with:
New password:
It is not able to pick from the location /var/adm/passwd.txt.
thanks in advance. (6 Replies)
Discussion started by: solaix14
6 Replies
2. Shell Programming and Scripting
Hello,
I need assistance with creating a shell script to generate SSL Certificate Requests on remote hosts. Below is my stab at this, but I cannot figure out how to pass the requested arguments into the openssl command correctly. I have a major problem with redirecting the "answers" into the... (2 Replies)
Discussion started by: azvelocat
2 Replies
3. Shell Programming and Scripting
Hi guys.
I m creating scripts which input multiple value , inside sqlplus script when it prompt/accept
do anybody know how to provide multiple value inside sqlplus script when it prompt.
like,
enter value for first:
enter value for second:
enter value "save file as " :
I m try... (11 Replies)
Discussion started by: tapia
11 Replies
4. Shell Programming and Scripting
Hi frnds
Im new to unix. I have an xml like the following:
<?xml version="1.0"?>
<serviceFeeDetail>
<Data>
<totalAmount>40</totalAmount>
</Data>
<serviceFee>
<invoiceBillGrpNbr>1</invoiceBillGrpNbr>
<serviceFeeLineItem>
<billLineNbr>1</billLineNbr> ... (2 Replies)
Discussion started by: balesh
2 Replies
5. Shell Programming and Scripting
Folks -
Firstly, I do apologize that my first post here is a question. I am quite familiar with UNIX since our application is running on it. We are trying to automate a few things on our end and I am challenged with a task in hand that requires UNIX scripting. I am totally a newbie in UNIX... (4 Replies)
Discussion started by: sk72
4 Replies
6. Shell Programming and Scripting
so i'm have been stifled here inn my attempts at this.
i need to calculate an unusual figure.
what is the percentage difference between 400 and 3?
usually, to get the percentage, you just divide the smaller number by the bigger number. then multiply the answer by 100.
in this case... (10 Replies)
Discussion started by: SkySmart
10 Replies
7. Shell Programming and Scripting
I'm new into unix.
My question: is possible to write a shell script which will ask for the
ORACLE_HOME, ORACLE_SID, USERNAME, PASSWORD to connect to Oracle db.
In generally we have to set the ORACLE_HOME in .profile file. And after putting the 'sqlplus' command it asks for the username &... (6 Replies)
Discussion started by: priya001
6 Replies
8. Shell Programming and Scripting
Hello,
I have a requirement to shut down and start up my application on different environments (Dev, QA and Prod).
I have around 24 servers. I have to login to each server manually for shutinng down the application.
I wrote a shell command on each server and I am invoking those shell... (2 Replies)
Discussion started by: GDSR Raju
2 Replies
9. Shell Programming and Scripting
Hi All,
I am writing a shell script.
#!/bin/bash
cat /etc/hosts
mkdir -p /var/tmp
mount 113.123.35.37:/vol/vol615/syb /var/tmp
In above script I am trying to add below predefined script/command (/var/tmp/db_tools)
This command in turn ask for user input, which will be always option... (17 Replies)
Discussion started by: madhur.baharani
17 Replies
10. Emergency UNIX and Linux Support
Hi, i want to call the rsync in a shell script so that i can run it in background by passing the password within script itself. Can any one please let me know how can i provide the password in the shell script itself so that rsync will read the password when promted by the script.
Its very... (11 Replies)
Discussion started by: Little
11 Replies
LEARN ABOUT DEBIAN
rifiuti2
RIFIUTI2(1) A MS Windows recycle bin analysis tool RIFIUTI2(1)
NAME
rifiuti2 - A MS Windows recycle bin analysis tool
SYNOPSIS
rifiuti [ -x ] [ -tnl8 ] [ -o outfile ] filename
rifiuti-vista [ -x ] [ -n8 ] [ -o outfile ] file_or_directory
DESCRIPTION
Rifiuti2 is a rewrite of rifiuti, a great tool from Foundstone folks for analyzing Windows Recycle Bin INFO2 file. Analysis of Windows
Recycle Bin is usually carried out during Windows computer forensics. Rifiuti2 can extract file deletion time, original path and size of
deleted files and whether the deleted files have been moved out from the recycle bin since they are trashed. Rifiuti2 supports the INFO2
file format found in Windows up to Windows XP and the new file format found in Vista, and the program is fully internationalized. If you
need to analyse recycle bins of Windows Vista and Windows Server 2008, you should use the rifiuti-vista command, for other Windows plat-
forms, you should use the rifiuti command.
Quoting from original Foundstone page:
Many computer crime investigations require the reconstruction of a subject's Recycle Bin. Since this analysis technique is executed
regularly, we researched the structure of the data found in the Recycle Bin repository files (INFO2 files). Rifiuti, the Italian
word meaning "trash", was developed to examine the contents of the INFO2 file in the Recycle Bin. ... Rifiuti is built to work on
multiple platforms and will execute on Windows (through Cygwin), Mac OS X, Linux, and *BSD platforms."
Since the original rifiuti (last updated 2004) is restricted to English version of Windows (fail to analyze any non-latin character), thus
this rewrite. But it does more:
* Supports Windows in any other languages besides English
* Supports Vista and 2008 (they don't use INFO2 file any more)
* Enables localization (that is, translatable)
* More rigorous error checking
* Supports output in XML format
OPTIONS
These are plain text output options:
-t --delimiter=STRING
String to use as delimiter (TAB by default)
-n --no-heading
Don't show header
-l --legacy-filename
Show legacy filename instead of unicode
-8 --always-utf8
Always show file names in UTF-8 encoding
These are general application Options:
-o --output=FILE
Write output to FILE
-x --xml
Output in XML format (-t, -n, -l, -8 options will have no effect)
--from-encoding=ENC
The assumed file name character set when no unicode file name is present in INFO2 record (mandatory if INFO2 file is created by
Win98, useless otherwise)
COPYRIGHT
Part of the work of Rifiuti2 is derived from Rifiuti, both pieces of software are licensed under the simplified BSD license.
AUTHOR
The main author of Rifiuti2 is Abel Cheung, and Anthony Wong helps in some packaging and documentation work (like this manpage). The orig-
inal author of Rifiuti is Keith J Jones.
0.5.0 2008-11-21 RIFIUTI2(1)