9 More Discussions You Might Find Interesting
1. Ubuntu
Hi folks,
Ubuntu 9.04
I have an old box not running for years. I just dig it out from the store room. On running;
$ sudo aptitude update
......
......
Err http://hk.archive.ubuntu.com jaunty/main Packages
404 Not Found
Err http://hk.archive.ubuntu.com jaunty/restricted Packages
... (1 Reply)
Discussion started by: satimis
1 Replies
2. Shell Programming and Scripting
I'm working on implementing a mail indexer and it currently saves every file with a series of numbers with no extension. ex. 021545545544
I was wondering if someone could point me in the correct direction for a script that would check all the files and give it a .eml extension if it doesn't... (1 Reply)
Discussion started by: binary-ninja
1 Replies
3. Shell Programming and Scripting
Trying to write program to archive files from a file system.
I got some problem with appropriate selection of files in regard to size.
Algorithm basic :
-----------------
1. Remotely executes on machine ls cmd and its output redirects and sorts by size of a files :
# cd... (0 Replies)
Discussion started by: presul
0 Replies
4. Shell Programming and Scripting
for some reason my code does not give the right number of files. can omeone help me please? (2 Replies)
Discussion started by: andrew1400
2 Replies
5. Shell Programming and Scripting
I want to add a .txt extension to all files in a directory and it's sub directories.
So far I have managed to come up with this for the current directory but how do I do this recursively?
for e in *; do mv "$e" "`echo $e | sed -e 's/\ /_/g'`.txt"; done
Thanks (5 Replies)
Discussion started by: lewk
5 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
7. Shell Programming and Scripting
The below tar command works fine for me,
tar -cvf - `find ./srcdir -type d` | (cd ./destdir ; tar -xvf - )
but this version is giving error to me:
cd ./srcdir &&
tar -cf - . |
gzip -9 |
cd ../destdir &&
gzip -d |
tar -xf -
error is: gzip: compressed data not read from a terminal.... (2 Replies)
Discussion started by: royalibrahim
2 Replies
8. Shell Programming and Scripting
Hey,
How to strip the extention from filename?
MY_XML.xml -> MY_XML
MY_TEST_FILE.txt -> MY_TEST_FILE
HELLO_WORLD.xls -> HELLO_WORLD
Thanks in advance! (2 Replies)
Discussion started by: mpang_
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I still don't know if there's a standard way to do this. I'm hoping there's a *more or less* standard way to do this across linux platforms but the platform in question is Gentoo.
Let's say I download a source tarball as tar.gz and I do the typical
gunzip app_to_install.tar.gz
tar xvf... (2 Replies)
Discussion started by: d11wtq
2 Replies
PK-DEBUGINFO-INSTA(1) [FIXME: manual] PK-DEBUGINFO-INSTA(1)
NAME
pk-debuginfo-install - Debugging Packages Installer
SYNOPSIS
pk-debuginfo-install [--help] [--verbose] [--simulate] [--no-depends]
DESCRIPTION
This manual page documents briefly the pk-debuginfo-install command.
pk-debuginfo-install is the command line client for installing debuginfo packages.
WHY DO I NEED DEBUGINFO PACKAGES
?
When a program crashes, it's often useful to send the developer a backtrace which contains symbol names and variable contents, rather than
memory addresses. To make this possible, extra packages called debug packages can be installed.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
--help
Show summary of options.
--noninteractive
Do not be interactive and skip the confirmation before the packages are installed.
--verbose
Show extra debugging information.
--simulate
Don't actually install any packages, only simulate what would be installed.
--no-depends
Do not scan for, or install dependencies of the core packages.
--quiet
Do not display information or progress to the terminal.
RETURN VALUES
0
Success, at least one package was installed
1
Failed with miscellaneous internal error.
3
Failed to get software sources list.
4
Failed to enable software sources.
5
Failed as nothing to do.
6
Failed to find dependent packages.
7
Failed to install.
8
Failed to disable software sources.
SEE ALSO
pkmon (1). pkcon(1).
AUTHOR
This manual page was written by Richard Hughes <richard@hughsie.com>.
COPYRIGHT
Copyright (C) 2009 Richard Hughes
[FIXME: source] 29 July,2009 PK-DEBUGINFO-INSTA(1)