Linux Comandos

Páginas: 17 (4031 palabras) Publicado: 24 de octubre de 2012
Linux Commands Line ­ v1.0 
cmd line | command line | commands linux 
The most complete and updated list of commands on linux by LinuxGuide.it ­ over 350 commands!  COMMAND System information arch uname ­r dmidecode ­q hdaparm ­i /dev/hda hdparm ­tT /dev/sda cat /proc/cpuinfo cat /proc/interrupts cat /proc/meminfo cat /proc/swaps cat /proc/version cat /proc/net/dev cat /proc/mountslspci ­tv lsusb ­tv date cal 2007 date 041217002007.00  clock ­w show architecture of machine show used kernel version show hardware system components ­ (SMBIOS / DMI) displays the characteristics of a hard­disk perform test reading on a hard­disk show information CPU info show interrupts verify memory use show file(s) swap show version of the kernel show network adpters and statistics show mounted file system(s) display PCI devices show USB devices show system date show the timetable of 2007 set date and time ­ MonthDayhoursMinutesYear.Secondi save changes on BIOS DESCRIPTION

Shutdown, Restart of a system and Logout  shutdown ­h now init 0  shutdown ­r hours:minutes & shutdown ­c shutdown ­r now reboot logout shutdown system planned shutdown of the systemcancel a planned shutdown of the system reboot leaving session

Files and Directory  cd /home cd .. cd ../.. cd cd ~utente cd ­ pwd ls ls ­F ls ­l ls ­a ls *[0­9]* lstree mkdir dir1 mkdir dir1 dir2 mkdir ­p /tmp/dir1/dir2 rm ­f file1 rmdir dir1  rm ­rf dir1 rm ­rf dir1 dir2 mv dir1 new_dir cp file1 file2 cp dir/* . cp ­a /tmp/dir1 . cp ­a dir1 dir2 ln ­s file1 lnk1  ln file1 lnk1 touch ­t 0712250000 fileditestenter to directory '/ home' go back one level go back two levels go to home directory go to home directory go to previous directory show the path of work directory view files of directory view files of directory show details of files and directory show hidden files show files and directory containing numbers show files and directories in a tree starting from root create a directory called 'dir1'create two directories simultaneously create a directory tree delete file called 'file1' delete directory called 'dir1' remove a directory called 'dir1' and contents recursively remove two directories and their contents recursively rename / move a file or directory  copying a file copy all files of a directory within the current work directory copy a directory within the current work directory copy a directorycreate a symbolic link to file or directory create a physical link to file or directory modify timestamp of a file or directory ­ (YYMMDDhhmm)

File search  find / ­name file1 find / ­user user1 find /home/user1 ­name *.bin find /usr/bin ­type f ­atime +100 find /usr/bin ­type f ­mtime ­10 search file and directory into root filesystem from '/' search files and directories belonging to 'user1'search files with '. bin' extension within directory '/  home/user1'  search bynary files are not used in the last 100 days search files created or changed within 10 days

find / ­name *.rpm ­exec chmod 755 {} ; find / ­name *.rpm ­xdev locate *.ps whereis halt which halt

search files with '.rpm' extension and modify permitssearch files with  '.rpm' extension ignoring removable partitions as cdrom, pen­drive, etc.…

find files with the '.ps' extension ­ first run 'updatedb' command show location of a binary file, source or man show full path to a binary / executable

Mounting a Filesystem  mount /dev/hda2 /mnt/hda2 umount /dev/hda2 fuser ­km /mnt/hda2 umount ­n /mnt/hda2 mount /dev/fd0 /mnt/floppy mount /dev/cdrom /mnt/cdrom mount /dev/hdc /mnt/cdrecordermount /dev/hdb /mnt/cdrecorder mount ­o loop file.iso /mnt/cdrom mount ­t vfat /dev/hda5 /mnt/hda5 mount /dev/sda1 /mnt/usbdisk mount ­t smbfs ­o username=user,password=pass  //winclient/share /mnt/share mount disk called hda2 ­ verify existence of the directory '/  mnt/hda2' unmount disk called hda2 ­ exit from mount point '/ mnt/hda2'  first force umount when the device is busy...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • comandos de linux.
  • Comandos en linux
  • Comandos Linux
  • Comandos linux
  • Comandos Linux
  • linux comandos
  • Comandos Linux
  • comandos linux

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS