Terminal komande

Iz projekta Ubuntu-RS Wiki
Idi na: navigacija, pretraga
m
Linija 127: Linija 127:
 
  '''cp file1 file2''' => Copy file1 to file2 (15 cd command examples)  
 
  '''cp file1 file2''' => Copy file1 to file2 (15 cd command examples)  
  
''' cp -r dir1 dir2''' => Copy dir1 to dir2, create dir2 if it doesn’t exist  
+
''' cp -r dir1 dir2''' => Copy dir1 to dir2, create dir2 if it doesn’t exist  
  
 
  '''mv file1 file2''' => Move files from one place to another(with 10 examples)  
 
  '''mv file1 file2''' => Move files from one place to another(with 10 examples)  
Linija 155: Linija 155:
 
  '''ps''' # Display your currently active processes (many parameters to learn)  
 
  '''ps''' # Display your currently active processes (many parameters to learn)  
  
''' ps aux | grep 'telnet'''' # Find all process id related to telnet process  
+
''' ps aux | grep 'telnet'''' # Find all process id related to telnet process  
  
 
  '''pmap''' # Memory map of process (kernel,user memory etc)  
 
  '''pmap''' # Memory map of process (kernel,user memory etc)  
Linija 161: Linija 161:
 
  '''top''' # Display all running processes (30 examples)  
 
  '''top''' # Display all running processes (30 examples)  
  
''' kill pid''' # Kill process with mentioned pid id (types of signals)  
+
''' kill pid''' # Kill process with mentioned pid id (types of signals)  
  
 
  '''killall proc''' # Kill all processes named proc  
 
  '''killall proc''' # Kill all processes named proc  
Linija 192: Linija 192:
 
  '''ifconfig –a''' # Display all network ports and ip address (set mtu and other all options) -  
 
  '''ifconfig –a''' # Display all network ports and ip address (set mtu and other all options) -  
  
'''ifconfig –a''' # Display all network ports and ip address (set mtu and other all options)  
+
'''ifconfig –a''' # Display all network ports and ip address (set mtu and other all options)  
  
 
  '''ifconfig eth0''' # Display specific ethernet port ip address and details  
 
  '''ifconfig eth0''' # Display specific ethernet port ip address and details  
Linija 211: Linija 211:
 
  '''dig domain''' # Get DNS information for domain (screenshots with other available parameters)  
 
  '''dig domain''' # Get DNS information for domain (screenshots with other available parameters)  
  
''' dig -x host''' # Reverse lookup host $ host google.com # Lookup DNS ip address for the name (8 examples of host command)  
+
''' dig -x host''' # Reverse lookup host $ host google.com # Lookup DNS ip address for the name (8 examples of host command)  
  
 
  '''hostname –i''' # Lookup local ip address (set hostname too)  
 
  '''hostname –i''' # Lookup local ip address (set hostname too)  
Linija 249: Linija 249:
 
  '''scp -r nixsavy@server2:/www /www/tmp''' # Rekurzivno kopiranje svih fajlova i fascikli sa udaljenog računara na lokalni, u /www/tmp   
 
  '''scp -r nixsavy@server2:/www /www/tmp''' # Rekurzivno kopiranje svih fajlova i fascikli sa udaljenog računara na lokalni, u /www/tmp   
  
  '''rsync -a /home/apps /backup/''' # Synchronize source to destination
+
  '''rsync -a /home/apps /backup/''' # Sinhronizacija izvora sa odredištem
  
  '''rsync -avz /home/apps linoxide@192.168.10.1:/backup''' # Synchronize files/directories between the local and remote system with compression enabled
+
  '''rsync -avz /home/apps linoxide@192.168.10.1:/backup''' # Sinhronizacija fajlova/fascikli između lokalnog i udaljenog sistema, omogućena kompresija
  
  

Izmena od 27. mart 2014. u 19:56

Lični alati
Imenski prostori
Varijante
Akcije
Navigacija
alati
Linkovi