Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 674
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 Linux Nasıl Kurulur, kull..
(4006 okuma, 0 yanıt)
 Bu Hata Ne anlama Geliyor..
(5970 okuma, 4 yanıt)
 Domain Yönlendirme..
(6436 okuma, 2 yanıt)
 appserv sorum var..
(8470 okuma, 7 yanıt)
 host + domain almak ıstıy..
(15510 okuma, 16 yanıt)
 Namenserver..
(5625 okuma, 2 yanıt)
 Bedava Radyo Hostu Buyrun..
(8046 okuma, 5 yanıt)
 Sayfa Görüntülenemiyor Ha..
(5534 okuma, 2 yanıt)
 linux server da asp çalış..
(10484 okuma, 7 yanıt)
 Upload sorunu..
(5198 okuma, 1 yanıt)
 Temel SSH Shell Komutları..
(9953 okuma, 6 yanıt)
 Dosya Sıkıştırma/Açma Yön..
(5995 okuma, 1 yanıt)
 En Hızlı Hosting Kimde?..
(32044 okuma, 30 yanıt)
 VPS (Sanal) Sunuc..
(8213 okuma, 5 yanıt)
 domainle hostu birleştirm..
(7861 okuma, 4 yanıt)
 Zend Optimizer Kurulumu..
(9927 okuma, 6 yanıt)
 msql yedek almak / yüklem..
(7378 okuma, 3 yanıt)
 Linux & Avantajları..
(4784 okuma, 0 yanıt)
 ftp şifresi..
(8615 okuma, 5 yanıt)
 Sunucuyu smpt ye dönüştür..
(5744 okuma, 1 yanıt)
 Linux Virtual Dedicaded S..
(13300 okuma, 11 yanıt)
 Sunucu kuracağım..
(7875 okuma, 4 yanıt)
 siteyi açtığımda bu yazı ..
(7130 okuma, 3 yanıt)
 mytop kurulumu..
(4459 okuma, 0 yanıt)
 Kök dizin izinleri nasıl ..
(5185 okuma, 1 yanıt)
 Rewrite mod nasıl kurarı..
