Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Re-learning Unix - need some advice. Post 302103694 by thoughts on Saturday 20th of January 2007 02:04:12 PM
Old 01-20-2007
Thanks to both for your replies.

The CD/DVD based OS seems appealing.

But, I'm guessing (as I'm new to the CD/DVD OS) that a CD/DVD based OS exposes limited features as opposed to hard-drive based OS.

Would one be able to write to a file, using Vi Editor on a CD/DVD based OS?

Yesterday we installed Fedora Linux by partitioning the hard drive of my old laptop which had Windows XP on it. The install crashed a few times. It's not fully installed yet.

On a side note, I also heard from some people that Mac OS comes with Unix by default.

I do want a stable system that I could use to practice Linux or Unix. So I'm thinking whether I should wipe out windows XP and replace it with Linux, or buy a new one etc.
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Learning Unix , Advice?

I am a long-time Windows NT, 2000 user at home and work. I want to learn Unix to broaden myself. What flavor do you recommend and how do you recommend practicing with it at home? how to get a copy of it to practice with? (1 Reply)
Discussion started by: robmaxfli
1 Replies

2. UNIX for Dummies Questions & Answers

where to obtain UNIX and learning on a UNIX variant?

Hi. I've just started to get into UNIX. Researched on the Net, found out that most of the UNIX variants are not offered online. 1. Any of you guys know where I could obtain them on the Net? or anywhere at all? 2. Does learning a UNIX variant enough to cover an understanding of other UNIX... (6 Replies)
Discussion started by: ninelives1980
6 Replies

3. UNIX for Dummies Questions & Answers

Learning UNIX

Hi guys! Am new to this forum so would like to say hello to all. Was wondering, what the best way to learn UNIX was? Theoretically or Practically? Cheers (2 Replies)
Discussion started by: bibah11
2 Replies

4. What is on Your Mind?

Learning UNIX

Alright I am looking to further my knowledge and experiance with computers (Currently a PC technician but not much knowledge with other operating systems like unix/linux). What im trying to do now is get a basic understanding of unix and its commands, unix shells, the unix directory structure, and... (5 Replies)
Discussion started by: Rycon
5 Replies

5. UNIX for Dummies Questions & Answers

Learning Unix

Hi all, and thanks for viewing this thread. I have never used the terminal (UNIX) before, not until I read an introductory book about it: Unix for Mac OS X Tiger. Now I've become intrigued, and I want to uncover more of the mysteries of Unix. I've searched and searched, but there are many books... (5 Replies)
Discussion started by: Hin
5 Replies

6. UNIX for Advanced & Expert Users

I am learning UNIX and

I am wondering, is there a core book or instruction DVD that I can learn from and be functional in UNIX with. I know a lot of the basic commands and I just figured out how to create a file but, I want to be able to handle this with no problem. (3 Replies)
Discussion started by: MOSE
3 Replies

7. UNIX for Dummies Questions & Answers

learning unix

Hi, i have started to learn unix (on and off for the past few months) and am wishing to move into that area in the administration field of it. I have been working in the help desk area (desktop support - windows based) for about 2.5 years and moved into a team leading role for 1 year in which i... (1 Reply)
Discussion started by: donnieDarko
1 Replies

8. UNIX for Dummies Questions & Answers

Learning UNIX

Hi Everyone, I know nothing about Solaris / Linux / AIX but I know they are all part of Unix. I have been using Windows the last 15years and I have been a LAN admin, I am now working in IT Operations and we use some solaris commands but not much plus its from following a document so we can't... (1 Reply)
Discussion started by: maxie
1 Replies

9. What is on Your Mind?

Learning UNIX

Hi Guys , Hope everybody is fine . I am here to learn UNIX . Please provide any URLs/pdfs for learning . Thanks in advance. -Radha ---------- Post updated at 07:59 PM ---------- Previous update was at 07:48 PM ---------- Just to add , I am good at basics but unable to write scripts... (4 Replies)
Discussion started by: radha254
4 Replies

10. UNIX for Dummies Questions & Answers

Need advice on learning RegEx

Hello Unix graduates, I have gone through 50 posts here in this Unix.com, out of which 35-40 are answered with regex.. Regex is always been a problem for me. :wall: I have gone through few URLs still it doesn't help me to reach what you guys are.. :confused: How to get skilled on... (1 Reply)
Discussion started by: sathyaonnuix
1 Replies
CURLOPT_UNIX_SOCKET_PATH(3)				     curl_easy_setopt options				       CURLOPT_UNIX_SOCKET_PATH(3)

NAME
CURLOPT_UNIX_SOCKET_PATH - set Unix domain socket SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UNIX_SOCKET_PATH, char *path); DESCRIPTION
Enables the use of Unix domain sockets as connection endpoint and sets the path to path. If path is NULL, then Unix domain sockets are dis- abled. An empty string will result in an error at some point, it will not disable use of Unix domain sockets. When enabled, curl will connect to the Unix domain socket instead of establishing a TCP connection to a host. Since no TCP connection is created, curl does not need to resolve the DNS hostname in the URL. The maximum path length on Cygwin, Linux and Solaris is 107. On other platforms it might be even less. Proxy and TCP options such as CURLOPT_TCP_NODELAY(3) are not supported. Proxy options such as CURLOPT_PROXY(3) have no effect either as these are TCP-oriented, and asking a proxy server to connect to a certain Unix domain socket is not possible. The application does not have to keep the string around after setting this option. DEFAULT
Default is NULL, meaning that no Unix domain sockets are used. PROTOCOLS
All protocols except for file:// and FTP are supported in theory. HTTP, IMAP, POP3 and SMTP should in particular work (including their SSL/TLS variants). EXAMPLE
Given that you have an nginx server running, listening on /tmp/nginx.sock, you can request a HTTP resource with: curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, "/tmp/nginx.sock"); curl_easy_setopt(curl_handle, CURLOPT_URL, "http://localhost/"); If you are on Linux and somehow have a need for paths larger than 107 bytes, you could use the proc filesystem to bypass the limitation: int dirfd = open(long_directory_path_to_socket, O_DIRECTORY | O_RDONLY); char path[108]; snprintf(path, sizeof(path), "/proc/self/fd/%d/nginx.sock", dirfd); curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, path); /* Be sure to keep dirfd valid until you discard the handle */ AVAILABILITY
Since 7.40.0. RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_OPENSOCKETFUNCTION(3), unix(7), libcurl 7.54.0 December 21, 2016 CURLOPT_UNIX_SOCKET_PATH(3)
All times are GMT -4. The time now is 07:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy