The tag has no wiki summary.

learn more… | top users | synonyms

22
votes
8answers
6k views

How to hide a password passed as command line argument?

I'm running a software daemon that requires for certain actions to enter a passphrase to unlock some features which looks for example like that: $ darkcoind masternode start <mypassphrase> ...
22
votes
5answers
2k views

Avoid to keep command in history

I use bash and I would like to avoid some commands being kept in the history. Is it possible to do that for the next command only? Is it possible to do that for the entire session?
15
votes
7answers
25k views

Is there a global, persistent CMD history?

Sometimes I forget how the exact syntax of a CMD command looks and then I would like to search my own CMD history. Clearly, within the same session, you can browse it with the up and down arrow keys ...
14
votes
4answers
1k views

Historical Question: Why does slice C or slice 2 cover the entire disk

Something that I was discussing with a couple of friends and we were unable to figure it out. In FreeBSD and OpenSolaris/Solaris when you partition a drive a partition is created that covers the whole ...
13
votes
3answers
17k views

How do I extract login history?

I need to know the login history for specific user (i.e. login and logout time), How do I extract this history for a specific date range in Linux ?
13
votes
3answers
1k views

Strange bash history behaviour when running multiple sessions

How is command line history stored when I use multiple terminal windows? I know it is stored in .bash_history but I can't see the logic on what history is used if I open new window. It almost feels ...
8
votes
3answers
661 views

Can I log vi activity?

Is there any method to log vi activities? I suspect that another user is issuing command by going into the shell inside the vi editor, apparently those command doesn't record into history. Thanks
7
votes
1answer
158 views

How old is the “severity” paradigm in logging?

Years of sysadmin left syslog's severity levels, as described by The BSD Syslog Protocol, clearly imprinted in my mind. You know the drill: Emergency, Alert, Critical, Error, Warning, Notice, ...
5
votes
4answers
3k views

GNU screen loses (parts of) command histories

I use GNU screen with 5 different sessions, each of which stores its own command history. But often I don't find a command in the history, although I'm sure I've used it exactly in the session I'm ...
5
votes
2answers
729 views

Why does CTRL-r act weirdly (showing only part of a command) on OS X

Ctrl-r is a great little tool for searching your .bash_history for previously run commands. However, when I use it in my OS X Terminal.app I see weird behavior, and I was wondering if anyone else ...
5
votes
2answers
5k views

How do you stop Internet Explorer from tracking history of files opened up in OTHER applications?

I do want Internet Explorer to maintain a history for websites I visit (e.g. to enhance performance with caching and provide quick access back to places I've recently visited) However I have never, ...
4
votes
6answers
3k views

How can I record Linux commands?

Is there a way to record the Linux commands I use and reuse them on another machine or in case I want to reinstall the machine? In example record how I set up NginX, PHP and permissions in my lab ...
4
votes
1answer
360 views

How to show command history with executed time on Unix

I tried export HISTTIMEFORMAT='%D %T' but it seems the time stamp of commands executed before I set HISTTIMEFORMAT will be the time I logged in current session. Is this normal? Is there any way to ...
3
votes
2answers
163 views

Historical Question: anyone know why the Mac OS FTP client was designed read-only?

I always found it odd that Mac OS X's "Connect to server" menu let's you read and write to every protocol it supports but FTP. Is it just one of those mysteries, or have they ever discussed why this ...
3
votes
2answers
1k views

Preventing bash (and ksh) history alteration in Linux

From the looks of things, fixing ksh to make history alteration impossible is fairly easy. I've seen all the recommendations to make HIST* environment variables read-only, and the use of chattr to ...
3
votes
3answers
707 views

Linux comprehensive command line history

I have Ubuntu server. On the server several users are allowed to operate. They use ssh. I need to have command line history for all of them in one place showing the time, the user and the command. ...
3
votes
2answers
721 views

Configure GNU screen so that it stores command histories in files

I would like to configure GNU screen such that it stores the command histories of all the different windows in different files. I know by default GNU screen does not store the command histories (of ...
3
votes
4answers
3k views

Is it safe to remove all files in the /var/log when cleaning a server's history?

I need to erase all system logs etc. from a running Debian machine that's primarily running an Apache server. Is it safe to remove all the files in /var/log without recreating (by touching?) any of ...
3
votes
2answers
206 views

What is the minimum architecture required for per-user history logging and password protection on a small network?

I'd like to set up and administer a small network which would supply a captive portal where users type in a unique password and/or username to connect to the internet and to each others' computers, ...
2
votes
4answers
700 views

Ubuntu - Bash - How to Ctrl + R

I can't seem to locate recent commands I've run when I do Ctrl + R in my terminal, nor can I see them when I hit the up arrow. It was a long command. Is there a length limit to what is stored? I ...
2
votes
2answers
376 views

History in linux terminal

I'm running Ubuntu 9.1 and every time I open a terminal window, I lose the previous command's history. How can I configure it so it's kept even after rebooting? Thanks.
2
votes
2answers
559 views

Software for browsing/searching SQL Server transaction logs

I'd like to know whether there is any piece of software that will allow the browsing/searching of SQL Server transaction logs (any version). We've previously used Lumigent Log Explorer against SQL ...
2
votes
1answer
117 views

yum and command line field

I'm reading the official documentation of Red Hat 6 (Deployment Guide) where in chapter 6 about yum they use the following command to show transactions: yum history info (id) this command should ...
2
votes
0answers
21 views

Function body defined in /etc/profile appears in shell history on login

We run IBM AIX here (currently 7100-03-03-1415) that is missing a fair amount of the utility preset in other versions of UNIX. One of the things that we need to do on a semi-regular basis is convert ...
2
votes
1answer
384 views

Viewing history for Maintenance Plan causing out of memory exception

I am trying to view history for a maintenance plan but keep getting an out of memory exception. It seems that the problem is that SSMS can't access memory beyond the ~3gb range. I've tried to find an ...
1
vote
1answer
159 views

Avoid duplicates in bash history

Is there a way that I can remove repeated commands from bash history? For example: I run the mv command once, then I run the ls command n times. I have to press the up arrow n times to get the mv ...
1
vote
3answers
11k views

Where is the login history for Windows XP?

Does Windows XP keep a log of the login and screen locking events? If so, how can I view it?
1
vote
2answers
1k views

How to find very old history of commands in Linux CentOS?

One of my questions on here has a lot of views and I have yet to select the best answer. Unfortunately, I cannot remember how I solved my problem. The problem involved installing some stuff from yum. ...
1
vote
2answers
648 views

How can I put the last zsh command in history into a clipboard?

It often happens to me, that I just used a command and I need to copy/paste it either to a different terminal window/IM or whatever. On a Mac, I can use the pbcopy command to get something in ...
1
vote
2answers
75 views

Does Debian or Ubuntu have a means of logging apt/aptitude commands?

Does Debian or Ubuntu have a means of logging apt/aptitude commands? I could also ask the same about yum commands in Redhat? Do they have a history file?
1
vote
2answers
164 views

What Web Server Was Used Before Apache

What did the majority of websites use as web server, before Apache in 1995?
1
vote
2answers
1k views

Linux Command Prompt - Ctrl + r - Not working so swell

Whenever I hit ctrl-r in my command prompt it seems like I have 10 milliseconds to finish typing whatever I'm searching for and at that point it searches for whatever I've typed so far. It also ...
1
vote
2answers
796 views

HISTCONTROL=ignoreboth not working debian lenny

Can anybody confirm if by setting the the following env variables under debian lenny will make previous history entries not to be saved. GNU bash, version 3.2.39(1)-release export ...
1
vote
2answers
5k views

How do I give a user permisson to view scheduled task history on Server 2008?

I've set up a scheduled task on Server 2008 and want to run it as a user other than the local administrator. So I choose a domain account created specifically for this task and once I've closed the ...
1
vote
1answer
152 views

How to i skip history? [duplicate]

Possible Duplicate: Avoid to keep command in history Is there a facility to skip history for some commands in Linux? How can I skip history for a login? When I login as user "abc", I don't ...
1
vote
1answer
51 views

Historical CPU Utilization by Service Name In RHEL 6.2

I need to implement historical CPU Utilization by service name in Linux Red Hat 6.2. Is there any software or command which can provide such details ?
1
vote
1answer
70 views

bash_history file and history command showing different entries

I am using the Terminal app on OS X to try and clear my command history. The entries within my $HOME/.bash_history file do not match what is returned by the history command. The echo $0 command tells ...
1
vote
1answer
103 views

Is there a history / eventlog in IIS?

I have a problem. A stupid manager of one of my projects had logged on on the windows root server for a big project and add a webpage he needed in IIS. Stupid as he is, he added not XXX.page.com for ...
1
vote
1answer
428 views

Office Communicator 2007 (MOC): How to make chat history visible to newcomers

How can someone who joins an existing Microsoft Communicator chat see the history of what has gone before? For example: Larry: [describes problem] Moe: [enhances problem] Curly: We should ask ...
1
vote
1answer
202 views

Mac Asset History Tracking

My organization has ~1800 machines that would be nice to track, half of which are laptops, most of which are Mac computers. We are using the Casper Suite and Helpdesk Pilot 3, and I've noted a couple ...
1
vote
1answer
350 views

Not all events appear in Nagios history (archive)

in the "Host & Service history" of my check_mk interface I can see various events, but a lot of events are missing. On the default interface at "View Alert History For This Service" or in the ...
0
votes
1answer
183 views

Where to find the terminal logs in Mysql

I connect to mysql client using the command mysql -uroot -p And I execute queries there. If I press the up arrow, i could see the history of almost all the queries there. Where will this query ...
0
votes
1answer
29 views

Is it possible to see changed in email headers because of MX record changes? [closed]

I have a need to know when an MX record changed. I know from previous messages that there isn't much online that can help me determine the exact timing of the change, but is there a way in my ...
0
votes
3answers
639 views

Clear tcsh/csh history in FreeBSD 10.0

This is a little embarrassing but I'm unable to delete the root user shell history from a FreeBSD 10.0 server. The root user is using the default csh. I've tried the classic history -c command to ...
0
votes
2answers
284 views

How do I log e-mails sent to a google group?

I'm setting up a non-profit organization with e-mails @companyname.com, and I've begun using Google Apps for this. Can I use Google Apps e-mail to maintain a history of all the e-mails sent to a ...
0
votes
1answer
38 views

Checking the history of www-data user [closed]

While normal users have a .bash_history in their home directory, the www-data user does not have a home directory. As such, are there any means to track the history of the www-data user?
0
votes
1answer
291 views

Disable the ability to hide bash command history

User can hide the command history in bash by either append a space before the command unset HISTFILE How to disable this?
0
votes
1answer
2k views

How to find users' Internet Explorer history on Terminal Server (Windows 2008 R2)

So I need to see histories for dozens of agents on TS. Where IE stores that, and is there any easier way then going manually to each users folder? Thanks.
0
votes
1answer
521 views

When was the SSL 2048 bit key length introduced on webservers?

October 1 2013 all SSLs will be required to have 2048 bit key lengths. This means that October 1 2010 there should be no more 3 year renewals for the 1024 key length as those will exceed that date. ...
0
votes
1answer
62 views

setting up history variables for ssh user

im logging into a particular ip using ssh user@ip then i type in a few commands, then i exit and when i relogin and type history, all the previous commands are gone. Now i understand i have to export ...