Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 OPERATING SYSTEM


  Mount DD image on Linux

Yesterday, my Raspberry Pi running Arch Linux was not able to boot with error: Kernel Panic, not syncing: no init found. I spent a night on it, but could not find a working solution. The last option is easy: reinstall the system. That is really the last resort, for I do not want to re-setup everything I have done: samba server, Time Machine server, Xunlei Offline Downloader…Unable to mount the SD cardThe system does not boot, so I need to find a way to get into the file system to identify what is wrong, or at least backup all the configuration files.I cannot directly mount it on my Mac,...

9,517 2       LINUX DD IMAGE


  Shortest command on Linux

Usually when we log in to a Linux system,. we may type some frequently used Linux commands such as pwd,ls, ps etc. All these commands are really simple but powerful with different options. But do you know what is the shortest command on Linux? The answer is w.According to Linux manual, w will show who is logged on and what they are doing on the system. w displays information about the users currently on the machine, and their processes. The header shows, in this order, the current time, how long the system has been running, how many users are currently logged on, and the system load averages ...

9,438 0       W LINUX SHORTEST COMMAND


  How to check a port is taken by which program on Linux

Lots of you may have encountered some error message stating that the port has been taken by another program while trying to start a program on Linux. And you would want to know which program takes the port you want to use. This post will provide some feasible ways to check out which program is taking a specific port.lsof -i:[port]lsof is the command to list open files on Linux. And if you know more about Linux you should get to know everything on Linux is a file even including network connection. Hence you can use lsof to list the network programs which are running.The -i option will...

9,412 0       LINUX PORT NETSTAT LSOF


  Install Open webOS on Linux

HP has just released its first beta version of the webOS, It is said the user experience of webOS is quite impressive, so I immediately had it installed on my PC. There are two versions of Beta release,one embedded version and one Ubuntu version. I briefly share my installation experience of webOS in Linux.In the official document, it says "By 'Linux' we mean 'Ubuntu Linux'", it doesn't support server version and 64 bit version of Ubuntu. Here I use Mint 13.1. Clone source code from githubAddress : https://github.com/openwebos/build-desktopgit command :1git clone https://github.com/openwebos/b...

9,184 0       UBUNTU LINUX HP WEBOS EMBEDDED


  Linux Command Line tips that every Linux user should know t

Below is the collection of Linux command line tips which I’ve found useful for Linux users. To get more information about the command mentioned below just open your terminal and type man <command>.Things a Linux user must learnLearn bash: No need to refer a lengthy bash guide or something else. Just read the complete man page of bash (man bash).Learn vim: You might be using Emacs or Eclipse for your work all the time but nothing can compete vim.Learn ssh: Learn the basics of passwordless authentication.Learn basics of bash job management: Using &, Ctrl-C, fg, bg, Ctrl-Z, jobs,...

9,080 0       TIPS COMMAND LINE LINUX UNIX


  proftpd FTP Server setup on Ubuntu

A- The GUI way (for beginners only)For those who are new to linux and don't want to use a FTP server without GUI, or just for those who don't use often their FTP server and wish to set it quickly without a high level of security, there is a GTK GUI for proftpd.Be careful, it's less secure than configuring yourself your server.1- Install proftpd and gproftpd with synaptic or with this command :Code:sudo apt-get install proftpd gproftpd2-Play with the GUI and set up quickly your server.Beware no support is offered here for this tool but it shouldn't be too hard to use.B- The secure way1-&nb...

8,836 0       UBUNTU FTP SERVER PROFTPD SETUP


  Useful Bash Scripts

Many people hack together shell scripts quickly to do simple tasks, but these soon take on a life of their own. Unfortunately shell scripts are full of subtle effects which result in scripts failing in unusual ways. It's possible to write scripts which minimise these problems. In this article, I explain several techniques for writing robust bash scripts. Use set -u How often have you written a script that broke because a variable wasn't set? I know I have, many ti...

8,678 0       LINUX SHELL BASH COMMAND ROBUST


  What are some lesser known but useful Unix commands?

A few that come to mind, some less known, some more:xargs or parallel: run things in parallel, with lots of optionssed and awk: more well-known but still super useful for processing text files, and faster than Python or Rubym4: simple macro processorscreen: powerful terminal multiplexing and session persistenceyes: print a string a lotcal: nice calendarenv: run a command (useful in scripts)look: find English words (or lines in a file) beginning with a stringcut and paste and join: data manipulationfmt: format text paragraphspr: format text into pages/columnsfold: wrap lines of textcolumn: form...

8,541 0       LINUX COMMAND UNIX LESS USED