04-15-2009
Probably because the device is a NAS and thus a command-line listing isn't always possible/desired?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hii...
I want to list folders (no files and no symbolic links)..
But my
is giving me error..
please help...
Esham (7 Replies)
Discussion started by: esham
7 Replies
2. Shell Programming and Scripting
I want to make a symbolic link to a set of files in a particular directory if they exist. The number of files in the set is not known. The following script fails because it is ambigious.
if(-f dir1/*.a) then
ln -s dir1/*.a dir2/
endif
Can anyone help me?
Thanks a lot. (1 Reply)
Discussion started by: Deanne
1 Replies
3. Solaris
Hi,
I have a quick question with regards to creating symbolic links. Would creating a symbolic link from one directory to a file in another cause any issues for users that are currently logged into the box. I don't believe it will unless they are using the file in question, but I would like... (2 Replies)
Discussion started by: Chains
2 Replies
4. Shell Programming and Scripting
hi,
How do i create a tar file of a directory excluding the links in that particular directory and its sub-directories.
The below command doesnt work for me.
tar -cvf abc.tar /dir1 --exclude"^l" (1 Reply)
Discussion started by: yesmani
1 Replies
5. Programming
i'm trying to write a c code to copy a soft link over to a specified directory. Is it possible to do this without using symlink()?
if so, what can I use?
Thanks! (2 Replies)
Discussion started by: l flipboi l
2 Replies
6. IP Networking
Hi all,
I am working on a project where I need to access four random machines from a given subnet mask and sending files across the machines similar to peer to peer file systems. Now my question is. Given a subnet mask or If I obtain a random IP address of a machine from Subnet mask, how can I... (4 Replies)
Discussion started by: Pavan Kumar
4 Replies
7. Shell Programming and Scripting
Hello,
Greetings!
please help me produce the following solution. I need
to produce one big matrix file from several files in different levels.
If it helps, the index folder provides information on chromosome index and
the data folder provides information on values for chromosomes.
there... (8 Replies)
Discussion started by: newbie83
8 Replies
8. Shell Programming and Scripting
Hi,
I have all my pictures as *.JPG and *.CR2 in the following folder structure:
/media/a_2TB/pictures/year/year-month-day-hour/picture*.*
But sometimes I added a subdirectory -->
/media/a_2TB/pictures/year/year-month-day-hour/suba/picture*.*... (3 Replies)
Discussion started by: 8200
3 Replies
9. Shell Programming and Scripting
Hello, im trying to create folders from text file and i get errors :(
#!/bin/bash
awk 'BEGIN { RS = "/" } ; { mkdir $1, mkdir $2, mkdir $3, mkdir $4, mkdir $5}' zodziai.txt
im new in linux stuff just trying to learn. The idea is i want to create new folders from words in text file. I... (4 Replies)
Discussion started by: boxstep
4 Replies
10. UNIX for Dummies Questions & Answers
Hi I've been trying to find an answer to this question and was hoping someone would be able to help me.
I want to add a sub-folder to to an existing structure: for example
/toys/toy_1/new
/toys/toy_2/new
/toys/toy_3/new
There are humdreds of theses folders - what i want to do is add a... (2 Replies)
Discussion started by: LouSan
2 Replies
LEARN ABOUT CENTOS
checkrad
CHECKRAD(5) File Formats Manual CHECKRAD(5)
NAME
checkrad -- See if a user is (still) logged in on a certain port.
SYNOPSIS
checkrad [-d] nas-type nas-ip nas-port login session-id
DESCRIPTION
Checkrad is used by the radius server to check if its idea of a user logged in on a certain port/NAS is correct if a double login is
detected.
Returns: 0 = no duplicate, 1 = duplicate, >1 = error.
OPTIONS
-d Enable printing of debugging informations.
nas-type
Type of port/NAS. Can be one of:
o ascend
o bay
o cisco
o cisco_l2tp
o computone
o cvx
o digitro
o dot1x
o livingston
o max40xx
o mikrotik
o mikrotik_snmp
o multitech
o netserver
o other
o pathras
o patton
o portslave
o pr3000
o pr4000
o redback
o tc
o usrhiper
o versanet
The "other" type cause checkrad to skip any check and always returns 1.
nas-ip IP address of the NAS to check.
nas-port
The NAS port to check (may be ignored by some nas-type).
login The login name to check.
session-id
Session to check. (actually ignored by all nas-type)
SEE ALSO
radiusd(8)
AUTHOR
Written by Miquel van Smoorenburg, miquels@cistron.nl.
This manual page was written by Marco Nenciarini <mnencia@debian.org> for the Debian project (but may be used by others).
13 January 2006 CHECKRAD(5)