Programming :: Less Doesn't Save Command History
Aug 13, 2010
less doesn't save command history, i.e. file .lesshst isn't created. If I create it manually, nothing writes to it too.OS AIX 5.3 I think linux users can have the same issue, hardly this issue depends on OS.
View 9 Replies
ADVERTISEMENT
Jun 20, 2010
how to save command out put to another file. Ex: #ps -ef that particular cmd output i need to save another file. is it possible And how to save command history in Linux.
View 1 Replies
View Related
Oct 7, 2010
Lets say I wanted to save my bash history permanently. I.e., so I could look in a log somewhere and find some command I used 6 months ago, like the one I used to get my printer drivers installed
View 1 Replies
View Related
Nov 19, 2008
suppose i store the history number of a command say :
1004 cat file
Then now i want to run it like : !1004 but by using a variable.
command=1004
!$command
i am getting errors like :
command=1004command
View 2 Replies
View Related
Mar 3, 2011
the terminal history does not save commands starting with "./"
View 2 Replies
View Related
Apr 1, 2010
my whole system crashed due to file system failure so i have to reinstall it, but i would like to save my pidgin history and settings if possible. can anybody tell me, where i can find that. i can access my files trough a live cd via terminal. in which file/directory are the settings and the history stored?? i was looking thorugh the forum but i couldn find this information anywhere.
View 2 Replies
View Related
Feb 16, 2011
Ubuntu :: save copy of bash entries / history?
View 7 Replies
View Related
May 19, 2010
I gave Kubuntu (Live CD) a test drive that turned out to be longer than planned... How do I export my Konquerer history?
View 2 Replies
View Related
Jun 16, 2010
my mediacenter is attached to an beamer with the optimal resolution of 1280*720 ubuntu 10.04 doesnt offer me this revolution (on my intel 915 graphis controller). this means i have to add this resolution to the possible resolutions. first i used cvt
Code:
cvt 1280 720 60
and got this result:
Quote:
# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
then i added this to xrandr
Code:
xrandr --verbose --newmode "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
and
Code:
xrandr --verbose --addmode VGA1 1280x720
now i can select and use the new resolution - until next reboot. after an reboot 1280x720 is again not available. even if i work with sudo - the resolution isnt there....
View 1 Replies
View Related
Jun 7, 2010
Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).
I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?
View 1 Replies
View Related
Jun 23, 2009
I have to trace back what command and when it is used for the last 3 months. It is quite urgent as I have trouble with the system configuration.
View 5 Replies
View Related
May 31, 2010
What's the command to delete bash command history?
View 4 Replies
View Related
Oct 14, 2010
How do I use the "history" command to fire the last run command?
View 3 Replies
View Related
Dec 15, 2010
I used to use CCleaner so I could keep specific cookies from being deleted while I deleted all others. Is there any way I can do this with Ubuntu? Firefox doesn't seem to allow it other than manual deletion which is not as fast an automated as CCleaner made the task.
View 1 Replies
View Related
Jun 2, 2010
Firefox "preferences" has an option which say, "keep my history for at least --- days".This does not make sense. If I enter 10 days, it will keep my history for 10 days or 1000 days. If I ener 100 days, it will keep my history for 100 days or 1000 days.ame thing!!Shouldn't it say, "keep my history for no longer than --- days"?I just set mine to 14 days and I still have a month of history.
View 1 Replies
View Related
Jul 6, 2009
I am trying to write a python script which logs into a NetApp filer and fetches some data. I am using the telnetlib library. Filer does not take exit command. So it expects Control-D. How to send that via python script?
View 5 Replies
View Related
Jul 7, 2010
I am trying to find a method or tool to know the exact command history of all my users.I have tried to use "psacct" ,but it is not solving my perpous as it is only giving the command name.means let say 10 users have used "rm" command to remove 10 differint files then I want to know which user has removed what file.
But psacct will only give me the command name like rm used bu the user name.Then I tried to use the "w: command but it is also not solving the problem..
View 6 Replies
View Related
Dec 12, 2010
How can I reset the history of the command at? The system labels each command starting with 1, is there a ay to reset that back to 1.
View 2 Replies
View Related
Jun 20, 2011
If someone has done something wrong on a shared linux machine. If i want to find out who is that person or ip from where it is been done what are all the possible ways. 1 possibility I thought was to get the PID of the command and get other details from that PID?
View 4 Replies
View Related
Nov 1, 2010
Just as the subject,I didn't find a appropriate answer with google. Is there any command to replace it?
View 5 Replies
View Related
Apr 14, 2011
I'm working on a Soekris net4801 that is running an unknown distro of Linux. The kernel is 2.4.29, and iptables is v1.3.4.
I can't work out how to save the iptables. I searched the whole system for files/folders containing the name "iptables" and got 3 results:
/user/local/lib/iptables
/sbin/iptables
/lib/iptables
I've tried iptables save, iptables-save and iptables save active.
"iptables save" and "iptables save active" give me an invalid argument error. "iptables-save" isn't a valid command. "iptables --help" gives me a list of valid switches, none of which have to do with saving.
how I can save the iptables?
View 1 Replies
View Related
May 9, 2010
How can I preserve the command history in/for Zsh after boot?
View 2 Replies
View Related
Jun 15, 2010
Can someone explain why my directory history is being displayed after each use of the 'cd' command. After about an hour the list is filling up my window.
View 6 Replies
View Related
Nov 23, 2010
I am just wondering is there any other altrenate location which saves the history command logs other that bash_history file.
View 4 Replies
View Related
Feb 1, 2011
I know to list the command history with time stamp as follow:
Code:
export HISTTIMEFORMAT="%F %T"
history | more
But this just list the commands from today. But I want thoese from yesterday.
View 2 Replies
View Related
Apr 10, 2010
klipper doesn't always store the latest clipboard contents in its history in kde 4.3.5. I have "ignore selection" and "separate clipboard and selection" set in Klippers settings. When i open a new program, for example - kwrite, type some text in it, select some of it and hit ctrl+c - copied text doesn't show up in klippers history list. It seems that klipper misses the first copy operation done in newly launched applications, only by copying the same (or some other) text again klippers menu entry shows up. This seems to happen with only newly launched application, when i had kwrite window already open, opening a second window and performing copy worked fine with klipper.
View 2 Replies
View Related
Aug 19, 2010
I know the 'history' command give me a list of the commands I have typed into the Unix terminal.
How do I see the command history for all of the users currently logged onto the system?
View 1 Replies
View Related
Jun 28, 2011
I was running scripts overnight from the command line (inside Screen on a Linux EC2 instance) and some errors that I was not tracking occurred. I want to "scroll up" or view more of the history in Screen, but I cannot seem to find any commands that will work. I need to see the onscreen output "further up" than I can on my current screen. CTRL + a is supposed to put me into scroll mode inside Screen, but it's not working.
View 4 Replies
View Related
Jul 11, 2011
Can anybody show me how to view command history of another user? I am an admin on my machine. I can see normal history by viewing /home/user_name/.bash_history but i can't see commands of that "user_name" when they were doing sudo. Is there a way to view all command executed by one user?
View 3 Replies
View Related
Jul 15, 2010
I wanna trace user's command input history. but I dont plan to use "history", "lastcomm" becauze there is not detail of the user command history. if there is some software use to log user command to one file or database, it's suit for me.
View 1 Replies
View Related