01 February 2014

SSH Handy Shortcuts

File/Disk Browsing
Lists summary size (-s) in Gb/Mb/Kb (-h) units for all sub-directories of the current path (./*)
# du -sh ./*

Show everything, human readable file sizes, in a list
# ls -lah

Use the | after the first command to pipe the output to the next command e.g. Show all processes with the string apache in the command
#ps | grep apache

Is a pretty handy tool if you do much work via an SSH terminal

Launch app
# screen

Detach current screen
Ctrl-a d

List screens running
# screen -ls

Reattach a single screen
# screen -R

# ifconfig
# sudo iwlist wlan0 scan

1 comment:

  1. Anonymous12:27 pm

    The rising prevalence of cellular and on-line fee gateways has made fee selections easier for purchasers and on-line avid gamers. The gaming industry accepts on-line fee as a secure and safe transaction technique. This component contributes to the growth of the web gaming market. The web betting part is rising in tandem with the web sports activities category, particularly for football competitions such as the FIFA World Cup and the European Championships. As part of of} their marketing operations, many on-line sports activities betting organizations sponsor different groups by buying or combining with many corporations for strategic expansions. 로스트아크 PAGCOR licenses and regulates operators with offices, servers, or studios within the Philippines.