04-07-2008
troublesooting commands/files
hello,
A connection to a remote server is lost frequently.
what files should I check for any hardware or network problems?
how to check what NIC card is active? how to check if any NIC card has/had problems?
I am using RHEL4.
thx
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all scripting gurus,
need some guide and advise from you.
i'm trying to list all the files in the year 2004 and the file format is something like this: 11176MZ00004JV900004JVB00004JVCcDBU20041206.txt try to use the symbol ^ but somehow it does not help.
i try this as well: ls -ltr |... (12 Replies)
Discussion started by: lweegp
12 Replies
2. UNIX for Dummies Questions & Answers
We have two processes, one which copies a control file into a folder and another which is polling this folder and reading the control files.
Sometimes they clash and the reader fails because the copy is still happening.
We have been told that we should change the copy to a move because the... (1 Reply)
Discussion started by: sbarnes
1 Replies
3. Emergency UNIX and Linux Support
I were checking few processes running and check what at the files currently I have in my home directory by giving below commands
$ ps -ef|grep sleep
$ ls -lt | pg
after awhile the first column of my commands were created as files given below...
-rw-rw-rw- 1 prd 0 Mar 25 09:42 ls... (7 Replies)
Discussion started by: dateez
7 Replies
4. Shell Programming and Scripting
I want to create an awk script that performs different things on different files.
For example, for files with extension .ry I might do something, but for .xt I do something else, and another things on .zc files.
How can I do this in one awk script? (3 Replies)
Discussion started by: kristinu
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am new to unix , I was planning to write a script that will FTP files to destination folder. , Please guide me what are the various networking commands that unix will help in this ftp process..?:confused: (1 Reply)
Discussion started by: rahul125
1 Replies
6. UNIX for Dummies Questions & Answers
Hi.
I'm new here, and I'm trying to enter this big world of unix.
I would like to know how can I install a SSH server for free so I can teste some things, like make a file, change files, rename and things like this?
If is there any easy way to test all commands it would be interesting too.
... (10 Replies)
Discussion started by: whity
10 Replies
7. Shell Programming and Scripting
Hi bodies.
You think is it possible to make arrays from 2 different files in a same time and then for example compare the values in these 2 arrays or any other instruction
for example, I have:
38558 29 31
38557 28 31
38556 23 31
38555 08 31
38554 08 28
38553 21... (8 Replies)
Discussion started by: Behrouzx77
8 Replies
8. Shell Programming and Scripting
So, I need to find a bunch of files and delete them (this example, but sometimes I need it for something else) and my trusty go-to command has always been:
find . -type f -name '*file*' | xargs -I## rm '##'
Works wonders... But:
touch file\ file\'.txt
touch file.txt
touch file\ file.txt... (6 Replies)
Discussion started by: Mr.Glaurung
6 Replies
9. Shell Programming and Scripting
Hi All,
Seeking for your assistance on how to put in variables all the commands in /bin
config files: /home/test/config_file/config.cfg
cat /home/test/config_file/config.cfg
ECHO=/bin/echo
LS=/bin/lsMain script
cat test.sh
source=/home/test/config_file/config.cfg
ECHO=$ECHO
LS=$LS#i... (3 Replies)
Discussion started by: znesotomayor
3 Replies
10. UNIX for Beginners Questions & Answers
Hello All,
I would need to write a shell script to find the files generation count for the given day and the folder.Presently I am using (ls -ltr *filename* | grep "Feb 19" | wc -l ) from each folder and getting the counts.I would like to create a script which will get the counts under the... (3 Replies)
Discussion started by: ravish383
3 Replies
LEARN ABOUT DEBIAN
opensc-tool
OPENSC-TOOL(1) OpenSC tools OPENSC-TOOL(1)
NAME
opensc-tool - generic smart card utility
SYNOPSIS
opensc-tool [OPTIONS]
DESCRIPTION
The opensc-tool utility can be used from the command line to perform miscellaneous smart card operations such as getting the card ATR or
sending arbitrary APDU commands to a card.
OPTIONS
--info, -i
Print information about OpenSC, such as version and enabled components
--atr, -a
Print the Answer To Reset (ATR) of the card, output is in hex byte format
--name, -n
Print the name of the inserted card (driver)
--serial
Print the card serial number (normally the ICCSN), output is in hex byte format
--send-apdu apdu, -s apdu
Sends an arbitrary APDU to the card in the format AA:BB:CC:DD:EE:FF...
--list-files, -f
Recursively lists all files stored on card
--list-readers, -l
Lists all configured readers
--list-drivers, -D
Lists all installed card drivers
--reader num, -r num
Use the given reader number. The default is 0, the first reader in the system.
--card-driver driver, -c driver
Use the given card driver. The default is auto-detected.
--wait, -w
Wait for a card to be inserted
--verbose, -v
Causes opensc-tool to be more verbose. Specify this flag several times to enable debug output in the opensc library.
SEE ALSO
opensc-explorer(1)
opensc 06/03/2012 OPENSC-TOOL(1)