ssh user@host
Connect to host as user
ssh -p 1234 user@host
Connect to host on port 1234 as user
ssh-copy-id user@hostA
dd your key to host for user to enable a keyed or passwordless login
ssh user@host
Connect to host as user
ssh -p 1234 user@host
Connect to host on port 1234 as user
ssh-copy-id user@hostA
dd your key to host for user to enable a keyed or passwordless login
chmod XXX file
4 – read (r)
2 – write (w)
1 – execute (x)
Examples:
chmod 777 – read, write, execute for all
chmod 755 – rwx for owner, rx for group and world
df -k | tail -n +2
Output the second line to end content of df -k.
df -k | sed /^[^/].*/d
Regular expression remove the Not / start lines.
According to SEO(Search Engine Optimization),that google do not recognize underscores as spaces between words. They do however, recognize dashes to separate words and tag keyword phrases.
So we need this .htaccess file.
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^tag/(.*)_(.*)$ http://www.yoursite.com/tag/$1-$2 [R=301,L]
RewriteRule ^tag/(.*)_(.*)$ http://yoursite.com/tag/$1-$2 [R=301,L]
The default wordpress widgets - Recent Posts will only show at most 15 item.But I want show more!
FTP and find the wp-includes/widgets.php.Download and edit it.
Change the
Install and Configure likewise-open
sudo apt-get update
sudo apt-get install likewise-open
sudo domainjoin-cli join fqdn.of.your.domain Administrator
sudo update-rc.d likewise-open defaults
sudo /etc/init.d/likewise-open start
After that is done, you can log out, then log back in with your domain\username account (You have to add the domain\ first).
You can use this cdrdao to duplicate Audio CD.
You can press Ctrl+L to show Nautilus Location entry.If you want nautilus always show location bar.Just open a Terminal and type
gconf-editor
Find the /apps/nautilus/preferences/always_use_location_entry,change value to True.