Display list of all open ports on linux
[root@hc168 ~]# netstat -tulpn
outputActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 27158/mysqld tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN ...
Linux Find/Estimate file space usage:
#du -h
output
55M ./sinasohu6qqread/pcdog/www.pcdog.com/ArtImage/20060928
26M ./sinasohu6qqread/pcdog/www.pcdog.com/ArtImage/20050911
3.3M ./sinasohu6qqread/pcdog/www.pcdog.com/ArtImage/20060828
19M ./sinasohu6qqread/pcdog/www.pcdog.com/ArtImage/20050906
42M ./sinasohu6qqread/pcdog/www.pcdog.com/ArtImage/20050919
30M ./sinasohu6qqread/pcdog/www.pcdog.com/ArtImage/20051127
9.2M ...
Find out current Language:
set | egrep '^(LANG|LC_)'
output
LANG=zh_CN.UTF-8
Most of the hardware information can be extracted from /proc file system, for example display CPU and Memory information, enter: cat /proc/meminfo cat /proc/cpuinfo
[root@HCMRTG_BY_YaoBin ~]# cat /proc/meminfo
MemTotal: 3500784 kB
MemFree: 127428 kB
Buffers: 68472 kB
Cached: 3065788 kB
SwapCached: 0 kB
Active: 762384 kB
Inactive: 2547700 kB
HighTotal: 2621232 kB
HighFree: 5368...
First:
Go to the root fold Of Joomla >> languages >>en-GB/ en-GB.mod_footer.ini || modify it there.
FOOTER=Footer FOOTER_LINE1=Copyright © %date% %sitename%. All Rights Reserved. FOOTER_LINE2=Joomla! is Free Software released under the GNU/GPL License. MOD_FOOTER=mod_footer THIS MODULE SHOWS THE joomla! COPYRIGHT INFORMATION=This Module shows the Joomla! Copyright information
Second:
Go to yourtemplate/index.php >> bottom of page || change it there.
Joomla!. XHTML CSS
joomla...
1. Click Start – RUN and type “regedit” and press enter.
2. Navigate to the following Registry Key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\
HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Tcpip \Parameters \Interfaces \
In the right-panel, create a new DWORD named “MTU” with the value (say 1350 in decimal)
NOTE: To create a new DWORD, right-click, select New and select “DWORD Value” and enter...
To perform batch conversion or call conversion procedure from an automation script you can use console version of MSSQL-to- MySQL called M2SAGENT.EXE. Find this file in MSSQL-to-MySQL installation folder. You can either run this tool directly from command line or call it from any script as well. The program supports the following command-line options: --as_dbo connect as database owner --dest=......
Accessing http://localhost/, you should get a page that lists all PHP variables and information. Please note that FastCGI doesn't work on Windows at this time. Good luck!PHP IN FAST CGI MODEDownload the complete WLAMP package or the latest LightTPD build for Win32 from from http://wlmp.dtech.hu/down_lighty.php?lang=en If you choose the later you must get the latest PHP package from http://www.php.net/downloads.php Unpack the distribution so you have a directory structure similar...
$ lsmod $ less /proc/modules
[root@HCMRTG]# lsmod
output
Module Size Used by
hfsplus 75973 0
ip_conntrack_netbios_ns 6977 0
ipt_REJECT 9537 1
xt_state 6209 3
ip_conntrack 53025 2 ip_conntrack_netbios_ns,xt_state
nfnetlink 10713 1 ip_conntrack
xt_tcpudp 7105 5
iptable_filter 7105...
Display information about ide-cd module
$ /sbin/modinfo ide-cd
Output
[root@HCMRTG]# less /proc/moduleshfsplus 75973 0 - Live 0xf8a98000ip_conntrack_netbios_ns 6977 0 - Live 0xf89b1000ipt_REJECT 9537 1 - Live 0xf8a67000xt_state 6209 3 - Live 0xf89b4000ip_conntrack 53025 2 ip_conntrack_netbios_ns,xt_state, Live 0xf8a74000nfnetlink 10713 1 ip_conntrack, Live 0xf8a5f000xt_tcpudp 7105 5 - Live 0xf887c000iptable_filter 7105 1 - Live 0xf8848000ip_tables 17029 1 iptable_filter, Live...
|