|
Anyone here knows Unix commands ? ? ?? If you know any Unix commands do post here ok...  |
|
|
|
|
|
|
|
Try Google.com
 |
|
|
|
|
|
|
|
aku dah lama tinggal..
nak kena bukak buku balik nih... |
|
|
|
|
|
|
|
ls ................. show directory, in alphabetical order
logout ............. logs off system
mkdir .............. make a directory
rmdir .............. remove directory (rm -r to delete folders with files)
rm ................. remove files
cd ................. change current directory
man (command) ...... shows help on a specific command
talk (user) ........ pages user for chat - (user) is a email address
write (user) ....... write a user on the local system (control-c to end)
pico (filename) .... easy to use text editor to edit files
pine ............... easy to use mailer
more (file) ........ views a file, pausing every screenful
sz ................. send a file (to you) using zmodem
rz ................. recieve a file (to the unix system) using zmodem
telnet (host) ...... connect to another Internet site
ftp (host) ......... connects to a FTP site
archie (filename) .. search the Archie database for a file on a FTP site
irc ................ connect to Internet Relay Chat
lynx ............... a textual World Wide Web browser
gopher ............. a Gopher database browser
tin, trn ........... read Usenet newsgroups
passwd ............. change your password
chfn ............... change your "Real Name" as seen on finger
chsh ............... change the shell you log into
grep ............... search for a string in a file
tail ............... show the last few lines of a file
who ................ shows who is logged into the local system
w .................. shows who is logged on and what they're doing
finger (emailaddr).. shows more information about a user
df ................. shows disk space available on the system
du ................. shows how much disk space is being used up by folders
chmod .............. changes permissions on a file
bc ................. a simple calculator
make ............... compiles source code
gcc (file.c) ....... compiles C source into a file named 'a.out'
gzip ............... best compression for UNIX files
zip ................ zip for IBM files
tar ................ combines multiple files into one or vice-versa
lharc, lzh, lha .... un-arc'ers, may not be on your system
dos2unix (file) (new) - strips CR's out of dos text files
unix2dos (file) (new) - adds CR's to unix text files |
|
|
|
|
|
|
Tok_Janggut This user has been deleted
|
Originally posted by nuckletight at 5-3-2004 09:26 AM:
ls ................. show directory, in alphabetical order
logout ............. logs off system
mkdir .............. make a directory
rmdir .............. remove directory (rm -r to delete folde ...
Ko memang pakar software la , dari windows lepas tu unix....may be apple pun ko terrer, Tok respect la kat ko....satu hari Tok nak belajar ngan ko...leh |
|
|
|
|
|
|
|
cat - display test file
clear - clear the screen
cp - use to compare files
find - search files
fdisk - create/modify/delete partition table
gzip - compress or decompress file
less - display file contains
mount/umount - mount/unmount file system, useful to work with floppy, cdrom & other (DOS/WINDOWS) partition
who am i - about your self |
|
|
|
|
|
|
MaUi^ This user has been deleted
|
list command :
ls /sbin
ls /bin
ls /usr/sbin
ls /usr/bin
ls /usr/local/sbin
ls /usr/local/bin
dan mungkin di mana-mana lagi folder bin dan sbin
sbin = root command
bin = global command, (semua user + root)
nak detail pasal setiap command dalam dir tu, sila :
man nama_command_yang_anda_nak_tahu
tak tahu apa itu man?? sila taip man man dan terajang enter anda dengan jadi telunjuk. |
|
|
|
|
|
|
|
ok how about this... what is the command to shutdown a unix server ?? :stp: |
|
|
|
|
|
|
|
yg aku masih ingat
nslookup - cari/scan ip address
tar - sejenis file archive kegunaan tar -cvf utk create dan tar -xvf utnk extract
gzip - macam winzip
gunzip - macam winzip tapi guna utk decompreess
gcc - sejenis compiler
cc- sejenis compiler
chmod - tukar mode file ie chmod +r <nama file>
vi - text editor
who - tengok sape yg online pada sistem
chfn - changing finger name - tukau nama
rlogin - remote login
csh - shell csh
sh - shell sh
exit - exit shell
pine - sejenis email clients
pico - sejenis text editor
ln - create simbolik link
make - make Makefile
ps - check prosess
ape lagi hah?? luper ler...8 tahun tak pakai Unix |
|
|
|
|
|
|
|
Originally posted by rhoyo at Sat 06-Mar-2004 09:48:
ok how about this... what is the command to shutdown a unix server ?? :stp:
shutdown
halt
reboot
nak option
man shutdown
atau
man halt
atau
man reboot |
|
|
|
|
|
|
|
nah lagi command
chmod
chgrp
newgrp
chown
sed
awk
cut
join
split
echo
grep
tr
find
set
export
alias
compress
uncompress
unzip (zip tak pasti ade ke idak)
bzip2 (linux baru)
mail
ping
ifconfig |
|
|
|
|
|
|
|
aiseyman .. takleh kasi kredit kat diri sendiri 
err . .nak tahu apa guna command diatas .. ikut cakap maui pasal man tu yerr |
|
|
|
|
|
|
|
Originally posted by Tok_Janggut at 2004-3-5 09:44 AM:
Ko memang pakar software la , dari windows lepas tu unix....may be apple pun ko terrer, Tok respect la kat ko....satu hari Tok nak belajar ngan ko...leh
jgn ckp cenggituh..masih ader fault laie tuh.. thanks neway.. |
|
|
|
|
|
|
|
simple example how power unix command line can be ..
nak rename semua file html dari extension html ke htm
- for i in `find . -name "*.html"`
- do
- mv $i ${i%%l}
- done
Copy the Code
nak rectify semua file yang world writable kepada takleh write
- find . -type f -perm +2 -exec chmod o-w {} \;
Copy the Code
tu tak main ngan regex lagi .. |
|
|
|
|
|
|
|
ekekeke...
tak cukup lagi command kalu... beli jer la game command and conquer... ahahahah...  |
|
|
|
|
|
|
irwan This user has been deleted
|
Originally posted by rhoyo at 6-3-2004 15:48
ok how about this... what is the command to shutdown a unix server ?? :stp:
---Unix (dan juga Unix-like) tersangat general; sometimes setiap distro/flavour tak sama. Normally; shutdown -h now, halt, init 0 |
|
|
|
|
|
|
|
Byk sgt da command dia. Tak ambil kira lagi different Unix (Linux, Solaris, HP-UX, IBM AIX etc) pun ada certain command yg different. Tak campur lagi 'shell', lain shell(C shell, Bourne Shell, Korn Shell) lain pula kisahnya. Pergh meremang bulu roma kalau nak ingat semua sekali. |
|
|
|
|
|
|
|
Salam,
biasa guna
ls -lrt
df -h
uptime
free -m
ps ax
bmon
pppstatus |
|
|
|
|
|
|
| |
|