Category Archives: Linux

Linux Terminal Command : System Info

Ctrl + Alt +  TStart Terminal

Type this commands to the terminal:
  • date  Show the current date and time.
  • cal  Show this month’s calendar.
  • uptime  Show current uptime.
  • w  Display who is online.
  • whoami  Who you are logged in as.
  • finger user  Display information about user.
  • uname -a  Show kernel information.
  • cat /proc/cpuinfo  CPU information.
  • cat /proc/meminfo  Memory information.
  • df -h  Show disk usag.
  • du  Show directory space usage.
  • free  Show memory and swap usage.
  • exitExit terminal.

Linux Keyboard Shortcuts

  • Ctrl + Alt +  TStart Terminal
  • Up Arrow Show the previous command
  • Enter  Run the command
  • Ctrl + A ⇒ Return to the start of the command you’re typing
  • Ctrl + C  Halts the current command, cancel the current operation and/or start with a fresh new line
  • Ctrl + D ⇒ Log out of current session, similar to exit
  • Ctrl + E ⇒ Go to the end of the command you’re typing
  • Ctrl + K ⇒ Cut everything after the cursor to a special clipboard
  • Ctrl + L  Clear the screen
  • Ctrl + R  Allows you to type a part of the command you’re looking for and finds it
  • Ctrl + T ⇒ Swap the two characters before the cursor (you can actually use this to transport a character from the left to the right, try it!)
  • Ctrl + U ⇒ Cut everything before the cursor to a special clipboard, erases the whole line
  • Ctrl + Y ⇒ Paste from the special clipboard that Ctrl + U and Ctrl + K save their data to
  • Ctrl + Z  Stops the current command, resume with fg in the foreground or bg in the background
  • Esc + . (a period)  Insert the last argument of the previous command on the fly, which enables you to edit it before executing the command

Setup PPPOE net connection on linux step by step

  1. Turn on the Terminal. (shortcut key Ctrl+Alt+T)
  2. Type “sudo pppoeconf”. (use “sudo” for LinuxMint,Ubuntu,etc & “yum” for CentOS)
  3. Type your admin user password. You will not see any password while typing it on the terminal. Don’t worry. It’s normal in the terminal.
  4. Follow the instractions & select “yes” all the time.
  5. When username required type the username which one your ISP (Internet Service Provider) gave you.
  6. After typing the username you will be asked for password. This time type the password which one your ISP (Internet Service Provider) gave you. (If you don’t remember your username or password than contact with your ISP.)
  7. Network icon on the taskbar may show you network is disconnected or there is no network. Don’t worry about it. For confirmation type “ping –c 10 google.com” on the terminal, If you see data is receiving than your net connection is established. Or you can browse internet on your internet browser.
  8. When you done all of this steps close the terminal.
  9. Now enjoy your internet.