04-11-2017
Hi,
Thanks for the recommendation, i have no idea what cause the file missing could be accidentally deleted. But now the problem solved after reinstall the Linux
Thanks all..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies
2. UNIX for Advanced & Expert Users
I want to add a default path /bin/mycommands along with others to be loaded as default path for all new accounts created on my system . With out the new accounts not having to change thie manually to /bin/mycommands.Do I change the /etc/profile ? is there any better way?
Please throw some... (2 Replies)
Discussion started by: sravusa
2 Replies
3. UNIX for Advanced & Expert Users
hi i have some perl scripts with shebang line as (#! /usr/bin/env perl ) instead of actual absolute path of perl ( i know why its that way ) everything works fine from command line , the problem is when i am trying to run those scripts from web ( local web tool ) it throws error as /usr/bin/env :... (6 Replies)
Discussion started by: zedex
6 Replies
4. Shell Programming and Scripting
How to code shell script to know if the file in a dirctory is empty i.e., zero byte then not to execute any graph.Please help on this thanks in advance.
---------- Post updated at 08:18 AM ---------- Previous update was at 08:14 AM ----------
I know if clause wil help.my question is how to... (7 Replies)
Discussion started by: vamsi86
7 Replies
5. UNIX for Dummies Questions & Answers
The way this works from the command prompt is:
___________________________________________
cd /data/local/bin
chmod 0755 file.bin
./file.bin
_______________________________________________
How do I make this happen in a script. The file must be run in its directory but I can not get the... (2 Replies)
Discussion started by: chrstdvd
2 Replies
6. AIX
Good day. I currently have a request to have sftp access to a specific directory for a user(s). They can have access to that folder only, and nothing below it.
Now here is the gotcha that seems to be catching me. The folder they need access to is NOT owned by root, and most of the parent... (0 Replies)
Discussion started by: smurphy_it
0 Replies
7. Shell Programming and Scripting
Hello,
When i run a bash script on ubuntu i get this message..
#!/bin/bash cannot find file or directory...
Can anibody help me with this, because the file actually exists....
Is there any extra configuration to be made? (5 Replies)
Discussion started by: oliveiraum
5 Replies
8. Solaris
Hi,
I am getting below error in Solaris 10 SPARC when trying to issue a search on /var/tmp partition
Below is the query
/bin/find /var/tmp/ -type f -atime +1
Below is the result
/bin/find: stat() error <File> : No such file or directory (28 Replies)
Discussion started by: prash358
28 Replies
9. Shell Programming and Scripting
I keep getting this error and I am not sure why.
-bash: ./p4: /bin/ksh^M: bad interpreter: No such file or directory
First I run my makefile and this works fine:
goodmain: main.o
gcc -o goodmain main.o
main.o: main.c
gcc -c main.c
Then I want to limit my output so I... (11 Replies)
Discussion started by: cokedude
11 Replies
10. Shell Programming and Scripting
Hi,
I installed ruby using rvm with root user on Linux.
Now i m trying the below command as a non root user with sudo privileges.
sudo /usr/local/rvm/rubies/ruby-2.2.5/bin/gem install passenger
I get the below error:
I had even reset the path for both gem as well as ruby as you... (8 Replies)
Discussion started by: mohtashims
8 Replies
LEARN ABOUT DEBIAN
localepurge
LOCALEPURGE(8) System Manager's Manual LOCALEPURGE(8)
NAME
localepurge - reclaim disk space removing unneeded localizations
SYNOPSIS
localepurge
DESCRIPTION
localepurge is a small script to recover disk space wasted for unneeded locale files and localized man pages. It will be automagically
invoked by dpkg upon completion of any apt installation run. You have to define the locale directory names you want to keep from removal
after each apt installation run in the /etc/locale.nopurge configuration file. Unless localepurge has been adequately configured, the sys-
tem's localization files won't be touched at all.
The contents of following directories will be affected from removals:
- /usr/share/doc/kde/HTML
- /usr/share/gnome/help
- /usr/share/locale
- /usr/share/man
- /usr/share/omf
The localization files you actually need and which you want to be preserved on your system can be easily configured by running the follow-
ing command:
dpkg-reconfigure localepurge
OPTIONS
The configurable options consist of toggling verbose output, reporting a summary of freed space, and deletion of localized manual pages in
addition to locale files. All actions are specified in the /etc/locale.nopurge configuration file.
For detailed debugging the commandline switch -debug or just a short -d instead are available for usage. For verbose output the command-
line switch -verbose or just a short -v can be added.
A Word of CAUTION
Please note, that this tool is a hack which is not integrated with Debian's package management system and therefore is not meant for the
faint of heart. Responsibility for its usage and possible breakage of your system therefore lies in the sysadmin's (your) hands.
Please definitely do abstain from reporting any bugs blaming localepurge if you break your system by using it. If you don't know what you
are doing and can't handle any resulting breakage on your own then please simply don't use it.
All locale directories containing a subdirectory named LC_MESSAGES which are either commented out or not even listed at all in
/etc/locale.nopurge will be irreversibly deleted. The only way to reinstall any lost locales is a complete reinstallation of all the
Debian packages containing them. See /usr/share/doc/localepurge/reinstall_debs.sh for a recipe. Alternatively you can reconfigure it with
dpkg-reconfigure(8) to prevent locale files from being purged during subsequent runs of apt.
SOLVING PROBLEMS caused by localepurge
This program does interfere with the Debian package management and does provoke strange, but usually harmless, behaviour of programs
related with apt/dpkg like dpkg-repack(1), debsums(1), reportbug(1), etc. If you need to have any package in its full integrity so that
e.g. the formerly mentioned programs work as designed by its author and as expected by you, simply deinstall localepurge temporarily with-
out purging its configuration and reinstall the packages you need in their fully integral state. When you are done with what you needed the
integral packages for simply reinstall localepurge again.
FILES
/etc/locale.nopurge
SEE ALSO
Administrators of systems with short disk space should have a look at both the deborphan and debfoster packages. Especially debfoster can
work wonders for your scarce disk space!
deborphan(1)
debfoster(8)
dpkg-reconfigure(8)
debconf(8)
/usr/share/doc/localepurge/README.debian
/usr/share/doc/localepurge/reinstall_debs.sh
AUTHOR
localepurge and its accompanying manual page was written for the Debian GNU/Linux system by Paul Seelig <pseelig@debian.org> with major
contributions from Gustavo Noronha Silva <kov@debian.org> who added the first debconf functionality. The author sincerely hopes that some
day further development of Debian's great package management system will make localepurge fully obsolete.
LOCALEPURGE(8)