11-10-2001
Actually only a few commands like sed and grep use regular expressions. But the commands you type are read by a shell. And shells have a filename matching system built in. So if you type "ls *.c" the shell will lool in your current directory and find a list of files whose names end in ".c". The ls command doesn't do that. The shell did it. And because you use the shell to type all your commands and most commands do use lists of filenames, it kinda looks like everything is the same.
It's pretty easy to get a files in a directory, but it's much harder to get a list of hostnames.
As for reading news, this is always done with freeware that is added on to the system. Unix does not come with newsreaders. I have no way of knowing what is available to you. But they are all "full screen" like vi or emacs; if you can run vi, you can run them. My choice would be a program called "trn", but again you will need to ask your sysadmin to find out what's available to you.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
is there a way to show information on all the users on your system? when i use 'finger' is only shows users names and info who are currently on the system. is there a way to show all accounts? thanx! (5 Replies)
Discussion started by: djatwork
5 Replies
2. UNIX for Dummies Questions & Answers
Hey, I was wondering If anybody knew of a way to make a log of all users who type the command finger username when username is my own.
I would like to see who is keeping track of me :)
Thanks (3 Replies)
Discussion started by: hanley_ie
3 Replies
3. UNIX for Advanced & Expert Users
Hello all,
Here is what I am trying to do. If a user exist, then send an echo "EXIST" or else "DOES NOT EXIST". (under HP-UX)
Kind of:
#!/usr/bin/sh
USER=mylogin
finger $USER
if $? = 0
then
echo "EXIST""
else
echo "DOES NOT EXIST"
fi (10 Replies)
Discussion started by: qfwfq
10 Replies
4. Shell Programming and Scripting
Hi,
iam using sunsolaris.
when you type finger command -- it dispalys information about local and remote users.
but here it shows as can't stat /dev/gold:8664
can anybody help what is the solution for this error.
previously the output came.
thanks,
shan (1 Reply)
Discussion started by: shanshine
1 Replies
5. UNIX for Dummies Questions & Answers
How can I change the name in the 'finger' information?
anybody has an idea? (2 Replies)
Discussion started by: ksainth
2 Replies
6. UNIX for Dummies Questions & Answers
Is there any possible way to get rid of the header when I do finger ?
I want to get rid of
Login Name Tty Idle Login Time Office Office Phone
as the header.
Please let me know how to do it. (2 Replies)
Discussion started by: felixwhoals
2 Replies
7. UNIX for Advanced & Expert Users
I want to know the correct version of how i should use the finger command in this example below.(os is debian lenny)
(nymserver.pl is located in /home/nymserv directory.)
the two versions are :
(in/etc/inetd.conf)
finger stream tcp nowait nymuser /usr/nym/nymserv nymserv... (3 Replies)
Discussion started by: xstation
3 Replies
8. Shell Programming and Scripting
Two things : On the first place i am really desperate, on the second i am about to throw my laptop away to the recycle bin in a while.
Ok now that i expressed my feeling let me describe you this mad situation.
Code:
print $1;
("finger -m " $1 "| head -1") | getline userinfo
print... (6 Replies)
Discussion started by: beatblaster666
6 Replies
9. UNIX for Dummies Questions & Answers
Hi
Does anyone know if there is anyway of doing the finger command for all user id's in my enviroment. What I need to obtain is the full names of all users on the system.
I know if i do the finger command with no arguments it will list users currently logged in, but i need all users...
... (2 Replies)
Discussion started by: m3y
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have taken all active user list and passing it to below code
for i in $(cat sample.out)
do
finger ${usr}> report.txt
done
I got below O/P
Login Name TTY Idle When Where
de4s1 john console 111d Fri 03:00
efr56 ... (21 Replies)
Discussion started by: stew
21 Replies
LEARN ABOUT CENTOS
platform::shell
platform::shell(n) Tcl Bundled Packages platform::shell(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________
DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(n)