Hi
! /bin/sh
set logdir1 "logDir/local/logname"
#write the filename into a file
echo $logdir1 >> logname.txt
how do i exec the above echo command (1 Reply)
Hi there,
I have a wapper script which passes the argument from command prompt to inner script.. It works fine as long as the argument containing single word. But when value contains multiple word with space, not working as expected. I tried my best, couldn't find the reason. Gurus, pls.... (2 Replies)
Hi,
I am trying to write a script to cleanup files in a log directory ..
cd log
find Datk** -mtime +7 -exec rm -f {} \; 2> /dev/null
Have used the above to clean up files in log directory more then 7 days older.
The file can be something like ( auto-generate by some processes and... (2 Replies)
Hi,
I have a script output.sh which produces the following output (as an example):
"abc def" "ghi jkl"
This output should be handled from script input.sh as input and the quotes should be treated as variable delimiters but not as regular characters.
input.sh (processing positional... (2 Replies)
Hi i have written a shell script that takes only single ip address from the user and calculates its latency and reliability, can you please tell me that what should be done if i want that user should enter 100 or 1000 ip address (5 Replies)
Hi All,
I am new to this forum and also shell script :)
My task is I have to read CSV file get the data from the file and use the data to call c executable with data as argument.And the output from c executable should be stored to new CSV file
Please find below my code
testfunction() {... (14 Replies)
Hi,
I want to change a file file1.txt:
1234
3456
2345
6789
3456
2333
4444
As, file2.txt in Linux:
'1234','3456','2345','6789','3456','2333','4444'
Could someone please help me. (Single liner sed, awk will be welcome!) (7 Replies)
Hi Froum.
I have tried in vain to find a solution for this problem - I'm trying to replace any double quotes within a quoted string with a single quote, leaving everything else as is.
I have the following data:
Before:
... (32 Replies)
Hi all,
i am new to this forum, unix and shell scripting.
I would really appreciate if you all can help me here..
I have files coming in the below format
'filename20513'13May06:03:45
filename are characters..
like 'ABDDUT20513'13May06:03:45
i need it to be renamed as... (17 Replies)
Discussion started by: khman
17 Replies
LEARN ABOUT DEBIAN
bup-fuse
bup-fuse(1) General Commands Manual bup-fuse(1)NAME
bup-fuse - mount a bup repository as a filesystem
SYNOPSIS
bup fuse [-d] [-f] [-o] <mountpoint>
DESCRIPTION
bup fuse opens a bup repository and exports it as a fuse(7) userspace filesystem.
This feature is only available on systems (such as Linux) which support FUSE.
WARNING: bup fuse is still experimental and does not enforce any file permissions! All files will be readable by all users.
When you're done accessing the mounted fuse filesystem, you should unmount it with umount(8).
OPTIONS -d, --debug
run in the foreground and print FUSE debug information for each request.
-f, --foreground
run in the foreground and exit only when the filesystem is unmounted.
-o, --allow-other
permit other users to access the filesystem. Necessary for exporting the filesystem via Samba, for example.
EXAMPLE
rm -rf /tmp/buptest
mkdir /tmp/buptest
sudo bup fuse -d /tmp/buptest
ls /tmp/buptest/*/latest
...
umount /tmp/buptest
SEE ALSO fuse(7), fusermount(1), bup-ls(1), bup-ftp(1), bup-restore(1), bup-web(1)BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown-bup-fuse(1)