1. A method to expand a command line (cmd_line) comprising at least one command word and word separators delineating said at least one command word, which method comprising the steps of: detecting of a trigger (expand_req) to expand said command line, determining, upon detection of said trigger, a current cursor position (cursor_pos) within said command line, determining, from said current cursor position, a particular command word (cmd_wrd) that is currently being edited, characterized in that said method comprises the steps of: deleting last characters of said particular command word located from said current cursor position onwards, thereby yielding a particular truncated command word (truncated_cmd_wrd), finding a match (match_cmd_wrd) in a command word database for said particular truncated command word, completing said particular truncated command word according to said match, thereby yielding an expanded command line (expanded_cmd_line) for execution by a command execution unit ( 114 ).