Академический Документы
Профессиональный Документы
Культура Документы
Komut : shutdown
Parametreleri :
Önerilen Kullanım :
Komut : pwd
Önerilen Kullanım : pwd
Ornek Çıktı : root@ws:~# pwd
/root
Dosyaları Görüntüleme
Komut : ls parametre dosya/dizin
Parametreleri :
Önerilen Kullanım:
ls –la
ls –Sa
root@ws:/# cd /home
root@ws:/home# mkdir deneme
root@ws:/home# ls -la
Dosya Kopyalama
Komut : cp parametre kaynak hedef
Parametre leri :
cp –R /home/serkan /home/deneme
/home/serkan dizinini /home/deneme dizinine olduğu gibi
kopyala.
cp /home/serkan/index.html .
/home/serkan/ içindeki index.html dosyasını bulunduğum yere
kopyala
cp index.html index.asp
Bulunduğum yerdeki index.html dosyasını yine bulunduğum
yere index.asp isiminde kopyala
Dosya Taşıma
mv /home/serkan/index.html /home/deneme
2002 Ada-Net İnternet Hizmetleri Bülten sok. 4/7
4 Kavaklidere / Ankara
Tel: 312-467 58 59 / 212-212 18 20
Lınux –
4
mantık cp komutuyla aynıdır.Tek farkı ilgili dosyayı olduğu gibi
olduğu yerden belirtilen yere taşımasıdır.Örnek olarak windows daki
cut-paste işlevini yerine getirir..
Parametreler :
Önerilen Kullanım :
rm /home/serkan/index.html
/home/serkan dizinindeki idex.html dosyasını siler
rm –rf /home/deneme
home dzinideki deneme dizinini siler.
locate named.conf
find . name “index.html” –print
find . name “serkan*” –print
Komut : adduser
Örnek Kullanım :
root@ws:/# adduser
Login name for new user []: deneme
User id for deneme [ defaults to next available]:
Initial group for deneme [users]:
Additional groups for deneme (seperated
with commas, no spaces) []:
deneme's home directory [/home/deneme]:
deneme's shell [/bin/bash]:
deneme's account expiry date (YYYY-MM-DD) []:
This is it... if you want to bail out, hit Control-C. Otherwise, press
ENTER to go ahead and make the account.
Full Name []: Bu bir deneme hesabidir
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Changing password for deneme
Enter the new password (minimum of 5, maximum of 127
characters)
Please use a combination of upper and lower case letters and
numbers.
New password:****
Re-enter new password:****
Password changed.
Done...
Örnek Kullanım :
passwd deneme
Changing password for deneme
Enter the new password (minimum of 5, maximum of 127
characters)
Please use a combination of upper and lower case letters and
numbers.
New password:****
Re-enter new password:****
Parametre :
-r Kullanıcının home dininide siler.
Örnek Kullanım :
Userdel –r deneme
Örnek Kullanım :
Joe isimli linux programı dos daki edit veya windows daki
notepad programına benzemektedir. Linux deki bir çok ayar dosyası
text formatında olup bu dosyaların değiştirilmesi ve düzenlenmesi
ihtiyacı olduğu zaman bu tür bir editörün kullanımının gereği ortaya
çıkmaktadır. Alternatif olarak pico isimli programda kullanılabilir.
Kullanım açısından joe pico ya göre daha kolay ve işlevseldir. Burda
çok temel kullanımlarının tuş kombinasyonları anlatılacaktır.
Örnek :
Joe deneme.txt
Bunun için ;
Cd /home/serkan
Joe .forward
İlk satıra serkan@hotmail.com yazılıp kayıtedilip çıkılır.
Hepsi bu kadar...
Aliases Kullanımı
Bunun için;
cd /etc/mail
Joe aliases
İlgili satır ve yaratılır.
idari: serkan, doktor
kayıt edilip çıkılır
newaliases komutu verilir.
apachectl restart
komutunu deneyebilirsiniz.
root@ws:/etc/mail# apachectl restart
/usr/sbin/apachectl restart: httpd restarted