| command Commands |
DESCRIPTION annotations |
| System Information |
| System Information |
| Arch |
Show architecture of Machine |
| Display the architecture of the host |
| Uname-r |
Show used kernel version |
| Show Kernel version information |
| Dmidecode-q |
Show hardware system Components-(SMBIOS/DMI) |
| Display hardware system Parts |
| Hdaparm-i/dev/hda |
Displays the characteristics of a hard-disk |
| Show a hard drive feature |
| Hdparm-tt/dev/sda |
Perform test reading on a hard-disk |
| Perform a read test on a hard drive |
| Cat/proc/cpuinfo |
Show Information CPU Info |
| displaying CPU information |
| Cat/proc/interrupts |
Show interrupts |
| Show interrupt Information |
| Cat/proc/meminfo |
Verify Memory Use |
| Verification of memory usage |
| Cat/proc/swaps |
Show file (s) swap |
| Show file Swap status |
| Cat/proc/version |
Show version of the kernel |
| Show Kernel version information |
| Cat/proc/net/dev |
Show Network Adpters and statistics |
| Display Network Information |
| Cat/proc/mounts |
Show mounted file system (s) |
| Display mount System Information |
| Lspci-tv |
Display PCI Devices |
| displaying PCI devices |
| Lsusb-tv |
Show USB Devices |
| displaying USB devices |
| Date |
Show system date |
| Show system date |
| Cal 2007 |
Show the timetable of 2007 |
| Show 2007 Calendar |
| Date 041217002007.00 |
Set Date and Time |
| -Monthdayhoursminutesyear.second |
| Set time and date-format: Month day year. seconds |
| Clock-w |
Save changes on BIOS |
| Save BIOS settings |
| |
| Shutdown, Restart of a system and Logout |
| System shutdown, restart or logoff |
| Shutdown-h now |
Shutdown system |
| Init 0 |
Shutting down the system |
| Shutdown-r hours:minutes |
Planned shutdown of the system |
| Timer shutdown |
| Shutdown-c |
Cancel a planned shutdown of the system |
| Cancel timed shutdown |
| Shutdown-r now |
Reboot |
| Reboot |
Rebooting the system |
| Logout |
Leaving session |
| Log off User |
| Files and Directory |
| Files and directories |
| Cd/home |
Enter to directory '/home ' |
| Enter/home Directory |
| Cd.. |
Go back one level |
| Returns a directory up |
| Cd.. /.. |
Go back levels |
| Return two directories up |
| Cd |
Go to home directory |
| Go to the/home directory |
| CD ~utente |
Go to home directory |
| Go to the/home directory |
| CD- |
Go to previous directory |
| Go to your previous directory |
| Pwd |
Show the path of work directory |
| Show directory path |
| Ls |
View Files of directory |
| Displaying files contained within a directory |
| Ls-f |
View Files of directory |
| Displaying files contained within a directory |
| Ls-l |
Show details of files and directory |
| Show details of files in a directory |
| Ls-a |
Show hidden files |
| Show hidden files |
| LS *[0-9]* |
Show files and directory containing number |
| Show files with numbers in a directory |
| Lstree |
Show files and directories in a tree starting from root |
| displaying files in a tree shape |
| mkdir Dir1 |
Create a directory called ' Dir1 ' |
| Create Dir1 Directory |
| mkdir Dir1 Dir2 |
Create directories simultaneously |
| Set up two of directories |
| Mkdir-p/tmp/dir1/dir2 |
Create a directory tree |
| Create a directory tree |
| Rm-f file1 |
Delete file called ' file1 ' |
| To delete a file named File1 |
| RmDir Dir1 |
Delete directory called ' Dir1 ' |
| To delete a directory named Dir1 |
| RM-RF Dir1 |
Remove a directory called ' Dir1 ' and contents recursively |
| Delete the Dir1 directory and the included files |
| RM-RF Dir1 Dir2 |
Remove directories and their contents recursively |
| Delete Dir1 dir 22 directories and files included |
| MV Dir1 New_dir |
Rename/move a file or directory |
| Rename/move a file or folder |
| CP file1 File2 |
Copying a file |
| Copying files |
| CP dir/*. |
Copy all files of a directory within the current work directory |
| Copy all files in directory and directory to current directory |
| Cp-a/tmp/dir1. |
Copy a directory within the current work directory |
| Copy directory to current directory |
| Cp-a Dir1 Dir2 |
Copy a directory |
| Copy Directory |
| Ln-s file1 Lnk1 |
Create a symbolic link to file or directory |
| Create a symbolic chain of files or directories |
| ln file1 LNK1 |
Create a physical link to file or directory |
| Create a physical chain of files or directories |
| Touch-t 0712250000 Fileditest |
Modify timestamp of a file or directory |
| -(YYMMDDHHMM) |
| Modify the timestamp of a file or directory |
| -Format: YYMMDDHHMM |
| File Search |
| File Search |
| Find/-name File1 |
Search file and directory into root filesystem from '/' |
| Search for files or directories in/directory |
| Find/-user User1 |
Search files and directories belonging to ' User1 ' |
| Search for files and directories belonging to User1 |
| Find/home/user1-name *.bin |
Search files with '. Bin ' extension within directory '/Home/user1 ' |
| Search within the/home/user1 directory for files containing. bin |
| Find/usr/bin-type F-atime +100 |
Search bynary files is not used |
| Search for files that are not available for 100 days |
| Find/usr/bin-type f-mtime-10 |
Search files created or changed within days |
| Search for files created or changed within 10 days |
| Find/-name *.rpm-exec chmod 755 {}; |
Search files with '. RPM ' extension and modify permits |
| Search for. rpm Files with modified properties |
| Find/-name *.rpm-xdev |
Search files with '. rpm ' extension ignoring removable partitions as CDROM, pen-drive, etc .... |
| Search for full-attribute. rpm Files |
| Locate *.ps |
Find files with the '. ps ' extension-first run ' updatedb ' command |
| Search for files with the. ps extension |
| -You need to run the UpdateDB command first |
| Whereis Halt |
Show location of a binary file,source or mans |
| Search for halt paths |
| Which halt |
Show full path to a binary/executable |
| Get the halt list and look for files that run when halt is given as a command |
| Mounting a Filesystem |
| Mount File System |
| Mount/dev/hda2/mnt/hda2 |
Mount Disk called Hda2-verify existence of the directory '/Mnt/hda2 ' |
| mount a hard disk device named Hda2 |
| Umount/dev/hda2 |
Unmount disk called Hda2-exit from mount Point '/mnt/hda2 ' first |
| To cancel mounting a hard disk device named Hda2 |
| Fuser-km/mnt/hda2 |
Force Umount While the device is busy |
| Forcibly canceling a mounted device |
| Umount-n/mnt/hda2 |
Run Umount without writing the file/etc/mtab-useful when the file was read-only or the hard disk was full |
| Do not record mount information directly cancel mount |
| -Useful when the hard drive is read-only or the hard drive is full |
| Mount/dev/fd0/mnt/floppy |
mount a floppy disk |
| Mount Floppy Disk |
| Mount/dev/cdrom/mnt/cdrom |
Mount a Cdrom/dvdrom |
| Mount CDROM or Dvdrom |
| Mount/dev/hdc/mnt/cdrecorder |
Mount a Cdrw/dvdrom |
| Mount CD-RW or Dvdrom |
| Mount/dev/hdb/mnt/cdrecorder |
Mount a Cdrw/dvdrom |
| Mount CD-RW or Dvdrom |
| Mount-o Loop File.iso/mnt/cdrom |
mount a file or ISO image |
| mount a file or ISO disc image |
| Mount-t Vfat/dev/hda5/mnt/hda5 |
Mount a Windows FAT32 file system |
| Mount the Windows FAT32 file system |
| Mount/dev/sda1/mnt/usbdisk |
mount a USB pen-drive or flash-drive |
| Mount USB Flash memory device |
| Mount-t Smbfs-o Username=user,password=pass//winclient/share/mnt/share |
mount a Windows network share |
| mount a Windows network share |