04-01-2009
cannot cd /tmp.
Hi All,
There's a /tmp. folder on my solaris 9. I can't cd on it
bash-2.05# uname -a
SunOS cads105ctce 5.9 Generic_122300-30 sun4u sparc SUNW,Sun-Fire-V890
bash-2.05# cd /tmp.
bash: cd: /tmp.: No such file or directory
bash-2.05# ls -la /tmp.
/tmp.: No such file or directory
bash-2.05# ls -ld /tmp.
/tmp.: No such file or directory
ls -la /
...
drwxr-xr-x 5 root other 512 Jul 12 2006 tmp.
...
Is this corrupted folder or file? Can I fix this?
Thank you for any comment you may add.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
When I type mail command i get the following error :
/tmp/Rx7678 : No such file or directory
If I try to use the man, i also get an error related to /tmp.
I looked at my other servers and found this /tmp file, looked inside it and found that it has some files related to... (1 Reply)
Discussion started by: BAM
1 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I need your help.
I am using Linux - Mandrake 8.x version. Somehow, the system /tmp directory became unwritable.
What can be the problem is this case I am trying to write to /tmp and the permission right for this dir are:
drwxrwxrwt 20 root root 1024 Mar 16 17:26... (3 Replies)
Discussion started by: vtran4270
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present?
Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies
4. Solaris
Hi,
Do you know if we can shrink the size of the Swap under Solaris 8 ?
8Gb is already allocated to /TMP but we would like to reduce to 1 GB.
Thanks,
Fabien. (2 Replies)
Discussion started by: unclefab
2 Replies
5. AIX
good morning
The /tmp filesystem is full at 99 %
I have do a "rm" but the size is the same.
so i think that a process is always alive, but how can i do to know it ? (because I have deleted some file in /tmp)
thank you (9 Replies)
Discussion started by: pascalbout
9 Replies
6. UNIX for Dummies Questions & Answers
I know that /tmp is used for memory or swap??? and that it should not be full ??? and that files under /tmp are automatically removed after a reboot???
Is this info true???
thx (16 Replies)
Discussion started by: melanie_pfefer
16 Replies
7. Solaris
So with solaris 10 are people not using the old /tmp as a regular UFS filesystem and making /tmp part of swap or tmpfs... what are peoples thoughts on this? (5 Replies)
Discussion started by: csaunders
5 Replies
8. AIX
The /tmp is 100% full, I found there are the following big files/directory:
1301500 syslog.out.58
166692 vac
158552 install.dir.2928686
158552 install.dir.2236636
110980 install.dir.2887698
/tmp/vac have some files like :
.toc ... (3 Replies)
Discussion started by: rainbow_bean
3 Replies
9. AIX
Hello everyone !
I get a box with aix 5.3 and I get the /tmp fs on 100 %.
I get a free space to get more bigger my fs but send me a error message.
I try to make more bigger with smitty chlv but It doesnt work.
Then I try to reduce somethings on the /tmp fs but I cant get in on a... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
10. Shell Programming and Scripting
Does anyone know of a way to redirect the ksh default of processing data in /tmp to another file system or / something else?
My ksh script is parsing large DB files and it keeps filling up /tmp on the root disk.
I have a 1 Tb disk with most of its space.
How do I re-direct the /tmp ksh... (6 Replies)
Discussion started by: cchelten
6 Replies
LIBBASH(7) libbash Manual LIBBASH(7)
NAME
libbash -- A bash shared libraries package.
DESCRIPTION
libbash is a package that enables bash dynamic-like shared libraries. Actually its a tool for managing bash scripts whose functions you may
want to load and use in scripts of your own.
It contains a 'dynamic loader' for the shared libraries ( ldbash(1)), a configuration tool (ldbashconfig(8)), and some libraries.
Using ldbash(1) you are able to load loadable bash libraries, such as getopts(1) and hashstash(1). A bash shared library that can be loaded
using
ldbash(1) must answer 4 requirments:
1. It must be installed in $LIBBASH_PREFIX/lib/bash (default is /usr/lib/bash).
2. It must contain a line that begins with '#EXPORT='. That line will contain (after the '=') a list of functions that the library
exports. I.e. all the function that will be usable after loading that library will be listed in that line.
3. It must contain a line that begins with '#REQUIRE='. That line will contain (after the '=') a list of bash libraries that are
required for our library. I.e. every bash library that is in use in our bash library must be listed there.
4. The library must be listed (For more information, see ldbashconfig(8)).
Basic guidelines for writing library of your own:
1. Be aware, that your library will be actually sourced. So, basically, it should contain (i.e define) only functions.
2. Try to declare all variables intended for internal use as local.
3. Global variables and functions that are intended for internal use (i.e are not defined in '#EXPORT=') should begin with:
__<library_name>_
For example, internal function myfoosort of hashstash library should be named as
__hashstash_myfoosort
This helps to avoid conflicts in global name space when using libraries that come from different vendors.
4. See html manual for full version of this guide.
AUTHORS
Hai Zaar <haizaar@haizaar.com>
Gil Ran <ril@ran4.net>
SEE ALSO
ldbash(1), ldbashconfig(8), getopts(1), hashstash(1) colors(1) messages(1) urlcoding(1) locks(1)
Linux Epoch Linux