Updating bash prompt [closed] - bash

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Is there anyway to change the bash prompt to automatically update say when the time changes to reflect the time. So instead of something like it being 11:30 and the pressing enter 3 minutes later it then says 11:33 it would instead continuously update that prompt every minute to reflect the current time.

Related

How to find when I upgraded node on ubuntu? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I upgraded node from v8.x to v10.x a couple of weeks ago.
My bash history does not have timestamp enabled so I cannot tell on which date I upgraded.
Is it possible to look at any log files to get this info?
You should have rsyslog and auditd setup if you need this level of accounting. Look at the time stamps on the files, and you may see a date that matches when you installed the package. Or look to see if their is a cache directory for the tool you used to update it with etc..

cmd command to format hard drive in 5 hours [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Is there any windows cmd command to start formatting a hard drive in an allocated time for windows 10?
i.e run the cmd, then the hard drive starts reformatting in 5 hours?
Just use a SLEEP first:
SLEEP 18000 & YOUR-FORMAT-COMMAND

How I save the history of my commands in Windows(7) Command Prompt? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have realized that when I log out from the computer, the Command Prompt history gets deleted (or at least when I press the arrow keys (or F7) nothing appears. How I can set the command promt to not to delete my command history.
There isn't an option to do so. However, you can use clink which has that feature (although it comes with readline-style line editing and several other bash-isms that might not be wanted or needed).

Cancel Terminal Password [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
When say using sudo, it requires a password. But at the instance, I decide that I do not actually want to take the command (or forget the password and want to try again later). What should I do other than close the terminal externally?
Type Control-c to kill the command.

Is it possible to retrieve a file removed using file.remove? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I foolishly ran the following code
file.remove(list.files())
Is there any way of retrieving the deleted files. I am working in windows XP + R 2.15.0
You need to get a NTFS (or FAT32, though unlikely) file recovery software. Restoration and Undelete Plus are a few of them

Resources