Hi,
I have a text file with this content:
9999,name,08,date
9999,name,19,date
9999,name,07,date
9999,name,02,date
9999,name,11,date
and i want exclude with sed every line where the code is different than 08 and 07
the desirable output is:
9999,name,08,date
9999,name,07,date
I'm trying to run jobs on the cluster of our university, and I come across this result when I trying to see the status of the cluster:
llstatus
Name Schedd InQ Act Startd Run LdAvg Idle Arch OpSys
pandora001 Down 0 0 Run 29 41.04 9999 POWER7 AIX61
pandora002 Down 0 0 Busy 32 32.06 9999 POWER7 AIX61
pandora003 Down 0 0 Drned
Hello , I am trying to get contents which are only present in a.csv ,so using comm -23
cat a.csv | sort > a.csv
cat b.csv | sort > b.csv
comm -23 a.csv b.csv > c.csv.
I have to replace the pattern found in one file in another file with null/empty "" if found on the fields 3 or 4 ONLY
Code:
File 1
====
10604747|Mxdef|9999|9999|9999|2012-03-04 00:00:59
10604747|Mcdef|8888|9999|8888|2012-03-04 00:00:59
.
.
.
File 2
====
9999
8888
.
.
.
Expected output:
File 1
====
10604747|Mxdef|||9999|2012-03-04 00:00:59
10604747|Mcdef|||8888|2012-0
I have a Windows server running IIS. I wish to run a piece of software that hosts a web interface on a non-standard HTTP port (let's say, port 9999). I have static DNS entries on my router for two FQDNs, both of which direct to the Windows server.
Can anyone assit me in completing this simple looping problem
allow the user to enter as many number as they want by using a loop. The program will keep asking the user for additional numbers until the user enters 9999. Once the user enters 9999, exit the loop and display a message telling them which number they entered was the largest of all of their entries.
I'm used to setup a ssh proxy in the localhost like this:
ssh -fND 9999 server
I have been using it for years for daily browsing. Now I want to use the same proxy in a Windows guest in the same desktop host. The host (Fedora) is at 10.1.1.4 and the guest is at 10.1.1.7. But when I set the proxy as a socks5 proxy in Firefox at the Windows guest pointing it to 10.1.1.4:9999 it times out.
I have a program running on remote server port 9999. As it don't support any kind of encryption and auth, I'm using the ssh tunnel to access to it.
This is the command I am using:
ssh -L 9999:localhost:9999 user@remotehost
In order to keep this tunnel alive. I write a ssh script to monitor and restart it if anything went wrong.
So i'm creating services with jmdns and i can access them from local area network from aadress 192.168.0.101:9999/servicename (note that 192.168.0.101 is my android phone localIP).
Now if i want to access them from wide area network i'd have to do port forwarding in my router right?