Convert NAS URL to Physical Path & visa-versa


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Convert NAS URL to Physical Path & visa-versa
# 8  
Old 11-15-2018
Quote:
Originally Posted by mohtashims
Guys this has to do with a string conversion only based on output of df as was shared in the Original Post.
If that's the one and only share that will ever be fed into this, then yes, it is. If it's not, it really becomes quite complicated and requires lots more information from you.

Answer our questions faster and you'll get replies faster.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies

2. Red Hat

Physical path of NIC/HBA

How can I get the physical path i.e. slot#, port# etc. using a command on linux physical server? Looking for a command for mapping. thanks... (3 Replies)
Discussion started by: snchaudhari2
3 Replies

3. AIX

AIX swap space, physical memory & cache

Hi, I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache? We are using AIX 5.3. Thanks! (3 Replies)
Discussion started by: Phaneendra G
3 Replies

4. UNIX for Dummies Questions & Answers

How to convert relative path to absolute path?

Hello Everyone, I want to convert Relative Path - /home/stevin/data/APP_SERVICE/../datafile.txt to Absolute Path - /home/stevin/data/datafile.txt Is there a built-in tool in Unix to do this or any good ideas as to how can I implement this. -Steve (5 Replies)
Discussion started by: qwarentine
5 Replies

5. Shell Programming and Scripting

Text substitution & getting file name from url

hi, sorry if this seems trivial. i have a file url.txt which consists of a list of urls (it was supposed to be my wget -i file). however, since the server from which i am trying to download uses redirect, wget dows not remeber the filename of ther original url will save to a file name which is... (3 Replies)
Discussion started by: texttoolong
3 Replies

6. Web Development

Apache mod_rewrite: from 'friendly' url to actual path

I'd like to translate a friendly url such as: http://www.xxxyyyzzz.com/page/12345678/ to: http://www.xxxyyyzzz.com/page/12/34/56/78/ Seems simple enough, but I cannot figure out how. Any one done this before? (2 Replies)
Discussion started by: markericksen
2 Replies

7. Shell Programming and Scripting

sed help to convert from lowercase to uppercase and vice versa!

Hello, can sed be used to convert all letters of a file from uppercase to lowercase and vice versa?i know tr command can be used but with sed is it possible? i came up with this :- sed 'y///' file1 actually the above command is also not working! Please help me. Thanks in advance :) (6 Replies)
Discussion started by: salman4u
6 Replies

8. Shell Programming and Scripting

Convert Epoch Time to Standard Date and Time & Vice Versa

Hi guys, I know that this topic has been discuss numerous times, and I have search the net and this forum for it. However, non able to address the problem I faced so far. I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Discussion started by: DrivesMeCrazy
5 Replies

9. Web Development

CAN TCPDF USE fopen() or Convert URL To PDF?

Dear all, I'm a newbie for PHP and TCPDF ,I have to change the URL to PDF, so I used FPDF , But it cannot convert most of the advanced HTML tags. So explored again and found TCPDF , it can do most of the tag but I cannot found to change URL to PDF. So Does anyone can point the example... (0 Replies)
Discussion started by: athae
0 Replies

10. UNIX for Dummies Questions & Answers

default url path

flavor AIX where oh where do I set the default url path? at one point and time the path was set to a specific dir, i.e. when I access http://server.com/page.html I am hitting a page saved off in dir1/dir2/dir3/page.html. but, how do I alter that default path? I don't have a clue what web... (5 Replies)
Discussion started by: Xiix
5 Replies
Login or Register to Ask a Question
RADTEST(1)							 FreeRADIUS Daemon							RADTEST(1)

NAME
radtest - send packets to a RADIUS server, show reply SYNOPSIS
radtest [-d raddb_directory] [-t pap/chap/mschap] [-x ] [-4 ] [-6 ] user password radius-server nas-port-number secret [ppphint] [nasname] DESCRIPTION
radtest is a frontend to radclient(1). It generates a list of attribute/value pairs based on the command line arguments, and feeds these into radclient. It's a fast and convenient way to test a radius server. OPTIONS
-d raddb_directory The directory that contains the RADIUS dictionary files. Defaults to /etc/raddb. -t pap/chap/mschap/eap-md5 Choose the authentiction method to use. e.g. "-t pap", "-t chap", "-t mschap", or "-t eap-md5",. Defaults to "pap". Using EAP-MD5 requires that the "radeapclient" program is installed. -x Enables debugging output for the RADIUS client. -4 Use NAS-IP-Address for the NAS address (default) -6 Use NAS-IPv6-Address for the NAS address (default) user Username to send. password Password of the user. radius-server Hostname or IP address of the radius server. Optionally, you may specify a port by appending :port nas-port-number The value of the NAS-Port attribute. Is an integer between 0 and 2^31, and it really doesn't matter what you put here. 10 will do fine. secret The shared secret for this client. ppphint If you put an integer > 0 here, radtest (or actually radclient) will add the attribute Framed-Protocol = PPP to the request packet. nasname If present, this will be resolved to an IP address and added to the request packet as the NAS-IP-Address attribute. If you don't specify it, the local hostname of the system will be used. SEE ALSO
radiusd(8), radclient(1). AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl. 5 April 2010 RADTEST(1)