610 IT Telegram . ?

4

, , , .. .


, Linux Windows . , ( /), , . , . :

  • /home/user1/tmp/test.sh - ;
  • ~/tmp/file1 - ;

, .


, , , :

  1. cd - , , cd /root;
  2. pwd - , ;
  3. ls - (, ) lax, ( );
  4. cat - , cat /root/file.txt;
  5. tail - , tail /root/file.txt, , ;
  6. cp - , cp /root/file.txt /etc/folder1/file.txt /root
  7. mkdir - , , mkdir /root/1;
  8. rmdir - , , ;
  9. rm -rf - ( ), ;
  10. mv - , ;
  11. locate - ;
, tail
# tail install.log
Installing dosfstools-3.0.9-4.el6.i686
Installing rfkill-0.3-4.el6.i686
Installing rdate-1.4-16.el6.i686
Installing bridge-utils-1.2-10.el6.i686
Installing eject-2.1.5-17.el6.i686
Installing b43-fwcutter-012-2.2.el6.i686
Installing latrace-0.5.9-2.el6.i686
Installing trace-cmd-2.2.4-3.el6.i686
Installing crash-trace-command-1.0-5.el6.i686
*** FINISHED INSTALLING PACKAGES ***

, tail 11 .


.tar , , :)

  • tar cf example.tar /home/example.txt - .tar , example.txt;
  • tar cjf example1.tar.codez2 /home/example1.txt - , Bzip2;
  • tar czf example2.tar.gz /home/example2.txt - , Gzip;
  • tar xf example.tar - , , (.codez2 .gz );

.rpm

FreePBX, c entOS, c RPM . ? CentOS RPM-based Linux Distribution :) - .

  • rpm -qa - RPM ;
  • rpm i rpmpackage.rpm - rpmpackage;
  • rpm e rpmpackage - ;
  • dpkg -i *.rpm - ;

fdisk l , . ( OTRS - )

umask 0077 
    Linux

?


: