04-27-2009
Different shells, more likely. Nothing but BASH uses .bashrc . Lots of linux systems use BASH, but lots of other UNIX systems generally login to ksh or others. Though I have seen situations where a read-only .bashrc exists to prevent people mucking with it, that automatically includes .profile or somesuch if present.
Last edited by Corona688; 04-27-2009 at 09:30 PM..
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
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)
Discussion started by: milhan
4 Replies
2. Shell Programming and Scripting
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)
Discussion started by: chueu
2 Replies
3. What is on Your Mind?
This is a nice ad by Tata....
a2lPniSsFxs (1 Reply)
Discussion started by: Neo
1 Replies
4. Homework & Coursework Questions
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)
Discussion started by: burn88
8 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: zel2zel
10 Replies
6. Shell Programming and Scripting
what is recycle bin mode in unix??? (4 Replies)
Discussion started by: arun508.gatike
4 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: newbie_01
3 Replies
8. UNIX for Dummies Questions & Answers
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)
Discussion started by: ReonarudoB
1 Replies
9. Shell Programming and Scripting
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
NBDST(8) BSD System Manager's Manual NBDST(8)
NAME
nbdst -- NetBoot deferred shadow tool
SYNOPSIS
nbdst [-recycle | -preallocate size] devnode shadowfile
DESCRIPTION
nbdst is used during NetBoot to associate a shadow file with the disk image being used as the root device. After the shadow file is attached,
subsequent writes to the root device will be redirected to the shadow file, which normally resides on local storage. nbdst is invoked by
/etc/rc.netboot
ARGUMENTS
The following arguments must be specified:
devnode The device node of the root device, in the form "disk0"
shadowfile Path to a shadow file which will be created and associated with the NetBoot root device
OPTIONS
-recycle If a shadow file already exists, reset it and use it again. Otherwise, information written to an existing shadow file will reap-
pear. Reusing a previous shadow file without resetting it requires that the shadow file be created with the same base image.
-preallocate size
Set the shadow file to the given size up front. This forces a reset of the shadow file (like -recycle).
NOTE
nbdst can only be run as root.
SEE ALSO
hdiutil(1), hdik(8)
Mac OS X 29 Apr 2003 Mac OS X