Archive for the 'Shell' category
Friday, August 27th, 2010
Setting your time zone In /etc the file, localtime, is a link to or copy of a
Posted in Shell | No Comments »
Friday, August 27th, 2010
ln -sf /usr/share/zoneinfo/GMT /etc/localtime Other way is to directly copy the proper timezone file and
Posted in Shell | No Comments »
Friday, August 27th, 2010
a@A:~> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save
Posted in Shell | No Comments »
Friday, August 27th, 2010
For example, set new data to 2 Oct 2006 18:00:00, type the following command as
Posted in Shell | No Comments »
Friday, August 27th, 2010
Example: ssh -tq server2 uptimme Now it should work!
Posted in Shell | No Comments »
Friday, August 27th, 2010
Logged in as root, check which timezone your machine is currently using by executing `date`.
Posted in Shell | No Comments »
Friday, August 27th, 2010
VPS Date issue: # vzctl stop <veid> # vzctl set <veid> –save –capability sys_time:on #
Posted in Shell | No Comments »
Friday, August 27th, 2010
Now ust add Cron jobs for: <?php date_default_timezone_set('GMT+2'); $DataFinala = system("date"); system("ssh
Posted in Shell | No Comments »
Saturday, July 4th, 2009
sh-3.2# diskutil list sh-3.2# diskutil unmountDisk /dev/disk2 sh-3.2# dd if=/Volumes/Stuff/Temp/ubuntu-9.04-netbook-remix-i386.img of=/dev/disk2 bs=1024 sh-3.2# diskutil eject
Posted in Shell | No Comments »
Tuesday, December 2nd, 2008
Look for a keyword in a file and point out the name of the file.
Posted in Shell | No Comments »