01-05-2009
unable to list the files
Hi,
$ ls -ltr *.log
Error :
argument list too long: ls
How to rectify this ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I cannot access the Accounts Manager facility when using SCO (F2 Screen) or scoadmin from the Command prompt. when using System Administration screen the Error "Unable to get initial list of users" is given. (0 Replies)
Discussion started by: Waitstejo
0 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to run these commands (keylset,keylget) but i keep getting a error message "invalid command name "keylset"". I've tried running it on both ubuntu's terminal and also Evolane Tcl Engine. Any idea what could be the problem? (1 Reply)
Discussion started by: abe171
1 Replies
3. Shell Programming and Scripting
Hi,
I am using mailx command to send mail.
But unable to use -c option to send mails by cc list.
eg.
..mailx -s "subject" -c "CCLIST" "TOLIST"
Its showing " illegal option -- c"
I am using HP UX.
Can anybody help me out.
Thanks in advance..! (3 Replies)
Discussion started by: Kattoor
3 Replies
4. Shell Programming and Scripting
I have a file 1.txt with the below contents.
-----cat 1.txt-----
1234
5678
1256
1234
1247
-------------------
I have 3 more files in a folder
-----ls -lrt-------
A1.txt
A2.txt
A3.txt
-------------------
The contents of those three files are similar format with different data values... (8 Replies)
Discussion started by: realspirituals
8 Replies
5. Red Hat
I have directory that has some billion file inside , i tried copy some files for specific date but it's always did not respond for long time and did not give any result.. i tried everything with find command and also with xargs..
even this command find . -mtime -2 -print | xargs ls -d did not... (2 Replies)
Discussion started by: before4
2 Replies
6. Shell Programming and Scripting
Hi !
I am just trying to list my files in ascending order so that in some other software, I just want merge with some modification, when I list its coming like this
new-10.txt
new-11.txt
new-12.txt
new-13.txt
new-14.txt
new-15.txt
new-16.txt
new-17.txt
new-18.txt
new-19.txt... (2 Replies)
Discussion started by: nex_asp
2 Replies
7. Shell Programming and Scripting
Hi
i am trying to list all the file starting with CSA.CHENAISCP* i am using below command to do that
ls -lrt | grep CSA.CHENAISCP*however i am getting below error.
0403-027 The parameter list is too long.please suggest me some alternative way.
scriptor (3 Replies)
Discussion started by: scriptor
3 Replies
8. UNIX for Dummies Questions & Answers
I'm unable to list the contents of a directory once I move into it. I have full permissions on this directory (called "Scripts" in the below example). The scenario is shown below in detail:
Command 'ls' works fine to begin with:
1: pmn@linuxhost /home/pmn > cd /opt/smt/proiv
2:... (4 Replies)
Discussion started by: pmn
4 Replies
9. Solaris
Hi have a system running solaris with a mount point running 58% capacity used, but unfortunately when I type ls -lrtin a specific directory, it returns: ls: Not enough space. I suspect there are millions of files in this directory.
So what I did is to create a script like this:
touch -mt... (13 Replies)
Discussion started by: fretagi
13 Replies
10. Shell Programming and Scripting
#!/bin/bash
script_work_dir="/home/websys/TEST_dpi_42_file_trnsfer_engine/PORT22/script_work_area"
script_config_dir="/home/websys/TEST_dpi_42_file_trnsfer_engine/PORT22/script_config"
dpi_sourceServerList=$script_config_dir"/dpi_sourceServerList"
dpi_srvr_42="rtm@1.1.1.1"... (8 Replies)
Discussion started by: sadique.manzar
8 Replies
strerr(1M) strerr(1M)
NAME
strerr - receive error messages from the STREAMS log driver
SYNOPSIS
sys_admin_mail_name] logdir]
DESCRIPTION
receives error messages from the STREAMS log driver (strlog(7)) for addition to the STREAMS error log files mm-dd) in the STREAMS error
logger directory by default). When first called, creates the log file This is a daily log file, where mm indicates the month and dd indi-
cates the day of the logged messages. then appends error messages to the log file as they are received from the STREAMS log driver.
STREAMS error log messages have the following format:
seq time tick pri ind mod sub text
Components are interpreted as follows:
seq Error event sequence number.
time Time the message was sent expressed in hh:mm:ss.
tick Time the message was sent expressed in machine ticks since the last boot.
pri Error priority level as defined by the STREAMS driver or module that originates the messages.
ind Can be any combination of the following three message indicators:
The message has also been saved in the trace log.
The message signaled a fatal error.
The message has also been mailed to the system administrator.
mod Module identification number of the error message source.
sub Subidentification number of the error message source.
text Error message text.
runs continuously until terminated by the user.
Options
recognizes the following options and command-line arguments:
Specify the user's mail name for sending mail messages.
Mail is sent to the system administrator by default.
Specify the directory to contain the error log file.
Default is
WARNINGS
Only one process can open the STREAMS log driver at a time. This restriction is intended to maximize performance.
The STREAMS error logging mechanism works best when it is not overused. can degrade STREAMS performance by affecting the response,
throughput, and other behaviors of the drivers and modules that invoke it. also fails to capture messages if drivers and modules generate
messages at a higher rate than its optimum read rate. If there are missing sequence numbers among the messages in a log file, messages
have been lost.
FILES
NLS catalog for
error log file or files on which operates
SEE ALSO
strace(1M), strlog(7).
strerr(1M)