Sponsored Content
Full Discussion: new hd of 120 gb
Operating Systems Linux Debian new hd of 120 gb Post 302112879 by nathan on Saturday 31st of March 2007 09:25:11 PM
Old 03-31-2007
This has probably been answered here before many times, but ...

Code:
find / -name "abc.txt"

will search everything under the root directory '/' for a file with the name 'abc.txt'. The wildcard character is "*". Remember to use quotes around the filename if you use "*".
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

prc_sync: Script (s90atlas) failed to complete in 120 seconds

I got this message during the reboot process of a Sco Open Server 5 machine: prc_sync: Script (s90atlas) failed to complete in 120 seconds After that, the server rebooted normally, BUT, ftp into that server takes a lot of time to get connected. Another thing is that pinging another outside... (1 Reply)
Discussion started by: BAM
1 Replies

2. Shell Programming and Scripting

Split a huge line into multiple 120 characters lines with sed?

Hello , I'm trying to split a file which contains a single very long line. My aim is to split this single line each 120 characters. I tried with the sed command : `cat ${MYPATH}/${FILE}|sed -e :a -e 's/^.\{1,120\}$/&\n/;ta' >{MYPATH}/${DEST}` but when I wc -l the destination file it is... (2 Replies)
Discussion started by: jerome_1664
2 Replies

3. AIX

43p 120

I have acquired a 43p 120 (7248-120) and I have two questions: Can anyone remember what is the highest version of AIX which I can install (5.1 I believe) and Can anyone remember how to boot this from the CDROM (boot floppy?) (1 Reply)
Discussion started by: johnf
1 Replies
Linux::Distribution::Packages(3pm)			User Contributed Perl Documentation			Linux::Distribution::Packages(3pm)

NAME
Linux::Distribution::Packages - list all packages on various Linux distributions SYNOPSIS
use Linux::Distribution::Packages qw(distribution_packages distribution_write); $linux = new Linux::Distribution::Packages({'format' => 'csv', 'output_file' => 'packages.csv'}); $linux->distribution_write(); # Or you can (re)set the options when you write. $linux->distribution_write({'format' => 'xml', 'output_file' => 'packages.xml'}); # If you want to reload the package data $linux->distribution_packages(); DESCRIPTION
This is a simple module that uses Linux::Distribution to guess the linux distribution and then uses the correct commands to list all the packages on the system and then output them in one of three formats: native, csv, and xml. Distributions currently working: debian, ubuntu, fedora, redhat, suse, gentoo, slackware, redflag. The module inherits from Linux::Distribution, so can also use its calls. EXPORT None by default. TODO
* Add the capability to correctly get packages for all recognized distributions. * Seperate out parsing from writing. Parse data to hash and give access to hash. Then write the formatted data from the hash. AUTHORS
Judith Lebzelter, <judith@osdl.org> Alberto Re, <alberto@accidia.net> COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available. perl v5.10.1 2006-04-19 Linux::Distribution::Packages(3pm)
All times are GMT -4. The time now is 04:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy