Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Output of sudo lshw recorded in history file


  • Please log in to reply
3 replies to this topic

#1 Al1000

Al1000

  • Global Moderator
  • 7,489 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:12:27 AM

Posted 29 January 2015 - 04:28 AM

Anyone ever seen anything like this before? I was looking through the history of commands on my new installation of Mint 17.1 Xfce. It looks like using the ssh command has somehow caused the output of sudo lshw (lower-case L before shw) to be recorded in the history file, as if each line is a command.

checkthisout_zpse4qnl3w5.png

I wonder if that had anything to do with me being unable to log in to a website using ssh?

Edited by Al1000, 29 January 2015 - 04:28 AM.


BC AdBot (Login to Remove)

 


#2 Al1000

Al1000
  • Topic Starter

  • Global Moderator
  • 7,489 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:12:27 AM

Posted 29 January 2015 - 04:40 AM

Here's the rest of the history file.

The ssh command appears to have been subsequently recorded correctly.

restofit_zpstlgxvv1z.png

#3 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 12,897 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:09:27 AM

Posted 29 January 2015 - 05:23 AM

Typing

History

In terminal produces something similar on my Ubuntu.
workspace-1_007.png

 

workspace-1_008.png

Please Note I no longer use public image hosting.


Edited by NickAu, 29 January 2015 - 05:27 AM.

Arch Linux .
 
 Come join the fun, chat to Bleeping computer members and staff in real time on Discord.
 
The BleepingComputer Official Discord Chat Server!


#4 Al1000

Al1000
  • Topic Starter

  • Global Moderator
  • 7,489 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:12:27 AM

Posted 29 January 2015 - 05:31 AM

Those are all actual commands (IOW inputs), which is what should be getting recorded in the bash history file.

Somehow the output of a command has been recorded in mine.

Edited by Al1000, 29 January 2015 - 05:33 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users