Hi--
Ok. I have now found that:
find -x -ls
will do what I need as far as finding all files on a particular volume. Now I need to sort the results by the file's modification date/time.
Is there a way to do that?
Also, I notice that for many files, whereas the man for find says ls is... (8 Replies)
Here is the code, but the list is not sorted properly (alphabetically)?
<?php
function folderlist(){
$startdir = './';
$ignoredDirectory = '.';
$ignoredDirectory = '..';
if (is_dir($startdir)){
if ($dh = opendir($startdir)){
while (($folder = readdir($dh)) !== false){
if... (0 Replies)
Hi,
I have a problem with a shell script.
The script should find all .cpp and .h files and list them.
With:
for file in `find $src -name '*.h' -o -name '*.cpp'
it gives out this:
H:\FileList\A\E\F\G\newCppFile.cpp
H:\FileList\header01.h
H:\FileList\B\nextCppFile.cpp
... (4 Replies)
This is the question being asked: (Sort your data file by last name first, then by the first name second - save as first_last.) I am not quite sure of the type of sort I am being asked to perform. I have read the man pages of the sort command a few times, as well as searching online for possible... (10 Replies)
Hi,
I am having a text file with the following contents
###########
File1
###########
some
page1.txt
text
page.txt
When I sort this file on Red Hat 5, then I get the following output
###########
File1
###########
page1.txt
page.txt
some (3 Replies)
Hi Folks -
I have this file that looks like this:
outbox/logs/Client_1042.log
outbox/logs/Client_941.log
outbox/logs/Client_942.log
outbox/logs/Client_943.log
outbox/logs/Client_944.log
And this is my code:
#!/bin/bash
_OUTBOX_BIN="outbox/logs/"
_NAME="Client"
_TEMP="temp.txt"... (9 Replies)
Could you please advise on the following: I have two space-delimited files with 9 and 10 columns, respectively, with exactly the same values in column 1. However, the order of column 1 differs between the two files, so I want to sort both files by column 1, so that I can align them and... (6 Replies)
Discussion started by: aberg
6 Replies
LEARN ABOUT ULTRIX
load
load(8) System Manager's Manual load(8)Name
load - down-line load software to a target node
Syntax
/etc/load [ node ]
Description
The command loads software to an unattended target node. The target node is loaded by the host that executes the command.
The command requires the identification of the service circuit over which the load is performed, the Ethernet hardware address of the tar-
get node, and the service password needed to gain access to the target. This information is included in the nodes database entry for the
target node. A node entry is defined with the command. For further information, see The node is the name or address of the target node.
A node name consists of from one to six alphanumeric characters. For single networks, a node address consists of a decimal integer
(1-1023). For multiple networks, a node address consist of two decimal integers (n.n), where the first indicates the network number
(1-63), and the second indicates the node address (1-1023).
Options-p Uses the specified service and password (next arguments) in accessing the target node. You can omit a target node's service and pass-
word from the nodes database for security reasons, but you must then specify the service and password in the command line by using the
option.
Examples
# /etc/load bangor -p 130fe
This command causes node to be loaded by the ULTRIX host node executing the command. The ULTRIX host uses the load files specified in the
nodes database entry for node to perform the load.
See Alsoaddnode(8), ccr(8), getnode(8), mop_mom(8), remnode(8), trigger(8)
Guide to Local Area Transport Servers
load(8)