11-15-2006
Look through your files:
/etc/.cshrc , ~/.tcshrc, ~/.cshrc
These are the files being processed by tcsh when starting up (this is because you are running tcsh and this is a non-login shell). The ~ stands for your home directory.
These files might have been changed by someone that knows your password or the admins, and since you mention that this is in a school setting, it is likely a joke.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, all you unix people. I am a pretty advanced windows user, but I am curious about unix. Is there any reason I should attempt to acquire some form of unix for my home computer system? What sort of things is unix useful for? Unix is open source, right? Assuming that to be the case, I infer that... (3 Replies)
Discussion started by: BoneMalone
3 Replies
2. UNIX for Dummies Questions & Answers
I run windows 2000 right now. I want to learn how to use unix/linux. How do i go about installing Unix/Linux? What's the easiest version to install? Where can i get it? Is my Hardware Compatable? How do i partition my Hd? HELP!!!!!:confused: (6 Replies)
Discussion started by: Rawdawg
6 Replies
3. UNIX for Dummies Questions & Answers
ok i just installed FreeBSD 4.8 on a computer i had lying around and it was working ok but then when i tried to set up KDE's xdm (kdm) i think i must have configured the login manager wrong because i cant login through the kdm and therefore i can log in to BSD at all?!
please can someone help me... (5 Replies)
Discussion started by: h3x
5 Replies
4. UNIX for Dummies Questions & Answers
I don't even know if this should go here but I just would like to know what this means:
d0e45878043844ffc41aac437e86b602
I know absolutely nothin' about UNIX, and I found this in a SQL table in a board I run.
Someone please tell me what that is in "normal" mode.
Pardon me for my... (4 Replies)
Discussion started by: daeglin
4 Replies
5. UNIX for Dummies Questions & Answers
I am wanting to download the Linux Program. When i go to download it I see several things to download. What do i download exactly? Then what do I do to install it. Also I have partitioned my hard drive to make way for Linux on the other part to play with it, will any problems arise from this?
I... (3 Replies)
Discussion started by: Seeto
3 Replies
6. Shell Programming and Scripting
hi all, im working on a script that needs to read in a file, search for a string of text within that file, and if the string is found, do something. so i know i need to use an if-then statement, but how do i test for the existence of a string within the file? any help would be greatly appreciated. (6 Replies)
Discussion started by: mdlearnest
6 Replies
7. Shell Programming and Scripting
So here is my problem:
I need to do a sed search and replace on the following:
variable_blah_STATUS replaced with "replace string".
sed 's/variable_blah_STATUS/replace string/g' works great but there is a catch.
The catch is that I need to check and not replace variable_blah_STATUS... (3 Replies)
Discussion started by: phreezr
3 Replies
8. Solaris
For some reason, I have a v240 lying around. I was thinking of connecting it to a 1gbit backbone, but I have no experience with Solaris or Linux whatsoever.
Here's what I would like to do:
- Run a Apache Webserver(XAMPP)
- Run a FTP Server and set the Home directory
Here's some random... (1 Reply)
Discussion started by: Willekillen
1 Replies
9. HP-UX
Hello, I am totally new to Unix
We have a piece of test equipment, three of them actually, that run HP-UX 9.0 from like 1994. We had backup tapes with procedures to load the OS and our test software, but the 16-track tapes are corrupt now. HP will not support it, they dont have it anymore,... (11 Replies)
Discussion started by: Newball80
11 Replies
10. Shell Programming and Scripting
Hi guys.
I have been lurking for quit some time attempting to learn on my own but I have reached an impasse.
I need to extract specific details from from a text file that I get and parse it out into separate files with the name of each individual and the date it was proccess. Then within... (2 Replies)
Discussion started by: lostpacket
2 Replies
LEARN ABOUT CENTOS
pcsc-spy
PCSC-SPY(1) PC/SC lite PCSC-SPY(1)
NAME
pcsc-spy - A PC/SC spy command
SYNOPSIS
pcsc-spy [-n|--nocolor] [-d|--diffable] [-h|--help] [fifo_filename]
DESCRIPTION
pcsc-spy displays PC/SC calls of an application. It must be used with the libpcscspy.so library.
To be able to spy the PC/SC layer, the application flow must be modified so that all PC/SC calls are redirected. Two options are available:
- the application is linked with libpcsclite.so.1
- the application loads the libpcsclite.so.1 library using dlopen(3)
OPTIONS
-d, --diffable
Demove the variable parts (like handler values) from the output so that two execution can be more easily compared.
-h, --help
Display a short help text.
-n, --nocolor
Disable the output colorization (if you want redirect the output in a file for example).
-v, --version
Print the version of the pcsc-spy program plus a copyright, a list of authors.
EXAMPLES
Applications linked with libpcsclite.so.1
We will use the standard LD_PRELOAD loader option to load our spying library.
Example:
LD_PRELOAD=/usr/lib/libpcscspy.so pcsc_scan
Application loading libpcsclite.so.1
This is the case for the PC/SC wrappers like pyscard (for Python) and pcsc-perl (for Perl). The LD_PRELOAD mechanism can't be used. Instead
we replace the libpcsclite.so.1 library by the spying one.
You may use install_spy.sh and uninstall_spy.sh to install and uninstall the spying library.
Using the spying library without pcsc-spy is not a problem but has side effects:
- a line "libpcsclite_nospy.so.1: cannot open shared object file: No such file or directory" will be displayed
- some CPU time will be lost because of the PC/SC calls redirection
Starting the spy tool
pcsc-spy
If a command argument is passed we use it instead of the default ~/pcsc-spy FIFO file. It is then possible to record an execution log and
use pcsc-spy multiple times on the same log.
To create the log file just do:
mkfifo ~/pcsc-spy
cat ~/pcsc-spy > logfile
and run your PC/SC application.
Mac OS X
The installation is not automatic. In the pcsc-lite/src/spy directory do:
make framework
Then copy the PCSC.framework directory in /tmp
cp -a PCSC.framework /tmp
Copy the official PCSC.framework (binary only) in /tmp
cp /System/Library/Frameworks/PCSC.framework/PCSC /tmp
Run the application to debug as:
DYLD_FRAMEWORK_PATH=/tmp pcsctest
FILES
~/pcsc-spy FIFO file is used by libpcsclite.so.1 to send the raw log lines
SEE ALSO
pcscd(8)
AUTHOR
This manual page was written by Ludovic Rousseau <rousseau@free.fr>
pcsc-lite 1.8.8 2012-08-25 PCSC-SPY(1)