12-30-2010
Yes, very good and interesting method!
-bash-3.00$ man last
Commands Reference, Volume 3, i - m
last Command
/Day
...
Thanks for your experience!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
can I tell awk to be case insensitive for one operation without setting the ignorecase value ?
thanks,
Steffen (7 Replies)
Discussion started by: forever_49ers
7 Replies
2. Shell Programming and Scripting
hi everyone,
I need to do the following thing in a case insesitive mode
sed 's/work/job/g' filename
since work could appear in different form as Work WORK WorK wORK,....
I was wondering if i could do a case insensitive search of a word.
thanks in advance,
:) (4 Replies)
Discussion started by: ROOZ
4 Replies
3. Shell Programming and Scripting
Hi All,
How we can perform case-insensitive search with AWK.:rolleyes:
regards,
Sam (11 Replies)
Discussion started by: sam25
11 Replies
4. Shell Programming and Scripting
Hey , i am trying to do a search for the certain books , and im trying to make it case insensitive. what i have come up with so far is this :
Database.txt
RETARDED MONKEY:RACHEAL ABRAHAML:30:30:20
GOLD:FATIN:23.20:12:3
STUPID:JERLYN:20:40:3
echo -n "Title: "
read Title
echo -n... (3 Replies)
Discussion started by: gregarion
3 Replies
5. UNIX for Dummies Questions & Answers
Hello,
How do I set case insensitive search mode while the file is open with more command ?
(I know -i option which could be used before opening)
thanks
Vilius (2 Replies)
Discussion started by: vilius
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a file named "test_file" that has the below content. It has words in upper/lower cases
PRODOPS
prodOPS
ProdOps
PRODops
escalate
Shell
My requirement is to replace all the "prodops" (what ever case it may be) with "productionoperations".
I tried using the "i" option with... (7 Replies)
Discussion started by: sbhuvana20
7 Replies
7. UNIX for Dummies Questions & Answers
I am using HP-Unix B.11.31.
Question: How to do the case insensitive search using FIND?
Example: I would like list the files with extension of *.SQL & *.sql.
When I try with command find . -type f -name *.sql, it does not lists file with *.SQL. (5 Replies)
Discussion started by: Siva SQL
5 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
What is the command to search a file for a case-insensitive match
1.grep -nc text filename
2.grep -i text filename
3.grep -i filename text
4.grep -nc filename text
5.grep -c text filename
Thanks for your help (1 Reply)
Discussion started by: bobby1015
1 Replies
9. Shell Programming and Scripting
I am trying to find case insensitive file names and then replace that particular file with other name.
if
then
ls | grep -i "update" | xargs -I {} mv {} LineItems.csv
echo "File moved from *update*"
elif
then
ls | grep -i "priority" | xargs -I {} mv {} ... (1 Reply)
Discussion started by: ATWC
1 Replies
10. UNIX for Beginners Questions & Answers
Hello ,
Using the below scrip to search a string in a file , by case-insensitively
Please assist on using the toupper() as getting error !.
#!/usr/bin/ksh
set -x
curr_dir=`pwd`
file_ctr=0
printf "\n Reviewing the output file from the directory: %s \n\n" $curr_dir
ls -latr ... (4 Replies)
Discussion started by: Siva SQL
4 Replies
LEARN ABOUT DEBIAN
voldump
VOLDUMP(8) AFS Command Reference VOLDUMP(8)
NAME
voldump - Dump an AFS volume without using the Volume Server
SYNOPSIS
voldump -part <partition> -volumeid <volume id>
[-file <dump file>] [-verbose] [-help]
voldump -p <partition> -vo <volume id>
[-f <dump file>] [-ve] [-h]
DESCRIPTION
voldump dumps an AFS volume in the format used by vos dump without using the Volume Server. It must be run on the file server machine and
usually must be run as the superuser "root" to have permissions to read the file server data. It's primary use is to recover data from a
file server machine where the Volume Server cannot be started for some reason.
The dump output will go to standard output, or to a file if -file is specified. vos restore can be used to load the resulting dump into a
new AFS volume. voldump always does a full dump.
CAUTIONS
Normally, use vos dump instead of this command. voldump is a tool of last resort to try to extract data from the raw data structures
stored on the file server machine and is not as regularly tested or used as the normal vos dump implementation.
If the AFS volume being dumped changes while voldump is running, the results may be inconsistent. If the File Server and Volume Server are
running, stop them with bos shutdown or a similar method before running this command.
OPTIONS
-part <partition>
Names the partition on which the volume to be dumped is located. voldump does not take the normal full range of ways of specifying a
partition. Instead, partition must be either a single letter between "a" and "z", corresponding to /vicepa through /vicepz, or the
full path to the file server partition. "aa" is not recognized; use /vicepaa instead.
-volumeid <volume id>
Specifies the ID of the volume to dump. The volume must be specified by numeric ID, not by name.
-file <dump file>
Specifies the output file for the dump. If this option is not given, the volume will be dumped to standard output.
-verbose
Asks for a verbose trace of the dump process. This trace information will be sent to standard error.
EXAMPLES
The following command dumps the volume 1936964939 on the /vicepb partition to the file /tmp/volume.dump:
% voldump -part /vicepb -volumeid 1936964939 -file /tmp/volume.dump
PRIVILEGE REQUIRED
The issuer must have read access to the file server data stored in the specified partition. Usually, this means that the issuer must be
the local superuser "root" on the file server machine.
SEE ALSO
bos_shutdown(8), restorevol(1), volserver(8), vos_dump(1), vos_restore(1)
COPYRIGHT
Copyright 2005 Russ Allbery <rra@stanford.edu>
This documentation is covered by the IBM Public License Version 1.0. This man page was written by Russ Allbery for OpenAFS.
OpenAFS 2012-03-26 VOLDUMP(8)