Recent Changes - Search:

edit SideBar


Firefox 2
Get Thunderbird!

Commands

Linux.Commands History

Hide minor edits - Show changes to markup

March 23, 2007, at 03:33 AM by 85.105.66.26
Changed lines 25-26 from:
  1. gem search zen --local (kurulu gemlerde arama yapar)
  2. gem search zen --remote (gems.rubyforge.org'da arar)
to:
  1. gem search aranacak_gem --local (kurulu gemlerde arama yapar)
  2. gem search aranacak_gem --remote (gems.rubyforge.org'da arar)
March 23, 2007, at 03:30 AM by 85.105.66.26
Changed line 20 from:
  1. gem install gem_adı
to:
  1. gem install gem_adi
March 23, 2007, at 03:29 AM by 85.105.66.26
Added lines 3-4:

Rails ve gem

Changed line 34 from:

svn komutları:

to:

svn komutları:

Added line 47:

ruby projesini devel_repo'dan �alışma dizinine indirmek i�in

Deleted lines 48-49:

ruby projesini devel_repo'dan �alışma dizinine indirmek i�in code[=

March 23, 2007, at 03:28 AM by 85.105.66.26
Changed line 4 from:

(:code)[=

to:

(:code:)[=

Changed line 9 from:

(:code)[=

to:

(:code:)[=

Changed line 17 from:

(:code)[=

to:

(:code:)[=

Changed line 22 from:

(:code)[=

to:

(:code:)[=

Changed line 28 from:

(:code)[=

to:

(:code:)[=

Changed line 34 from:

(:code)[=

to:

(:code:)[=

Changed line 39 from:

(:code)[=

to:

(:code:)[=

Changed line 45 from:

(:code)[=

to:

(:code:)[=

Changed line 47 from:

(:code)[=

to:

(:code:)[=

Changed line 53 from:

(:code)[=

to:

(:code:)[=

Changed line 62 from:

(:code)[=

to:

(:code:)[=

Changed line 68 from:

(:code)[=

to:

(:code:)[=

Changed line 74 from:

(:code)[=

to:

(:code:)[=

Changed line 80 from:

(:code)[=

to:

(:code:)[=

Changed line 85 from:

(:code)[=

to:

(:code:)[=

Changed line 90 from:

(:code)[=

to:

(:code:)[=

Changed line 95 from:

(:code)[=

to:

(:code:)[=

Changed line 100 from:

(:code)[=

to:

(:code:)[=

Changed line 105 from:

(:code)[=

to:

(:code:)[=

Changed line 111 from:

(:code)[=

to:

(:code:)[=

Changed line 117 from:

(:code)[=

to:

(:code:)[=

Changed line 122 from:

(:code)[=

to:

(:code:)[=

Changed line 127 from:

(:code)[=

to:

(:code:)[=

Changed line 135 from:

(:code)[=

to:

(:code:)[=

Changed line 143 from:

(:code)[=

to:

(:code:)[=

Changed line 149 from:

(:code)[=

to:

(:code:)[=

Changed line 154 from:

(:code)[=

to:

(:code:)[=

Changed line 159 from:

(:code)[=

to:

(:code:)[=

Changed line 164 from:

(:code)[=

to:

(:code:)[=

Changed line 169 from:

(:code)[=

to:

(:code:)[=

Changed line 174 from:

(:code)[=

to:

(:code:)[=

Changed line 179 from:

(:code)[=

to:

(:code:)[=

Changed line 184 from:

(:code)[=

to:

(:code:)[=

Changed line 191 from:

(:code)[=

to:

(:code:)[=

Changed line 196 from:

(:code)[=

to:

(:code:)[=

Changed line 202 from:

(:code)[=

to:

(:code:)[=

Changed line 207 from:

(:code)[=

to:

(:code:)[=

Changed line 212 from:

(:code)[=

to:

(:code:)[=

Changed line 217 from:

(:code)[=

to:

(:code:)[=

Changed line 222 from:

(:code)[=

to:

(:code:)[=

March 23, 2007, at 03:26 AM by 85.105.66.26
Added lines 1-232:

Linux Komutları (Linux commands)

rails ile proje oluşturulması (:code) # rails proje_adi

rails migrate (:code) # rake db:migrate # rake db:migrate VERSION=0 # rake db:migrate RAILS_ENV=production # rake db:migrate VERSION=0 RAILS_ENV=production

ruby gem'lerinin kurulumu: (:code) # gem install gem_adı

ruby gem arama (:code) # gem search zen --local (kurulu gemlerde arama yapar) # gem search zen --remote (gems.rubyforge.org'da arar)

mp3 split (:code) # mp3splt input.mp3 3.10 30.40 -o output.mp

svn komutları: yeni repository tanımlamak i�in: (:code) # svnadmin create /home/ozgun/Repositories/devel_repo

Bir projei devel_repo'ya y�klemek i�in:(Dosyalar trunk i�inde olacak) (:code) # mkdir ruby{trunk,branches,tags} # touch ruby/trunk/file1.rb # svn import ruby file:///home/ozgun/Repositories/devel_repo

(:code) ruby projesini devel_repo'dan �alışma dizinine indirmek i�in (:code)[= # cd /home/ozgun/Devel # svn checkout file:///home/ozgun/Repositories/devel_repo/trunk ruby

Yeni bir dosya eklemek i�in (:code) # cd /home/ozgun/Devel/ruby/workspace # touch file2.rb # svn add file2.rb # svn add file3.rb # svn commit -m "file2.rb ve file3.rb eklendi"

Dosya silmek (:code) # svn delete file3.rb # svn commit -m "file3.rb silindi"

Dosya'nın adını değiştirmek. (:code) # svn move file2.rb file2x.rb # svn commit -m "file2.rb'nin adi file2x.rb oldu"

Dosya kopyalamak (:code) # svn copy file1.rb file4.rb # svn commit -m "file1.rb dosyası file4.rb'ye kopyalandı."

Bir dosyanın logunu g�rmek. (:code) # svn log dosya.txt

Bir dosyanın belli bir revizyonunun g�rmek. (:code) # svn cat -r 1 dosya.txt

Binary dosyanın belli bir revizyonun g�rmek. (:code) # svn cat -r 1 dosya.png > /tmp/dosya.png

Aktif Internet bağlantılarını g�ster (:code) # lsof -Pni

Ses kaydetme(sound record) (:code) # ecasound -i:/dev/dsp -o:deneme.wav

MIME Conversion (:code) # uudeview dosya # xdeview ==> GUI

Kuyruktaki mesajlara ait dosya ve boyutlarını g�sterir.(qmail) (:code) # ls -RDlh /var/qmail/queue/mess |more # /root/bin/qmail_queue_list.sh |more

sistem y�k�n� terminal ekranındak grafiksel olarak g�sterir: (:code) # tload

Dosyalardan iso yapmak: (-R: rock ridge for long filenames; -J: microsoft requires joliet information) (:code) # mkisofs -RJ -o image.iso ./files

MBR'nin yedeklenmesi ve geri y�klenmesi (:code) # dd if=/dev/hdX of=/root/hdX.mbr bs=512 count=1 # dd if=/root/hdX.mbr of=/dev/hdX bs=512 count=1 # dd if=/dev/sdX of=/root/sdX.mbr bs=512 count=1 # dd if=/root/sdX.mbr of=/dev/sdX bs=512 count=1

mysqlcheck ile db ve tabloların kontrol edilmesi ve onarılması (:code) #mysqlcheck -uroot -p veritabani #mysqlcheck -uroot -p veritabani tablo_adi #mysqlcheck [OPTIONS] --all-databases #mysqlcheck -uroot -p -r veritabani

ISO dosyasının mount edilmesi: (:code) #mount -o loop -t iso9660 /dosya.iso /mnt/iso #mount -o loop /dosya.iso /mnt/iso

Default Gateway: (:code) # route add default gw xxx.xxx.xxx.xxx

Process tree: (:code) # pstree

Mount cdrom: (:code) # mount -t iso9660 /dev/cdrom /mnt/cdrom

Komut satırında for dongusu: (:code) # for i in *.tar.gz; do tar xzvf $i; done

Bir partition'u ext3 ile formatlamak: (:code) # mkfs -t ext3 /dev/hdbX

Live stream'lerin kaydedilmesi: (:code) # mplayer -noframedrop -dumpfile out.rm -dumpstream rtsp://url/to/file.rm

mms yayınlarinin kaydedilmesi: (:code) # mimms -o radyo1.mpeg mms://212.175.166.3/RADYO1

Rename: (:code) # rename 'y/A-Z/a-z/' * # rename 's/^AAA/aaa/' *.avi # rename 's/^.AAA/aaa/' .*

Genişliği 150 pixel olan thumb oluşturur. (:code) # convert input.jpg -scale 150 output.jpg : Genişliği 150 pixel olan thumb oluşturur.

Cdrom'u ayir (:code) # fuser -km /mnt/cdrom # fuser -k /dev/cdrom

clamd'nin 2,3,4 ve 5. başlangı� seviyelerinde �alışmasını sağlar. (:code) # update-rc.d clamd start 75 2 3 4 5 .

İki dizin arasındaki farkı g�sterir(GUI) (:code) # dirdiff dizin1 dizin2

Dosyadaki k���k hafrleri b�y�k harflere �evirir. (:code) # tr a-z A-Z < input.file > output.file

html'den pdf'e d�n�ş�m (:code) # htmldoc -t pdf --webpage -f file.pdf file.html

Find �rnekleri: (:code) # find . \( -name "*.c" -o -name "*.txt" \) -exec ln -s {} /tmp \; 2> /dev/null 1> /dev/null # find . -ctime +3 -exec rm '{}' \; # find . -ctime 3 -exec rm '{}' \; # find . -name "sess*" -exec rm '{}' \; # find . -size +777k -print # find . ( -name "*.jpg" -o -name "*.gif" ) -exec do_something_wih {} ; # find . -name "*.jpg" -exec convert -verbose -geometry 150x150 {} {} ; # find . -name "*.h" -exec grep NSDoWhatIMean {} ; -print # find . -type f -perm +06000 -print

Edit - History - Print - Recent Changes - Search
Page last modified on March 23, 2007, at 03:33 AM