Search Results

Search: Posts Made By: hollywood
Forum: Red Hat 09-30-2010
4,131
Posted By hollywood
Have you tried setting up your virtual NICs with...
Have you tried setting up your virtual NICs with bridging instead of the default?
2,889
Posted By hollywood
[/COLOR]info --or-- info command info ls...
[/COLOR]info
--or--
info command

info ls
File: coreutils.info, Node: ls invocation, Next: dir invocation, Up: Directory listing

10.1 `ls': List directory contents...
2,889
Posted By hollywood
type command Shows you whether the command...
type command

Shows you whether the command is an a builtin, function, alias or in your PATH.
26,396
Posted By hollywood
-name *log[12]* -iname for an insensitive...
-name *log[12]*

-iname for an insensitive search
26,396
Posted By hollywood
Negative. I do this all the time. Doing an ls...
Negative. I do this all the time. Doing an ls reads a directory not the file contents. A directory is a table of string names and inode values. A long listing reads the inode information, not the...
26,396
Posted By hollywood
When I do a man find on my CentOS system I find...
When I do a man find on my CentOS system I find there is a -maxdepth argument.

so adding the following to the find command will do the current directory.

-maxdepth 1

This yields files in the...
26,396
Posted By hollywood
&& is the LOGICAL AND operator. So find...
&& is the LOGICAL AND operator.

So find would come after the &&.

The cd before.

cd /mydir && find . -type f -atime +60 -exec ls -lu {}\;

The above will produce a long list of files...
26,396
Posted By hollywood
Did cd && thing in 1986. I will never forget...
Did cd && thing in 1986. I will never forget wiping out the wrong files. Fortunately I had a complete backup. Never made this mistake again.
26,396
Posted By hollywood
find . -type f -mtime +60 -exec rm -f {} \; ...
find . -type f -mtime +60 -exec rm -f {} \;

If you are not really worried about month and date formatting. Maybe you are.

That said, perhaps the following is more appropriate.

find . -type...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 08:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy