Melihat calender menggunakan terminal
#1
Siang yang begitu panas, itu yang aku rasakan saat ini di sebuah ruang persegi yang kusebut sebagai kamar. Meskipun panas masih menyengat, namun aku masih setia menjelajah cyber world dengan backtrack kesayanganku ini.
Kali ini aku ingin menulis sebuah tips sederhana yaitu "Melihat Kalender di Terminal"
Kalian cuma membutuhkan perintah "cal" berikut contohnya:

root@bt:~# cal

maka hasilnya adalah:

November 2011
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30

Untuk melihat seluruh bulan, cukup menambahkan tahun setelah perintah "cal" seperti ini contohnya:

root@bt:~# cal 2011

Untuk bulan-bulan tertentu, cukup mengetik bulan di ikuti tahun

root@bt:~# cal November 2011

Selamat mencoba yah
Backtrack
Kisah tentang kita dan Linux

#2
thanks for share... Confused

#3
nice info
[shcode=This_site_xss-ed]

#4
wehhh.. manteb! Angry
perintah alternatifnya
Code:
ncal
bedanya kl ncal tampilan secara vertikal om. Big Grin

ane copy man page buat argument2nya

-3 Print the previous month, the current month, and the next month
all on one row.

-h Turns off highlighting of today.

-J Display Julian Calendar, if combined with the -e option, display date of Easter according to the Julian Calendar.

-e Display date of Easter (for western churches).

-j Display Julian days (days one-based, numbered from January 1).

-m month
Display the specified month. If month is specified as a decimal number, it may be followed by the letter ‘f’ or ‘p’ to indicate the following or preceding month of that number, respectively.

-o Display date of Orthodox Easter (Greek and Russian Orthodox Churches).

-p Print the country codes and switching days from Julian to Grego‐ rian Calendar as they are assumed by ncal. The country code as determined from the local environment is marked with an asterisk.

-s country_code
Assume the switch from Julian to Gregorian Calendar at the date associated with the country_code. If not specified, ncal tries to guess the switch date from the local environment or falls back to September 2, 1752. This was when Great Britain and her colonies switched to the Gregorian Calendar.

-w Print the number of the week below each week column.

-y Display a calendar for the specified year.

A single parameter specifies the year (1–9999) to be displayed; note the year must be fully specified: “cal 89” will not display a calendar for 1989. Two parameters denote the month and year; the month is either a number between 1 and 12, or a full or abbreviated name as specified by the current locale. Month and year default to those of the current system clock and time zone (so “cal -m 8” will display a calendar for the month of August in the current year).
Code:
"Tuhan tidak bermain dadu dalam menciptakan semesta"
||
- A. Einstein -

#5
mantaf om, nice info, walaupun dipojok bawah udah ada (KDE) Big Grin

tapi kalo lagi di terminal biar ga mainin mouse bisa langsung liat Smile

#6
Nice Info bro
BERMANFAAT!
root@nosetrave:~# ./plagiat.sh
English motherfucker, do you speak it ?
root@nosetrave:~#


#7
(11-04-2011, 10:16 PM)james0baster Wrote: mantaf om, nice info, walaupun dipojok bawah udah ada (KDE) Big Grin

tapi kalo lagi di terminal biar ga mainin mouse bisa langsung liat Smile

Di Gnome juga udah ada kok indikator kalendernya... tapi biar gimana pun linux kan tidak bisa lepas dari terminal. tapi udah ada tuh gnome terbaru yang versi 3.2.1, kayaknya udah mau bersaing dengan KDE tuh
Backtrack
Kisah tentang kita dan Linux

#8
mantafff bro .. memang bermanfaat .. bisa liat tanggal berapa walau belum masuk ke desktop hhihihihi

#9
(11-05-2011, 12:41 PM)Liyan Oz Wrote: Linux command system info ya,,

nambahin command2 dikit untuk system info

# date > check tanggal
# uptime > uptime PC kita
# df > nampilin disk kita
# du > disk usage kita
# cat /proc/cpuinfo > info CPU kita
# cat /proc/meminfo > info memory kita
# w > user aktif


masih banyak lagi,,, bisa jajal sendiri aja Big Grin

mantab neh. jajal dulu ya om.
makasih udah share di mari SmileSmile

Code:
"Tuhan tidak bermain dadu dalam menciptakan semesta"
||
- A. Einstein -

#10
ane mao nambahin bro. untuk ngelihat versi distro yang digunakan.
cat /etc/lsb-release
atau
lsb_release -a






Users browsing this thread: 1 Guest(s)