(4463 okuma, 0 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Temel SSH Shell Komutları
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


Temel SSH Shell Komutları

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Linux Yönetimi
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
yenibir
Mesaj: 500+
Mesaj: 500+





Kayıt: Nov 08, 2005
Mesajlar: 757
Konum: Sivas

MesajTarih: 2007-08-17, 16:24:34    Mesaj konusu: Temel SSH Shell Komutları Alıntıyla Cevap Gönder

Sunucu / Vps Kiralamayı Düşünüyorsanız Bunları iyi Öğrenmelisiniz Rolling Eyes

ls Dizinde bulunan herşeyi listeler.
ls -a Gizli dosyalar ve dizinlerle beraber listeler.
ls -l Bütün dosyaları boyut ve tarihini göstererek listeler.


tar -zxpf Uzantısı tar.gz olan sıkıştırılmış dosyaları açar.
tar -xpf Uzantısı .tar olan dosyaları açar.
gunzip Uzantısı .gz olan dosları açar.
cp Dosyayı kopyalar.
mv Bir dosyayı başka bir dizine taşımanızı sağlar yada dosya adını değiştirir.
mkdir Yeni bir dizin oluşturmanızı sağlar.
rmdir Belirtilen dizini silmenizi sağlar.
rm Dosya silmenizi sağlar.
rm -rf Dizin silmenizi sağlar.
cd Belirtilen dizine geçmenizi sağlar.
cd .. Bir üst dizine geçmenizi sağlar.
cd ~ En üst dizine çıkmanızı sağlar.
pwd O anda bulunduğunuz dizini görüntüler.
pico Belirtilen dosyayı text editör ile düzenlemenizi sağlar.
ftp Belirtilen siteye FTP bağlantısı sağlar.
lynx Belirtilen siteyi görüntüler.
df Harddisk istatistiklerini gösterir.
quota Disk kullanımınızı gösterir.
uname İşletim sisteiminin durumunu gösterir.
whoami Kendi bilgilerinizi gösterir.
who Sunucuya bağlı olanları gösterir.
last Hesabınıza yapılan en son bağlantıyı gösterir.
whereis Belirtilen dosyanın nerede olduğunu gösterir.
BitchX IRC programını çalıştırır.
mail Postalarınızı kontrol eder.
ps -x Sizin çalıştırdığınız işlemleri gösterir.
ps -a Sunucuda çalıştırılan tüm işlemleri gösterir.
ps -ux Çalıştırılan işlemlerin CPU/RAM kullanımıyla gösterir.
kill Pid numarası verilen işlemi durdurur.
kill -9 Pid numarası verilen eggdrop işlemini durdurur.
killall Belirtilen program türündeki tüm işlemleri durdurur.
whatis Belirtilen komutun açıklamasını verir.
man Komut hakkında YARDIM görüntüler
passwd Shell hesabınıza girerken kullandığınız şifreyi değiştirmenizi sağlar.
vhosts yada vhost Sistemde bulunan vhostları (virtual host) listeler.(BNC için kullanabilirsiniz)
ROOTMAKİNADAN İP ÖĞRENME: ip addr
ROOTTA HESAP AÇMAK : adduser login & chown mavigok /home/login & passwd pass1 , passwd pass2
reboot: Sunucuya restart atar
service mysqld restart: mysql restart atar
service httpd restart: apache ye rest atar
service httpd stop : Sitelere ulaşımı kapatır
apf -d ipadresi : verilen ipe ban atar
service apf restart : apf ye restart atar
netstat -n : sunucuya baglanan ipleri gösterir
netstat -a sunucuya baglanan reseller ipleri gösterir(Proxy kullanmanız fark etmez her zaman gercek cıkış ipi görünür)
pico : ssh üzerinden text editor ile dosya içeriğini görme ve düzenlemeye yarar.
top : Sistem cpu kulalnımını gösterir.
uptime : Uptime Durumu

IP BAN

ip banlama
iptables -A INPUT -s 85.159.54.48 -j DROP
ip ban kaldırma
iptables -X INPUT -s 85.159.54.48 -j DROP

Servera dosya çekme
wget indirilecekdosyaadresi

Zip açma
unzip dosya.zip

tar.gz açma
tar -zxvf dosya.tar.gz

gzip açma
gunzip dosya.tar.gz

Dosya sıkıştırmak
tar cvzf dosyam.tar.gz sıkıştırılacak-dosya

Sql Yükleme
mysql -h dbname -u dbuser -p dbpasword < dbname.sql
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder MSN Messenger
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-03-28, 23:37:59    Mesaj konusu: Forum Arası Reklamlar


Başa dön
yenibir
Mesaj: 500+
Mesaj: 500+





Kayıt: Nov 08, 2005
Mesajlar: 757
Konum: Sivas

MesajTarih: 2007-08-17, 16:46:56    Mesaj konusu: Alıntıyla Cevap Gönder

ingilizce orjinal komutlar


ls Displays everything in the current directory


ls -a Displays all files, including hidden


ls -l Displays all files, along with the size and timestamp


tar -zxpf <file.tar.gz> Uncompresses tar.gz files


tar -xpf <file.tar.gz> Uncompresses .tar files


gunzip <file> Uncompresses .gz files


cp <file> Copies a file to a new file


mv <file> Moves a file to a new file, or rename


mkdir <dir> Creates a directory


rmdir <dir> Deletes a directory


rm <file> Deletes a file


rm -rf <dir> Deletes a directory


cd <dir> Moves to a directory


cd .. Moves to a lower directory


cd ~ Moves to your home directory


cd - Moves to the previous directory


pwd Displays the current directory


pico <file> Edits a file


ftp <site> Connect to a FTP server


lynx <site> View a webpage


df Displays the hard drive stats


quota Displays your quota


uptime Displays the uptime of the server


uname -a Displays the operating system stats


whoami Displays your info


who Displays others connected to the server


last Displays the last login


whereis <file> Tells where a file is located


BitchX IRC Client


mail Check your email


ps -x Displays processes your running


ps -a Displays all processes running


ps -ux Displays running processes, with CPU/Memory usage


kill <pid> Kills a process


kill -9 <pid> Kills an eggdrop process


killall <program> Kills all running process of the same type


whatis <command> Description of commands


man <command> Displays help on the command


nano Same as Pico


Top - gives an overall view of what is going on with the server including memory usage, server load and running processes "q" to exit top


sar -q gives a report of the process list, 1 minute and 5 minute average load every 10 minutes since midnight server time


tar -zcf filename.tar.gz file
Tars up the file or directory of your choice, replace filename.tar.gz with the name you want your tar file to have...with the tar.gz extension on the end and replace file with the file or directory you want to tar up. Can also use a path/to/file for both.


updatedb - Updates the locate/search DB

netstat -n -p
Useful to see who is connected to your server, this also resolves hostnames to IP addresses and the -p switch shows you what each person connected is doing and provides a PID for it if there is one... useful if you need to kill something

find / -user username
Replace username with a username of one of your account to find all the files that belong to them. Also useful to add the |more switch so you can scroll one screen at a time. Ever have a client who seems to show a lot more files than are actually in their home directory? This is how you find those files and fix them. Common problem is cpmove files that don't get properly deleted and get added to a users account.

/scripts/pkgacct2 username
Replace username with a user on your system. This should be done from the home directory. Useful for manually backing up an account if whm copy account doesn't work. Then just move (mv) the file to a home directory accessible via the web and chown user.user filename and chmod to 750 or 755 and you can wget it from a different server if need be

/scripts/restorepkg username
Once you've got the file and need to unpack it you use this command. The file should be in the /home directory to use this though. Remember username not cpmove-username.tar.gz

netstat -n -p
Useful to see who is connected to your server, this also resolves hostnames to IP addresses and the -p switch shows you what each person connected is doing and provides a PID for it if there is one... useful if you need to kill something

/scripts/restorepkg username
Once you've got the file and need to unpack it you use this command. The file should be in the /home directory to use this though. Remember folks.... username.... not cpmove-username.tar.gz

--help
Such as tar --help, similar to man it digs up info on any given command.

tail -10 filename
gives you the last 10 lines of a file. Can change the # to whatever you want.

cp -R fileordirectory path/to/destination.
the -R allows you to copy an entire directory to somewhere else.

kill -9
not just for eggdrops... it's called a "hard kill" and handy for killing off any stubborn process that refuses to die.

tar -zcf filename.tar.gz file
Tars up the file or directory of your choice, replace filename.tar.gz with the name you want your tar file to have...with the tar.gz extension on the end and replace file with the file or directory you want to tar up. Can also use a path/to/file for both.



RESTART SERVICES: service (service name) restart

Stop a service: service (service name) stop

Start a service: service (service name) start

Status (doesn't work on all): service (service name) status

On a RedHat CPanel server, here are the useful services:

bandmin

chkservd

cpanel crond

exim

httpd

mysql

named

proftpd



/scripts/adddns Add a Dns Entry


/scripts/addfpmail Install Frontpage Mail Exts


/scripts/addservlets Add JavaServlets to an account (jsp plugin required)


/scripts/adduser Add a User


/scripts/admin Run WHM Lite


/scripts/apachelimits Add Rlimits (cpu and mem limits) to apache


/scripts/dnstransfer Resync with a master DNS Server


/scripts/editquota Edit A User's Quota


/scripts/finddev Search For Trojans in /dev


/scripts/findtrojans Locate Trojan Horses


/scripts/findtrojans < /var/log/trojans


/scripts/fixtrojans < /var/log/trojans


/scripts/fixcartwithsuexec Make Interchange work with suexec


/scripts/fixinterchange Fix Most Problems with Interchange


/scripts/fixtrojans Run on a trojans horse file created by findtrojans to remove them


/scripts/fixwebalizer Run this if a user's stats stop working


/scripts/fixvaliases Fix a broken valias file


/scripts/hdparamify Turn on DMA and 32bit IDE hard drive access (once per boot)


/scripts/initquotas Re-scan quotas. Usually fixes Disk space display problems


/scripts/initsuexec Turn on SUEXEC (probably a bad idea)


/scripts/installzendopt Fetch + Install Zend Optimizer


/scripts/ipusage Display Ipusage Report


/scripts/killacct Terminate an Account


/scripts/killbadrpms Delete \"Security Problem Infested RPMS\"


/scripts/mailperm Fix Various Mail Permission Problems


/scripts/mailtroubleshoot Attempt to Troubleshoot a Mail Problem


/scripts/mysqlpasswd Change a Mysql Password


/scripts/quicksecure Kill Potential Security Problem Services


/scripts/rebuildippool Rebuild Ip Address Pool


/scripts/remdefssl Delete Nasty SSL entry in apache default httpd.conf


/scripts/restartsrv Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)


/scripts/rpmup Syncup Security Updates from RedHat/Mandrake


/scripts/runlogsnow Force a webalizer/analog update


/scripts/secureit Remove non-important suid binaries


/scripts/setupfp4 Install Frontpage 4+ on an account


/scripts/simpleps Return a Simple process list. Useful for finding where cgi scripts are running from


/scripts/suspendacct Suspend an account


/scripts/sysup Syncup Cpanel RPM Updates


/scripts/ulimitnamed RH 6 only. Install a version of bind to handle many many zones


/scripts/unblockip Unblock an IP


/scripts/unsuspendacct UnSuspend an account


/scripts/upcp Update Cpanel


/scripts/updatenow Update /scripts


/scripts/wwwacct Create a New Account



CRON INFO:
Root crontab: crontab -e

To edit a users cron jobs: crontab -u username -e Replace username with the actual username of the client you want to edit.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder MSN Messenger
polibo06
Site Yöneticisi
Site Yöneticisi





Kayıt: Nov 01, 2006
Mesajlar: 2412
Konum: izmirimi özledim

MesajTarih: 2007-08-17, 17:38:55    Mesaj konusu: Alıntıyla Cevap Gönder

bir gün önce paylaşsaydın daha güzel olacaktı..Very Happy

teşekürler çok güzel bir paylaşım en ksıa sürede ssh inceleyecem.2 gündür karşıma çıkıyor merak ettim.başlama noktasıda senin mesajların olacak
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
mutluedin
Mesaj: 200+
Mesaj: 200+





Kayıt: Aug 31, 2003
Mesajlar: 234
Konum: Kırklareli

MesajTarih: 2008-01-16, 13:14:41    Mesaj konusu: Alıntıyla Cevap Gönder

Merhabalar,

ben VPS satın aldım ama neler yapmam gerekiyor. hangi programnları kullanmam gerekiyor bilmiyorum. Bu konuda bilgi alabilir miyim.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et
yenibir
Mesaj: 500+
Mesaj: 500+





Kayıt: Nov 08, 2005
Mesajlar: 757
Konum: Sivas

MesajTarih: 2008-01-17, 14:34:05    Mesaj konusu: Alıntıyla Cevap Gönder

vps ile masa üstü bağlantı kurmak için winscp isimli ftp benzeri programı kullanabilirsin

ssh telnet üzeri bağlanmak için putty programını kullanmalısın
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder MSN Messenger
Sercan
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Jan 07, 2006
Mesajlar: 1719
Konum: İstanbuL //

MesajTarih: 2008-03-09, 00:48:15    Mesaj konusu: Alıntıyla Cevap Gönder

gerçekten çok yararlı bir paylaşım.
reboot sunucuya restart atar fakat mysql durduysa bir işe yaramaz service mysqld restart ile mysql restartı atabilirsiniz.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
yenibir
Mesaj: 500+
Mesaj: 500+





Kayıt: Nov 08, 2005
Mesajlar: 757
Konum: Sivas

MesajTarih: 2008-03-09, 16:46:39    Mesaj konusu: Alıntıyla Cevap Gönder

reboot her şeyin ilacıdır :p

ama sık reboot ile makinayı çökertebilirsiniz

elinizden geldiğince 2-3 aydan ve gece 2-3 den önce reboot yapmayın
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder MSN Messenger
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Linux Yönetimi Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
Bu forumda yeni başlıklar açamazsınız
Bu forumdaki başlıklara cevap veremezsiniz
Bu forumdaki mesajlarınızı değiştiremezsiniz
Bu forumdaki mesajlarınızı silemezsiniz
Bu forumdaki anketlerde oy kullanamazsınız

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok includes klasörüne shell basıyorlar asilimy Php Nuke Güvenlik 28 2008-05-15, 22:21:47 Son Mesajı Görüntüle
Yeni mesaj yok Wget Kullanımı (Wget Komutları&#41; Veli Linux Genel 0 2007-01-02, 21:58:22 Son Mesajı Görüntüle
Yeni mesaj yok [Code] [/code] Komutları.. KartaLL Php-Nuke 7 2006-08-31, 14:46:47 Son Mesajı Görüntüle
Yeni mesaj yok php shell nedir?bilginize ihtiyacım var ERENDURANLI Php Nuke Güvenlik 13 2006-05-29, 19:03:56 Son Mesajı Görüntüle
Yeni mesaj yok bir shell sitesi themesi arıyorum thedevilanubis Php-Nuke 7 2005-06-27, 17:44:43 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright