Showing posts with label LINUX. Show all posts
Showing posts with label LINUX. Show all posts

Tuesday, October 25, 2011

Set the Date and Time on Linux

date mmddhhmmyy

The date command takes the syntax mmddhhmmyy, or “month day hour minute year”. You have to be superuser to set the time.

Example:
# date 1201010106
Fri Dec 1 01:01:00 PST 2006

Monday, October 17, 2011

LINUX Command prompt

export EDITOR=vi

crontab -e

press Esc

pi mane u nk comment

gune arrow pi ke tmpt tu

pastu insert (#)

pastu press Esc

pastu :wq!

pastu enter

pastu check balik

crontab -l



kalau nak delete tekan (x)


untuk quit without save :q!

* P/s: Nota untuk aku

Thursday, August 18, 2011

LINUX Command

Kalau korang ni programmer/software developer/software engineer/system admin atau seangkatan dengan nya..
Korang mesti kena tau benda - benda ni..


1. command untuk create directory
mkdir -p


2. command untuk list directory content
ls -ltr


3. command untuk copy directory
cp -r /directory yg nak copy /directory untuk paste


4. command untuk delete directory
rm -rf /directory yg nak delete tu


Untuk selingan je..

p/s: nota untuk aku =D

Thursday, May 5, 2011

LINUX Server command

1. Command to check disk space
df -h
2. Command to check number of files
ls -1 targetdir | wc -l

Start ESB Weblogic

1. Login to kfhib09 as esbadmin
2. ./stop2
3. ./stop1
4. ./start1
5. ./start2
6. Login to "console"
7. Environment > Servers > Control > Make sure the server status is in "RUNNING" mode.

Related Posts Plugin for WordPress, Blogger...