11-04-2010
Hi.
Yes.
The first (cd ~smart) will cd to the home directory or user smart.
The second will cd to a directory called smart in the current user's home directory. cd ~ will cd to the current user's home directory.
This User Gave Thanks to Scott For This Post:
4 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
eg. : there is a file - 322 bytes,
how can I (or you) view just a half of file (161 bytes)? (3 Replies)
Discussion started by: zylwyz
3 Replies
2. Shell Programming and Scripting
First, I know that's a bad title. I couldn't think of anything short enough. ...
I wrote the following script to let me know when various parts of the network are down. It used to look like this before last weekend when I got over 500 emails about 1 host being down all weekend:
this is in the... (1 Reply)
Discussion started by: raidzero
1 Replies
3. Shell Programming and Scripting
Hello
Im pretty new to scripting in linux but am keen to learn.
I'm trying to create a backup script similar to a batch script I developed for windows (dos) where the backup is to a usb drive. no problems with the backup process but what I would like to do is automatically remove old files if... (2 Replies)
Discussion started by: TheGacko
2 Replies
4. Shell Programming and Scripting
Hi,
I need a script to assign variables the below paths
/appl/user_projects/domains/<xxx>/servers/<yyy>/logs
Where <xxx> can be any number and name of directories.
<yyy> can be another set of any number of names and directories.
I want to neglect all the <xxx> and <yyy>... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT DEBIAN
scriptor
SCRIPTOR(1p) SCRIPTOR(1p)
NAME
scriptor - Perl script to send commands to a smart card
SYNOPSIS
scriptor [-h] [-r reader] [-p protocol] [file]
DESCRIPTION
This manual page documents briefly the scriptor command.
scriptor is a program that sends commands to a smart card using a batch file or stdin.
OPTIONS
A description of options is included below.
-h Show summary of options.
-r reader
Use the indicated reader. By default the first PC/SC reader is used.
-p protocol
Use the indicated protocol. Accepted values are T=0 and T=1. By default T=0 is used.
file Use the file instead of stdin to read commands (APDUs)
The commands are of the form:
CLA INS P1 P2 Lc [data] [le]
reset
# comment
Example:
# reset the card
reset
# Select MF 3F00
A0 A4 00 00 02 3F 00
# Get Reponse
# 17 is the value of second SW from the previous command
A0 C0 00 00 17
# Select DF Telecom(7F10)
A0 A4 00 00 02 7F 10
# Get Response
A0 C0 00 00 17
# Select EF_ADN(6F3A) (Abbreviated Dialing Numbers)
A0 A4 00 00 02 6F 3A
# Get Reponse
A0 C0 00 00 0F
SEE ALSO
pcscd(8),gscriptor(1)
AUTHOR
This manual page was written by Ludovic Rousseau <rousseau@debian.org>, for the Debian GNU/Linux system (but may be used by others).
octobre 17, 2003 SCRIPTOR(1p)