1
vote
1answer
24 views

curl is giving wrong result via ssh

Curl is working fine on the node itself: [ec2-user@smokebase1 ~]$ curl -s -I --retry 3 --header 'Host: smoke-base.dev-test.com' ...
-1
votes
1answer
58 views

can someone help me pick out the particular field? [closed]

I have to generate a script that alerts me when disk space goes beyond a threshold. df -k command would fetch me the disc spaces involved in my working directory. For example,the output would be ...
-1
votes
1answer
170 views

UnknownHostException in Unix while using InetAddress.getByName() [closed]

I use this snippet of Java code to lookup an IP Address from the domain name InetAddress address = InetAddress.getByName("google.com"); It works fine in Windows & Linux but throws ...
0
votes
4answers
94 views

Seeing what background process is up to

I currently have a background process on my unix server that's running hours longer than it should be. I can't remember the command to allow me to see the output of a background process. I'll ...
1
vote
1answer
307 views

How to combine files with unix cat command based on file name, then rename?

I have a bunch of CSV files in a directory like: modfinalak_1.csv modfinalal_1.csv modfinalal_2.csv modfinalal_3.csv modfinalar_1.csv modfinalar_2.csv so it's one or multiple files per each US state ...
0
votes
4answers
155 views

is there an 'upwards' find?

To find files starting from a certain path, I can use find <path> .... If I want to find 'upwards', i.e. in the parent directory, and it's parent, and..., is there an equivalent tool? Intended ...
0
votes
2answers
370 views

remotely running find -exec options

I'm trying to setup a bash process for deploying my django project onto a linux server. Through cygwin, I'm running a script that is calling scp to copy my files over. Is there a similar command to ...