02-20-2016
Ah my bad wrong section ill repost but yes what i want is using ls to list files/directories that contain 7 letters but excluding signs/numbers such as ?!. and spaces
for example checkas would be correct but answ.txt would not be
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I would like to a long list of files up to a given date. I've tried:
ls -al > filelist
but this command gives me all the files. I've also have tried the find command:
find . -mtime -10 -type f -print > filelist
This gives me information on active file within the past 10 days and... (2 Replies)
Discussion started by: rlh
2 Replies
2. UNIX for Dummies Questions & Answers
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies
3. Shell Programming and Scripting
How do I get this to work?
cat somefile | grep "-rw-r--r-- 1 root wheel 287 Sep 10 15:12 shells~"
This is the the desired output
-rw-r--r-- 1 root wheel 287 Sep 10 15:12 shells~
I basically want an exact match of the line I am grepping for, the special characters and... (5 Replies)
Discussion started by: streetfighter2
5 Replies
4. Shell Programming and Scripting
hi Everbody,
I had file names as shown
file_01_20101104.txt
file_01_20101105.txt
file_02_20101104.txt
file_01_20101205.txt
file_03_20101104.txt
file_02_20101105.txt
Now i want to list them based on the date in the file name as shown...
file_01_20101104.txt
file_02_20101104.txt... (3 Replies)
Discussion started by: Reddy482
3 Replies
5. UNIX for Advanced & Expert Users
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (1 Reply)
Discussion started by: mike12
1 Replies
6. Solaris
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (1 Reply)
Discussion started by: mike12
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (3 Replies)
Discussion started by: mike12
3 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I have a file at remote server. I have to select only current day's files that are dropped on ftp server. The files do not have date or timestamp on them.
so I plan to get the file listing from remote server to the local server. Based on file listing date I can find out when the files... (2 Replies)
Discussion started by: pavan_test
2 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Using ftp i was able to get a directory listing to local directory.
ftp - i <host_name>
ftp <user>
ftp <password>
dir <dir>
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rw-rw-r-- 1 <uuu> <kkk> 160384 Apr 13 19:38 walmart.txt
226... (5 Replies)
Discussion started by: pavan_test
5 Replies
10. UNIX for Beginners Questions & Answers
hi,
We have a huge directory that ha 5.1 Million files in it. We are trying to get the file name and modified timestamp of the most recent 3 years from this huge directory for a migration project.
However, the ls command (background process) to list the file names and timestamp is running for... (2 Replies)
Discussion started by: subbu
2 Replies
LEARN ABOUT NETBSD
isdntel
ISDNTEL(8) BSD System Manager's Manual ISDNTEL(8)
NAME
isdntel -- isdn4bsd telephone answering management utility
SYNOPSIS
isdntel [-a aliasfile] [-d spooldir] [-p playcommand] [-t timeout]
DESCRIPTION
isdntel is used to provide an ``answering machine'' functionality for incoming telephone voice messages.
The following options are supported:
-a Use aliasfile as the pathname for an aliasfile containing aliases for phone numbers. The default path is /etc/isdn/isdntel.alias.
The format of an alias entry is the number string followed by one or more spaces or tabs. The rest of the line is taken as the alias
string. Comments are introduced by a leading blank, tab or ``#'' character.
-d Use spooldir as the directory where the incoming voice messages are stored by the ``answ'' script called by isdnd(8). This defaults
to the directory /var/isdn. The format of a voice message filename is:
YYMMDDhhmmss-dest_number-source_number-length_in_secs
-p Use playcommand as the command string to execute for playing a voice message to some audio output facility. The characters %s are
replaced by the currently selected filename. The default string is cat %s | alaw2ulaw >/dev/audio
-t The value for timeout specifies the time in seconds the program rereads the spool directory when there is no keyboard activity.
The screen output should be obvious. If in doubt, consult the source.
SEE ALSO
isdntel(4), isdnd.rc(5), isdnd(8)
AUTHORS
The isdntel utility and this manual page were written by Hellmuth Michaelis <hm@kts.org>.
BSD
July 11, 1998 BSD