Linux

Command Description
📁 Dosya ve Dizin İşlemleri
lslist files and directories
ls -ltlist all files and directories with more info, ordered by time
mkdirmake a directory
pwddisplay the path of the current directory
cdchange to home-directory
cd ~change to home-directory
cd ..change to parent directory
cd directorychange to named directory
cp file1 file2copy file1 and call it file2
mv file1 file2move or rename file1 to file2
rm fileremove a file
rmdir directoryremove a directory
📄 Dosya Görüntüleme ve Arama
cat filedisplay a file
more filedisplay a file a page at a time
head filedisplay the first few lines of a file
tail filedisplay the last few lines of a file
grep 'keyword' filesearch a file for keywords
wc filecount lines/words/characters in file
🔁 Yönlendirme ve Boru İşlemleri
command > fileredirect output to a file
command >> fileappend output to a file
command < fileredirect input from a file
command1 | command2pipe output of command1 to command2
cat file1 file2 > file0concatenate files to file0
sortsort data
🔤 Joker Karakterler (Wildcards)
*match any number of characters
?match one character
📚 Yardım ve Bilgi Alma
man commandmanual page for a command
whatis commandbrief description of a command
apropos keywordsearch man pages by keyword
⚙️ Çeşitli Komutlar ve Programlama
command &run command in background
gedit fileopen text editor
#!/bin/tcshset shell type at script start
# textcomment line
set variable=infodefine variable
chmod +x filemake file executable
chmod [options] filechange file permissions
🔎 awk ile Veri İşleme
awk options program variables filerun awk on file
pattern { action }basic awk program
/text/match lines with text
print textprint output in awk
NRline number variable in awk
$numbercolumn reference in awk
;command separator in awk
sin(angle), cos(angle), atan2(y,x)math functions in awk
🖨️ GMT ve psxy ile Grafik Oluşturma
command >! fileoverwrite file with output
psxy filename(s) options > psfileX-Y plot to postscript
-J...psxy option: plot size
-R...psxy option: axis ranges
-B...psxy option: axis borders
-S...psxy option: symbol style
-Mpsxy: multiple line segments
pstext filename(s) options > psfileadd text to ps plot
-Kallow further plotting
-Ooverlay plots

No comments:

Post a Comment