14 Aug, 2010
Linux timezone name command line
Articles related to linux timezone name command line
http://digitalpbk.blogspot.com/2009/05/crontab-server-timezone-php-date.html
to set the
Timezone in the code written.date_default_
timezone_set(Timezone)is the PHP function to set the
Timezone in PHP. This can take care of most of the
timezone anomalies that can occur in your script when using PHP's Date Function.
Timezone is a string, for example for Indian Standard Time it is "Asia/Calcutta", for LA it is "America/Los_Angeles" etc. Checkout PHP
Timezone list for a complete list of
timezones.ShellIn a shell the date
command gives you the localtime ...
Published 2 years, 8 months ago
http://digitalpbk.com/windows/linux-style-command-line-quick-edit-right-click-paste
Linux style
command line for Windows, Drag to Select, Right click to paste
Ever wondered if you could want more out of the windows
command line ?
Usually on windows
command line in order to select a piece of text, you have to right click the
command line title and select mark and then mark the piece of text selected and press enter. And to paste we have to right click on the title and in the Edit menu select paste, which is a painful way of doing it.
On
linux on the other hand,
command line ...
Published 1 year, 11 months ago
http://digitalpbk.com/projects/imtools-linux-command-line-tool-convert-images-one-format-another-jpeg-bmp-png
IMTools -
Linux command line tool convert images from one format to another
This is a tool, I wrote for my Main Project a while back so I thought of putting it up here. The suite imtool was written to convert JPEG file to a RAW format for use with FPGA.
The imtool utility can do much more than just JPEG to RAW, it can handle the following file format changes.
JPEG to RAW, BMPBMP to RAW,JPEGPNG to RAW,BMP,JPG
It can also render an image preview to a window using OpenGL.
OS:
Linux
Linux ...
Published 2 years, 2 months ago
http://digitalpbk.blogspot.com/2006/11/openingclosing-of-cd-drive-from-vb.html
open", strReturn, 127, 0)End SubPublic Sub CloseCDDrive() 'Call me to close the CD Drive Call mciSendString("set CDAudio door closed", strReturn, 127, 0)End SubmciSendString is an alias of function mciSendStringA in winmm.dllI guess the code speaks for itself. (Tested on XP, VB6).Related: In
Linux, from the
command line:To open the drive:eject Drive
NameHereTo close the drive:eject -t Drive
NameHereIf your not sure what the drive
name is, just look in /etc/fstab:cat /etc/fstabIn my ...
Published 5 years, 2 months ago
http://digitalpbk.blogspot.com/2006/11/why-cant-folder-be-named-con-or-lpt1-in.html
in a directory.FIND Searches for a text string in a file or files...Let us look more closely to the COPY
command. The COPY
command usage is as follows:COPY [options] [options] In DOS everything is considered as files, even keyboard and printers. The filename for keyboard is given as "CON" and the printer
names are given as "LPT1", "LPT2" etc.. So inorder to copy something from keyboard (our input) the following
command is used.G:\>COPY CON mydata.txtThese
lines come ...
Published 5 years, 2 months ago
http://digitalpbk.blogspot.com/2007/03/auto-mounting-file-systems-in-linux.html
Auto mounting File Systems in
Linux
Some
Linux Distros (like Fedora Core 6 FC6) do not automatically mount the local file systems such as FAT/FAT32 systems that belong to the windows drive. To mount and unmount file systems you must be logged on as a root user or must have root privilegesMounting ManuallyFirst change to root@localhost ~]$ suPassword: Passwordroot@localhost ]# mount -t Filesystem Device DirectoryMounting the file system manually is done by the mount
command.Filesystem is vfat ...
Published 4 years, 10 months ago
http://digitalpbk.com/google-go/installing-google-go-linux-ubuntu
://go.googlecode.com/hg/ $GOROOT
cd $GOROOT/src
./all.bash
Installing Google Go in Steps
The following packages are required for installing Google Go : bison, make, gcc, libc6-dev, ed, mercurial. To install run the
command
sudo apt-get install bison make gcc libc6-dev ed mercurial
Edit the .bashrc file to set up the environment variables, .bashrc file resides in your home folder (/home/username/). Add the following
lines if you are using ubuntu x86 (or unsure)
export GOROOT=$HOME/go
export GOARCH=386
export GOOS=
linux ...
Published 2 years, 2 months ago
http://digitalpbk.blogspot.com/2009/03/reset-root-password-linux-fedora-debian.html
.Edit Choose the OS you want to boot into and press "e" to edit.Edit Find the
line that corresponds to kernel, and again press "e". Add the following
line to the end of the
line. single init=/bin/bashThen press enter, and then "b" to boot the OS. After booting you will get a root shell.Mounting the filesystem in readwrite mode: Type in the following
command to remount the filesystem in read write mode.mount -o remount,rw / Not doing this step might give the following error ...
Published 2 years, 11 months ago
http://digitalpbk.com/cygwin/how-clear-screen-cls-command-not-found
Cygwin: Clear screen
command, How to clear the screen ?
Some one may be wondering where is the clear
command on cygwin. If we type either cls or clear we would be shown bash: clear:
command not found. So there are many fancy ways to clear the
command line prompt, but the one I liked the best is
Ctrl + L
Simple, just press Control + L on the keyboard and your
command line prompt cleans up.
:)
Cygwin
Software ...
Published 1 year, 10 months ago
http://digitalpbk.blogspot.com/2008/02/amvoexe-virus-usb-memory-stick.html
\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL CheckedValue 1HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL DefaultValue 1HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun 0x00000091 (145)-- OR --Reboot into a different OS and do the followingStep 3From all the drives delete the autorun.inf using
command line (if on windows) or from a
linux OS. Do not open the drive from the explorer as it would spread the virus again to this OS. If you have
linux ...
Published 4 years ago
Related help topics for linux timezone name command line
More keywords like linux timezone name command line
More pages for linux timezone name command line