Skip to main content

All Questions

Tagged with
2 votes
0 answers
983 views

Sync terminal history in c shell

For work, I remote into a linux server that uses c shell rather than bash using Remote Desktop. While in session (lets call it session 1) I'll open up many tabs in a given terminal and type commands ...
Dan's user avatar
  • 21
2 votes
1 answer
2k views

Is there a way to disable history for one command in TCSH?

I am executing a command in TCSH, which requires me to pass a password on the command line. Obviously, I would like it not to be saved in the history file. I know that other shells like Bash supports ...
Mateusz Piotrowski's user avatar
1 vote
2 answers
708 views

Run command from history with parameters

Whenever I need to type a long command I find that the exclamation mark to refer to history very handy. For example, !ssh can be used to invoke the last ssh command I used. However I cannot get it to ...
Weijun Zhou's user avatar
  • 3,418
0 votes
1 answer
1k views

how to make sure csh won't mess up your tcsh history timestamps?

I use tcsh as my default shell. Sometimes, I run csh (e.g., for testing), and it messes up my savehist history file, particularly, the timestamps -- lots of events end up appearing under the exact ...
cnst's user avatar
  • 3,283
2 votes
2 answers
848 views

Can I see in history output from which directory I had actually issued a command?

CTRL+R allows me to reverse search through the command history which is great but can I also find out from which directory that command was run? I am using C-shell in Linux.
Geek's user avatar
  • 6,778