Please add
"Latest Stable Release URL (1.6.x) - http://releases.liferay.com/tools/ide/latest/stable/"
to the addons"
"Latest Stable Release URL (1.6.x) - http://releases.liferay.com/tools/ide/latest/stable/"
to the addons"
find . -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "
%T@ gives you the modification time like a unix timestamp,
sort -n sorts numerically,
tail -1 takes the last line (highest timestamp),
cut -f2 -d" " cuts away the first field (the timestamp) from the output.
grep -v '^#' samba.conf
here -v is for inverse
ie -v, --invert-match
Invert the sense of matching, to select non-matching lines.
Will print all lines EXCEPT those that begin with a # char.
you can change the comment char to whatever you wish.
egrep -v '^(;|#|//)' filelist
If you have more than one comment char , use the above command
In regex,^indicates the beginning of a line, and$the end of a line,
So ^$ specifies lines where the start of line character and the end of line character are right next to each other.
java -jar /opt/alfresco/bin/alfresco-mmt.jar install /home/urname/Downloads/ABR/alfresco-business-reporting-explorer-0.8.0.1.amp /opt/alfresco/tomcat/webapps/share.war -verbose
(b) copy the the jar file ie "alfresco-business-reporting-share-0.8.0.1.jar" to
/opt/alfresco/tomcat/shared/lib/
(c) create DB as given instruction in
/>
tar czf - www.example.com/ | ssh joebloggs@otherserver.com tar xzf - -C ~/
iptables -A INPUT -i eth0 -p tcp --destination-port 3306 -j ACCEPT
# The above line accept connection to port 3306
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 -t = table -A = Appending PREROUTING:- Is the chain which is responsible for packets that just arrived at the network interface
So far no routing decision has taken place, therefore it is not yet
known whether the packet would be interpreted locally or whether it
would be forwarded to another machine located at another network
interface. After the packet has passed the PREROUTING chain the routing
decision is made.-p = protocol--dport = destination port -j = -j, --jump target
This specifies the target of the rule; i.e., what to do if the packet matches it. The target can be a user-defined chain (other than the one this rule is in).--to-port--to-ports port[-port]
This specifies a destination port or range of ports to use: without this, the destination port is never altered. This is only valid if the rule also specifies -p tcp or -p udp.
Test it by iptables -t nat -L
to check which port is usednetstat -ntl
Note:-The chains PREROUTING und POSTROUTING are the most important ones. As the name implies, the PREROUTING chain is responsible for packets that just arrived at the network interface. So far no routing decision has taken place, therefore it is not yet known whether the packet would be interpreted locally or whether it would be forwarded to another machine located at another network interface. After the packet has passed the PREROUTING chain the routing decision is made/usr/bin/synergys -c /etc/synergy.conf -l /synergyS.log -f
-f will allow you to see real time what is going on, the log file can be your permanent reference.