Hi
Please tell me how could i delete symbols, whitespaces, characters, words everything between two words in a line. Let my file is
aaa BB ccc ddd eee FF kkk xxx
123456 BB 44^& iop FF 999
xxx uuu rrr BB hhh nnn FF 000
I want to delete everything comes in between BB and FF( deletion... (3 Replies)
I have file like below
Hi iam author <br>joseph</br> in france.
I live in my home <br></br> but no food.
I will play footbal <br></br> but i wont play cricket.
I will read all the books <br>all fiction stories</br> i hate horror stories.
I want output like below
Hi iam author... (3 Replies)
Hello.
From command line, the command zypper info nxclient
return a bloc of data :
linux local # zypper info nxclient
Loading repository data...
Reading installed packages...
Information for package nxclient:
Repository: zypper_local
Name: nxclient
Version: 3.5.0-7
Arch: x86_64... (7 Replies)
well, im a total novice of unix commands and shell scripting, i never made anything.
But yesterday in my work i was working with a lot of log files and i was wondering if there is a command for doing something like this:
i have a bunch of files with text like this:
blablabla errorcode1... (11 Replies)
HI, I have a file A like this:
c 1
length 14432
width 3434
temp 34
c 2
length 3343
width 0923
height 9383
hm 902
temp34
c 3
length 938
height 982
hm 9292
temp 23
... (2 Replies)
Hy there all. Im new here. Olso new to terminal & bash, but it seams that for me it's much easyer to undarsatnd scripts than an actual programming language as c or anyother languare for that matter.
S-o here is one og my home works s-o to speak.
Write a shell script which:
-only works as a... (1 Reply)
Hi Frens,
I have a requirement where I need to delete lines having key words and am using the below command to do that
sed '/UNIX/d' inputfile > output
But now I have one more requirement where in there will be one reference file which has the ID's to be deleted from the master file.
... (3 Replies)
I have 4000 files like
$cat clus_grp_seq10_g.phy
18 1002
anig_OJJ65951_1 ATGGTTTCGCAGCGTGATAGAGAATTGTTTAGGGATGATATTCGCTCGCGAGGAACGAAGCTCAATGCTGCCGAGCGCGAGAGTCTGCTAAGGCCATATCTGCCAGATCCGTCTGACCTTCCACGCAGGCCACTTCAGCGGCGCAAGAAGGTTCCTCG
aver_OOF92921_1 ... (1 Reply)
Hi Folks,
I am running a website and that needs to be tightened with security in terms of hacking... Whereas, In my URL, when i click on certain links the entire link as contains some words like below:/control_panel
/controlpanel
/admin
/cms
Whereas, i need to block those words in apache... (1 Reply)
Discussion started by: gsiva
1 Replies
LEARN ABOUT DEBIAN
rdup-up
RDUP-UP(1) rdup RDUP-UP(1)NAME
rdup-up - update a directory tree with a rdup archive
SYNOPSIS
rdup-up [OPTION]... DIRECTORY
DESCRIPTION
With rdup-up you can update an (possibly) existing directory structure with a rdup archive.
The rdup archive has to be given to rdup-up's standard input.
Username and uids
rdup outputs both the username and uid, the receiving system (which may be a totally different system) checks if the username and uid
match. If the username and uid don't match the (numeric) uid is used on the file. The same holds true for the groupname and gid.
OPTIONS -n Do a dry-run and do not create anything on disk.
-t Create DIRECTORY (ala mkdir -p) if it does not exist.
-s N Strip N path components from a pathname. If the resulting pathname is empty after this operation it is skipped. Be careful however
with the following structure:
/foo
/foo/bar
/foo/bar/bla.txt
/foo/blork/bla.txt
With rdup-up -s2 this will leave:
<empty>
<empty>
/bla.txt
/bla.txt
And the last 'bla.txt' will overwrite the previous one, this will happen without warnings.
-r PATH
This option is related to the -s option, but works different. The string PATH is removed from (the beginning of) each pathname. With
-r /home/backup the pathname /home/backup/bin/mycmd becomes /bin/mycmd. The same could be done with -s 2, but then you need to count
the slashes. Note -s is always performed before -r.
-v Be more verbose and echo the processed files to standard output.
-vv Be even more verbose and echo processed file and the uid and gid information to standard output.
-T Show a table of contents of the rdup stream received (ala tar -tf -). With -T the directory argument is optional. -T unsets any
verbose (-v) options.
-h A short help message.
-V Show the version.
EXIT CODE
rdup-up return a zero exit code on success, otherwise 1 is returned.
AUTHOR
Written by Miek Gieben.
REPORTING BUGS
Report bugs to <miek@miek.nl>.
SEE ALSO
http:/www.miek.nl/projects/rdup/ is the main site of rdup. Also see rdup(1), rdup-tr(1) and rdup-backups(7).
COPYRIGHT
Copyright (C) 2005-2010 Miek Gieben. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Licensed under the GPL version 3. See the file LICENSE in the source distribution of rdup.
1.1.11 13 Dec 2008 RDUP-UP(1)