Labels

Showing posts with label S. Show all posts
Showing posts with label S. Show all posts

System information

# arch
show architecture of machine(1) [man]

# cal 2011
show the timetable of 2011 [man]

# cat /proc/cpuinfo
show information CPU info [man]

# cat /proc/interrupts
show interrupts [man]

# cat /proc/meminfo
verify memory use [man]

# cat /proc/swaps
show file(s) swap [man]

# cat /proc/version
show version of the kernel [man]

# cat /proc/net/dev
show network adpters and statistics [man]

# cat /proc/mounts
show mounted file system(s) [man]

# clock -w
save date changes on BIOS [man]

# date
show system date [man]

# date 041217002007.00
set date and time - MonthDayhoursMinutesYear.Seconds [man]

# dmidecode -q
show hardware system components - (SMBIOS / DMI) [man]

# hdparm -i /dev/hda
displays the characteristics of a hard-disk [man]

# hdparm -tT /dev/sda
perform test reading on a hard-disk [man]

# lspci -tv
display PCI devices [man]

# lsusb -tv
show USB devices [man]

# uname -m
show architecture of machine(2) [man]

# uname -r
show used kernel version [man]
READ MORE - System information

Special Attributes on files

# chattr +a file1
allows write opening of a file only append mode [man]

# chattr +c file1
allows that a file is compressed / decompressed automatically by the kernel [man]

# chattr +d file1
makes sure that the program ignores Dump the files during backup [man]

# chattr +i file1
makes it an immutable file, which can not be removed, altered, renamed or linked [man]

# chattr +s file1
allows a file to be deleted safely [man]

# chattr +S file1
makes sure that if a file is modified changes are written in synchronous mode as with sync [man]

# chattr +u file1
allows you to recover the contents of a file even if it is canceled [man]

# lsattr
show specials attributes [man]
READ MORE - Special Attributes on files

Shutdown, Restart and Logout of a system with terminal

# init 0
shutdown system(2) [man]

# logout
leaving session [man]

# reboot
reboot(2) [man]

# shutdown -h now
shutdown system(1) [man]

# shutdown -h 16:30 &
planned shutdown of the system at 16:30 [man]

# shutdown -c
cancel a planned shutdown of the system [man]

# shutdown -r now
reboot(1) [man]

# telinit 0
shutdown system(3) [man]
READ MORE - Shutdown, Restart and Logout of a system with terminal