Skip to content
Advertisement

How can I run dos2unix on an entire directory? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Why does netstat show the wrong foreign address?

I have several physical network interfaces on a debian 6 box, each has a different subnet IP address. Two of the interfaces are connected to a switch hub so they can communicate with each other. I want to setup a TCP connection between the 2 interfaces. This is what I do: I first get a SOCK_STREAM socket. I then use

Prohibit unaligned memory accesses on x86/x86_64

I want to emulate the system with prohibited unaligned memory accesses on the x86/x86_64. Is there some debugging tool or special mode to do this? I want to run many (CPU-intensive) tests on the several x86/x86_64 PCs when working with software (C/C++) designed for SPARC or some other similar CPU. But my access to Sparc is limited. As I know,

CommPortIdentifier.getPortIdentifiers with zero ports on Linux

i am trying to connect serial port on ubuntu. However, It doesn’t work for me. I succesfully run the same project on Windows just with different drivers. The problem is that I can’t load any ports while I am using this: CommPortIdentifier.getPortIdentifiers(); // i am using rxtx 2.1.7 It always return zero ports. I would like to use port ttyS0

Login into EC2 Instance as root

I am using putty to login to my ec2 instance. When i typed root it asked me to login as ec2-user. Authenticating with public key “imported-openssh-key” Please login as the ec2-user user rather than root user. when i did login as ec2-user and tried to run commands like yum install httpd it says Loaded plugins: fastestmirror, priorities, security, update-motd You

Advertisement