Click here to Skip to main content
14,981,739 members
Home / Discussions / Linux Programming
   

Linux Programming

 
NewsMessage Closed Pin
28-Jul-21 0:01
Memberpokemon 4ever28-Jul-21 0:01 
QuestionFind alive IP Pin
_Flaviu21-May-21 5:33
Member_Flaviu21-May-21 5:33 
AnswerRe: Find alive IP Pin
k505421-May-21 5:59
mvek505421-May-21 5:59 
AnswerRe: Find alive IP Pin
Victor Nijegorodov21-May-21 6:30
MemberVictor Nijegorodov21-May-21 6:30 
AnswerRe: Find alive IP Pin
Dave Kreskowiak29-May-21 3:37
mveDave Kreskowiak29-May-21 3:37 
QuestionBooting Linux using UEFI - how various files interact Pin
Member 1497193824-Oct-20 8:13
MemberMember 1497193824-Oct-20 8:13 
AnswerRe: Booting Linux using UEFI - how various files interact Pin
Richard MacCutchan4-Dec-20 1:21
mveRichard MacCutchan4-Dec-20 1:21 
AnswerRe: Booting Linux using UEFI - how various files interact Pin
steve525123456-Jun-21 20:43
Membersteve525123456-Jun-21 20:43 
QuestionRecovering RAID5 md device from foreign OS Pin
Member 1497193821-Oct-20 15:56
MemberMember 1497193821-Oct-20 15:56 
AnswerRe: Recovering RAID5 md device from foreign OS Pin
Peter_in_278021-Oct-20 16:39
professionalPeter_in_278021-Oct-20 16:39 
GeneralRe: Recovering RAID5 md device from foreign OS Pin
Member 1497193822-Oct-20 1:39
MemberMember 1497193822-Oct-20 1:39 
QuestionAdding RAID mount info to fstab Pin
Member 1496877119-Oct-20 5:44
MemberMember 1496877119-Oct-20 5:44 
AnswerRe: Adding RAID mount info to fstab Pin
k505419-Oct-20 5:59
mvek505419-Oct-20 5:59 
GeneralRe: Adding RAID mount info to fstab Pin
Member 1496877119-Oct-20 9:33
MemberMember 1496877119-Oct-20 9:33 
GeneralRe: Adding RAID mount info to fstab Pin
k505419-Oct-20 9:59
mvek505419-Oct-20 9:59 
GeneralRe: Adding RAID mount info to fstab Pin
Member 1496877119-Oct-20 13:59
MemberMember 1496877119-Oct-20 13:59 
PraiseHelp me! Pin
Member 1492738231-Aug-20 8:34
MemberMember 1492738231-Aug-20 8:34 
AnswerRe: Help me! Pin
Dave Kreskowiak31-Aug-20 9:43
mveDave Kreskowiak31-Aug-20 9:43 
AnswerRe: Help me! Pin
Afzaal Ahmad Zeeshan31-Aug-20 17:52
mveAfzaal Ahmad Zeeshan31-Aug-20 17:52 
QuestionDoes Crystal Report Asp.net work in Linux through Mono ? Pin
Chai WY26-Jul-20 23:00
MemberChai WY26-Jul-20 23:00 
AnswerRe: Does Crystal Report Asp.net work in Linux through Mono ? Pin
Afzaal Ahmad Zeeshan31-Aug-20 17:55
mveAfzaal Ahmad Zeeshan31-Aug-20 17:55 
QuestionReading Files on network box Pin
#realJSOP7-Jul-20 0:58
mva#realJSOP7-Jul-20 0:58 
Facts:

0) I'm writing a .Net Core 3.1 command line app (using C#) to read text files on some Raspberry Pi machines on the network. This app will be able to run on either Windows or Linux.

1) The files in question are in the /etc, /proc and /sys folders.

2) I don't want to create shares of these folders.

3) I'd prefer not to have to install/configure anything on the remote boxes (if at all possible).

4) I know the user ids and passwords for the remote boxes, and am aware that I have to somehow use these credentials in order to "connect" to the remote boxes).

5) I don't want to use another language. I mean, doNet Core is supposed to be cross-platform, right?

Problem:

How do I go about reading a file on a remote linux box? I've tried a number of ways to do this, but I keep getting the following exception:

"The network name cannot be found. : '\\\\192.168.1.10\\sys\\class\\thermal\\thermal_zone0\\temp'"

(BTW, when running in Windows, the exception is presented with backslashes. I'm actually using forward slashes.)
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

AnswerRe: Reading Files on network box Pin
k50547-Jul-20 4:28
mvek50547-Jul-20 4:28 
GeneralRe: Reading Files on network box Pin
#realJSOP7-Jul-20 4:47
mva#realJSOP7-Jul-20 4:47 
GeneralRe: Reading Files on network box Pin
Richard Deeming7-Jul-20 5:10
mveRichard Deeming7-Jul-20 5:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.