Awesome, that worked! (I guess I got rid of the unnecessary whitespace and the necessary). Thanks.
I'm glad you mentioned that, I'm actually a bit confused with the different files. My UNIX teacher taught us ~/.profile was what you use, then the ubuntu forums explained you should use .bashrc for an assignment (like the one I did below).
My professor explained that its just because every linux/unix system is a bit unique, but I feel like there must be a more reasonable explanation for the different files - or at least a glossary/breakdown of the different ?daily-script-containers? somewhere ... no?
hello everybody,
I am trying to find the path of the Recycle Bin. I know that it's a temporary storage place, but it should have a path that we can refer to.
I want to know it because I sometimes use cygwin to work on Windows, and when you delete something with it, it's gone. I just checked... (4 Replies)
Hello,
I have having problems with an assignment and am pretty desperate. My assignment is to create a shell script that does a Recycle_Bin tasks. You can only open this with PuTTY software or Knoppix. Perhaps on other software that are able to read linux language.
My part is stuck... (2 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
A set of Linux shell scripts is required to allow users to ‘remove' files without them really disappearing until... (8 Replies)
Hi~ I have a problem with my recycle bin code.
#!/bin/bash
if test !-d ~/.recyclebin #if recycle bin does not exists
then
mkdir ~/.recyclebin # then create recycle bin
else
mv $1 ~/.recyclebin #else move the deleted file in the recycle bin
fi
so when I... (10 Replies)
Hi,
Humorous UNIX Commands shows a fun way of using echo and dc to sort of obfuscate a string.
% echo 'sasb3135071790101768542287578439snlbxq'|dc
GET A LIFE!
I am just wanting to know if there is a way to sort of use dc and echo to print out an obfuscated/garbled string instead... (3 Replies)
Hi.
I'm started to use minix 3.2.1 recently and I'm trying to create a recycle bin for it. I'm kinda struggling on how to do it. I searched internet and I found scripts created for it but I actually didn't learn how to create scripts in college and I'm not sure if I understand them. I just wanted... (1 Reply)
Hi.
I've created scripts for a recycle bin that can list, restore and empty it. I only have the problem of deleting two files with the same name. When I do it one file overwrite the other. What could I do to resolve it? The only thing I can think is asking the user to rename file before moving to... (2 Replies)
Discussion started by: ReonarudoB
2 Replies
LEARN ABOUT DEBIAN
vfu
VFU(1) VFU File Manager VFU(1)NAME
vfu - VFU is console (text-mode) file manager for UNIX/Linux
SYNOPSIS
vfu [options]
DESCRIPTION
vfu has following features:
- Fast one-key commands
- Extended completition and wildcard expansion
- Directory tree with sizes (incl. sizes cache)
- File-type colorization (extension and type)
- Archives support (TAR, TGZ, BZ2, and many more)
- Simple FTP support through archive-like interface
- Internal text/hex file viewer and editor (optional)
- Extensive user-defined external support/utils
- Regular expressions selection and search
- Multiple file masks
- and much more...
OPTIONS -h
prints help for command line options
-i
runs vfu in interactive mode (can be used with -d)
-d path
changes working directory to `path'
-r
rebuild directory tree
-t
view directory tree only
These options are for using vfu in partial non-interactive mode.
example: vfu -d /usr/local -i
CONFIGURATION
vfu configuration is divided in two parts (files):
vfu.conf
This file contains configuration for external editor and pager, favorite directories, file-type colorization. This is plain text file which
format is described below. vfu only reads vfu.conf, it never writes in it!
vfu.options
This file contains all Options/Toggles which can be changed from inside vfu -- Options menu. vfu.options is binary file and is overwritten
on vfu exit or on change option event! Deleting this file will reset vfu toggles to default values. vfu.options is not portable between vfu
versions!
Location of vfu.conf
vfu.conf can be placed as any of:
$HOME/.vfu/vfu.conf
$HOME/$RC_PREFIX/vfu/vfu.conf (if $RC_PREFIX is exported)
/etc/vfu.conf
/usr/local/etc/vfu.conf
/usr/local/vfu.conf
Other files location
All other files including vfu.options are placed in:
$HOME/.vfu/
$HOME/$RC_PREFIX/vfu/
What is "$RC_PREFIX" and why to use it? Some more information for this can be found in the CONFIG file which is supplied with vfu package.
VFU.CONF
This is a sample copy of vfu.conf with appropriate comments:
DISTRIBUTION
It is supposed that only source packages will be distributed. However sometimes binary packages will be released, but not often. VFU
packages are named in this way:
vfu-X.xx.src.tgz
source package for version X.xx
vfu-X.xx.bin.platform.tgz
binary package for version X.xx for `platform' platform
examples:
vfu-4.00.src.tgz
vfu-4.00.bin.linux.glibc.tgz
vfu-4.00.bin.linux.libc5.tgz
vfu-4.00.bin.dos.tgz
All packages are TAR+GZIP .tgz, bz2 and zip are available on request.
NOTE: Always check HISTORY document -- it often contains some usefull notes!
FILES
$HOME/$RC_PREFIX/vfu/vfu.conf
configuration, explained above
$HOME/$RC_PREFIX/vfu/vfu.options
options, explained above
$HOME/$RC_PREFIX/vfu/vfu.history
contains history lines
$HOME/$RC_PREFIX/vfu/vfu.tree
contains directory tree
If you don't set $RC_PREFIX configuration files are:
$HOME/.vfu/vfu.conf
$HOME/.vfu/vfu.options
$HOME/.vfu/vfu.history
$HOME/.vfu/vfu.tree
TODO
see the TODO file
BUGS
unknown
AUTHOR
Vladi Belperchinov-Shabanski "Cade"
<cade@biscom.net> <cade@datamax.bg>
http://cade.datamax.bg/
http://cade.datamax.bg/vfu/
3rd Berkeley Distribution Version 4.00 VFU(1)