I have a file which has numbers at the start of some of the lines.
Code:
aaa
aaa
1 aaa bbb ccc ddd 12345 12345
2 aaa bbb ccc ddd 12345 12345
3 aaa bbb ccc ddd 12345 12345
4 aaa bbb ccc ddd 12345 12345
bbb
5 aaa bbb ccc d
My simple understanding of NAT is something like this could happen:
Two client PCs 192.168.1.2 and 192.168.1.3 open up a connection with src port = 12345.
Hi All,
I have a file like this
red 12345
12345 abc red
ddd red dfgd
abc blue 123
123 red123
123red123
I need to comment all lines from this file containing the string 'red'. Desired output.
#red 12345
#12345 abc red
#ddd red dfgd
abc blue 123
#123 red123
#123red123
How to achive this in Unix??
Thanks,
sarin
I was looking for the difference between the "." and "source" builtin commands and a few sources (e.g., in this discussion, and the bash manpage) suggest that these are just the same.
However, following a problem with environment variables, I conducted a test.
I intalled opendkim with sendmanil (on Ubuntu) without any problem, and followed the same procedure for installing on another server (Debian with postfix), but it does not work. Strangely, there is no error in the log files too.
I have this following file:-
$ cat numbers
a1
12
12345
123456
19816282
1@$%6
I am using grep "^[0-9]\{1,6\}$" numbers which is giving me the following results:-
12
12345
I was expecting 1@$%6 also in the results. Please correct me if I am wrong?
Apologies for the confusing question title, but I'm not exactly sure how to describe the issue at hand.
I have two tables in Oracle 9i:
Pricing
-------
SKU
ApplicableTime
CostPerUnit
Inventory
---------
SKU
LastUpdatedTime
NumberOfUnits
Pricing contains incremental updates to the costs of each particular SKU item, at a specific Unix time.
In a GNU/Linux OS there is no way to change ownership of a file until you are root. But what if I want to hide my system’s username e.g. before sending a file to someone, because some things like tar will try to keep it?
What I think about is something like
# mkdir --mode=?????
Hello,
I have two source files:
sourcefile1.dat:
Code:
12345 xxx yyy zzz
23456 qqq ttt rrr
34567 ppp jjj ggg
45678 fff ddd sss
56789 nnn mmm ccc
sourcefile2.dat:
Code:
12345.gif
34567.gif
I want to obtain a simple awk one linger to obtain the following:
Code:
xxx yyy zzz 12345.gif
qqq ttt rrr none.gif
ppp jjj ggg 34567.gif
fff ddd sss none.gif
nnn mmm ccc none.gif