Based on the information in your comments and duplicates here and here, I'd like to suggest the following. This has been done using the 'Processing Toolbox' in QGIS which allows you to use GRASS algorithms easily within QGIS -
Add two columns to the point layer, one for distance(distance) and the other for the Line ID(id_line). When using v.distance, you can specify multiple options in 'upload' by entering the values separated by commas. Try doing something like this -
The 'dist' will upload the minimum distance to the column 'distance' and 'to_attr' lets you specify a particular column name from your line layer to be uploaded to 'id_line'.
Running this would give you your desired output in the layer saved in Nearest, a copy of your point layer with the columns 'distance' and 'id_line' populated.
Your result would something like this -
Alternately, if your processing toolbox doesn't show 'v.distance' you can use the GRASS shell directly and execute the command for v.distance as follows -
v.distance from=<point layer> to=<line layer> upload=dist,to_attr to_column=<column containing id> column=distance,id_line
Refer the man page of v.distance or just type
v.distance --help in the shell for more options.