General :: Command To Keep Track All The Previously Run Applications From All Terminals?
Apr 13, 2010
Is there a way or command to keep track all the previously run applications from all terminals that are connected to your linux machine? Something that will display the name of the application, start time, and end time of its execution?
View 3 Replies
ADVERTISEMENT
May 23, 2010
I want to use PROMPT_COMMAND variable to build a history of all the commands i execute. So Basically i want to append the last executed command to my own command log file. How can i find the last executed command ?
I want to add PROMPT_COMMAND="echo $last_executed_command >> my_command_log" But I am not sure how to find the last executed command
View 2 Replies
View Related
Jun 27, 2011
How can I split an output of a command to two terminals? one will get stdout and the other will get stderr. The best I could do is:
On first terminal code...
This works ok but it prints the errors over and over again every time, is there any better way to redirect the errors to another terminal?
View 2 Replies
View Related
Jul 16, 2011
Is there any utility which will monitor all commands on SSH SHELL fired by any user who logs in using putty or any other client? If this record is saved somewhere,
View 1 Replies
View Related
May 18, 2010
If I run
cp file1 file2
I'd like to be able to track it's progress. Is there a command I can use for this?
rsync --progress
has this, but is there something generic, usable for "any" command?
View 3 Replies
View Related
Aug 18, 2010
Ideally I would like to set a keyboard shortcut to open a set of applications. The applications (mainly different gnome-terminals) should be opened in different, previously defined workspaces. I had a look around but could not find a simple solution (maybe it could be done in devilspie but I would like to avoid that).If I limit myself only to gnome-terminal and instead of using the keyboard shortcuts call the application in the shell the placement of the terminal can be done by using "--geometry" (see "man gnome-terminal" and "man X") e.g. "gnome-terminal --geometry 50x20+200+300". wmcrtl show me that my 6 workspaces are treated as one desktop (my interpretation - maybe wrong):
Code:
$ wmctrl -d
0 * DG: 7680x1024 VP: 0,0 WA: 0,1 1280x1023 Desk 1
[code]....
View 2 Replies
View Related
Apr 23, 2011
is it possible to log the command output's history that are previously printed messages in the terminal to a file? that is the first command output when i first opened terminal through the last command.
View 5 Replies
View Related
Jun 30, 2010
I am looking out for a command which can give me the list of applications installed and the corresponding install paths for those.let me know if there is any such command. Also, i am using rpm command to get the list of packages installed(i am assuming that this shows the list of applications installed).
View 4 Replies
View Related
Oct 22, 2010
There are some files on my external disk drive that are corrupted and not identifiable. How can I recover these files?
View 1 Replies
View Related
Aug 1, 2010
How do you determine the source and version of a device driver in your linux box? (The wifi driver, for instance.) In windows you can find that info using "device manager". I suppose there is some corresponding tool in linux.
View 2 Replies
View Related
Aug 7, 2010
I am ssh'ing into a remote server and then su'ing to root.The problem is that sometimes, I have not paid enough attention to the console message, and I have accidentally typed in the root password at the command prompt (when for example, I had failed to provide the root password correctly the first time - so su prompt went away).
I remember reading somewhere that a history of commands typed at the console is kept somewhere.I have 3 sub questions
Where (which folder) is the file stored?
Can I edit that file and remove the root password from it?
Being the paranoid person that I am, I wonder if there is a more secure way of logging into my server - other than ssh (or am I being TOO paranoid?)
My server is running a headless Ubuntu 10.0.4
View 1 Replies
View Related
Jul 4, 2010
I am trying to Upgrade from Fedora 12 to Fedora 13 using Preupgrade. My system downloads the the Upgrade and tries to install it but returns a message "Root of the previous system not found". I would really like to fix this problem but dont know how.
View 1 Replies
View Related
Nov 2, 2010
I have just had to reinstall my OS (Sabayon) onto a new and larger hard drive (dying old disk). I quickly saved all my old docs in /home on an external USB drive (formatted and then created an ext4 file system) before the swap and installation.
After getting the new disk running I connected the USB external disk. First I could not access the drive at all, but that seems to be fixed. Now I want to bring all my files back to my new /home folder but apparently they (especially the former MS Office .doc, .xls, etc files, not so much the OpenOffice files) are �read only� and I don't have permissions anymore. I am able to create directories on the external, and can move files back and forth, but don't seem to own many of them.Sabayon automatically mounted my external disk in /media/disk, rather than /mnt, so I've left that alone for now. After searching here and elsewhere for info, I tried a few things (below): For access I added a line to /etc/fstab:
Code:
/dev/sdb1 /media/disk ext4 noauto,rw 0 0
Here's what I've done to try and fix ownership already:
in /media I:
Code:
# chmod 775 disk
which gives output of:
Code:
media # ls -l
total 4
drwxrwxr-x 2 root root 4096 Nov 1 21:30 disk
[code]....
I'm not sure what the �total 4� refers to since there is only the one directory �disk� inside /media but I assume that's not part of this issue... Does adding umask=0 have anything to do with this, and if so where does that go?
View 7 Replies
View Related
Mar 27, 2011
Is there a way to "save" a layout of terminals on Ubuntu?Let's say I have 4 Terminals on a workspace that I'd like to save/restore at will, how could I do this?UPDATE:create gnome-terminal desktop entryedit the preferences and under "Title and Command" be sure to set "Keep initial title" for "When terminal commands set their own titles"use wmctrl (available on universe repo) to control windowUsing the above procedure, one can create as many desktop profiles for gnome terminals and control them by "title" using wmtrl -R $title_here.The profiles are kept under ~/.gconf/apps/gnome-terminal/profiles.
View 2 Replies
View Related
Jan 19, 2011
The usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and paste in another) and if so, how?
View 1 Replies
View Related
Jan 19, 2010
I am making a bash script. I have captured user input like so. code...
But it does not work. Airodump-ng "takes over" and the script does not continue.
How do I make it so that I can make a new Terminal, or allow more commands to take place on the current one, allow the output from airodump-ng to be shown, and keep the caught user input?
I'm using Ubuntu 9.10, GNOME and would like it so that anyone with a GUI Terminal, Konsole or whatever can execute the script successfully.
I'm confused...I looked up on Google and couldn't find anything! Just "Beginners guide to Bash Scripting" and "How to BASH script" but nothing relevant that answer my question!
View 13 Replies
View Related
Sep 3, 2010
I just started using Fedora Linux Console. I know how to open multiple consoles, but i don't know how to close them.
View 5 Replies
View Related
Nov 25, 2010
when i am logged into my server via SSH how can i spawn many ssh terminals? is there a xterm command for this?
View 6 Replies
View Related
Apr 23, 2011
Every time I reboot my linux machine I have to set up 5 or 6 terminals and Im trying to find a way to do this automatically. Bind a script to a shortcut or on startup that starts several terminals (extra point if theyre tabbed) and have each terminal ssh to different servers.
View 3 Replies
View Related
Dec 8, 2010
I am using red hat Linux 4 I have two question.
Normally in GUI interface i open multiple terminal at a time like one for log file and one for configuring any file etc etc.
The problem is normally I do work on run level 3 but in that way how can i open multiple terminal at at time ? Is there any way...
2- When I use the command
Code:
# tail -f /var/log/messages
in GUI i normally close the windows after viewing the log file messages.Is there any hot key by which I can again see the prompt example [root@localhost ~}# to write the command instead of closing the terminal windows ?
View 6 Replies
View Related
Apr 21, 2011
what is short cut key to toggle between pseudo terminals in red hat? how can i create customized short cut keys in red hat?
View 2 Replies
View Related
Mar 24, 2010
socat - exec:'bash -li',pty,stderr,ctty -> bash: no job control in this shell
What options should I use to get fully fledged shell as I get with ssh/sshd? I want to be able to connect the shell to everything socat can handle (SOCKS 5, UDP, OpenSSL), but also to have a nice shell which correctly interprets all keys, various Ctrl+C/Ctrl+Z, tab completion, up/down keys (with remote history).
- Found "setsid" socat option. It fixes "no job control". Now trying to fix Ctrl+D.
- socat file:`tty`,raw,echo=0 exec:'bash -li', pty, stderr, setsid, sigint, sane. Not it handles Ctrl+D/Ctrl+Z/Ctrl+C well, I can start Vim inside it, remote history is OK.
View 1 Replies
View Related
Jun 29, 2011
How would i do a hexdump in Ubuntu for the first track of a HDD? I am looking for a winhex-esque output if that makes sense. The first track has 63 sectors, each 512 bytes long. I tried
dd if=/dev/sda bs=1 count=512 | hexdump -C
but that only gave me what appears to be the MBR, or first sector of the HDD.
View 1 Replies
View Related
Jul 21, 2011
Last day i have faced an attack on Apache/2.2.14 (Ubuntu).A user shoots 53 hits within 20 seconds from same IP and as a result db connections to MySQL increased.
a.) Is there any way in Apache to block these type of requests
b.) how can we trace when this type of attack happened to Apache.
Also I have noticed an entry in Apache error log during attack period
Error Log
[Wed Jul 20 20:28:49 2011] [debug] proxy_util.c(1806): proxy: grabbed scoreboard slot 0 in child 753 for worker http://localhost:8294/
[Wed Jul 20 20:28:49 2011] [debug] proxy_util.c(1825): proxy: worker http://localhost:8294/ already initialized
[Code].....
View 7 Replies
View Related
Mar 18, 2011
At my office we are having a samba sever, staff will access their respective folder from their Windows XP systems. I wish to track all user access activity like file creation, modification, deletion and etc. I tried smbstatus -v, from the output I am not able to guess what the user done. I am giving some of the results I get please help me or you can suggest best way to get access log.
Samba version 3.0.25b-0.el5.4
PID Username Group Machine
14721 govind govind tsl-019 (10.0.2.64)
4832 chandra chandra trivent-9b92c9c (10.0.2.106)
Service pid machine Connected at
[Code]...
View 2 Replies
View Related
Sep 4, 2010
Possible Duplicate: time tracking application on linux Every Linux time-tracking application I've seen assumes you're tracking time for projects, perhaps to create invoices later for your clients. This is not what I'm looking for. Rather, I just want some insight into how I spend my time on my computer. I'd like to waste less time on my computer, and spend my time on more productive tasks. The first step to improving anything is to measure it. But I can't be bothered or remember to click on some icon and switch "projects" every time I change from my terminal to browsing ....., or something like that. I want the time I spend on different applications tracked automatically.
View 1 Replies
View Related
Mar 15, 2011
I tried to install this RPM file and Yum says it's installed but when I type procexp in the shell it states that command not found. So how do I track the problem down?
View 5 Replies
View Related
Mar 31, 2010
I have been trying for like 2wks to figure out why I keep getting seg faults in Viper WM from slackbuilds.I have it on 6 diff versions of slack, 12.2-current and also in debian and arch.In all of them VWM crashes with seg fault?!I really like it alot and need to figure out what the issue is?
View 2 Replies
View Related
Feb 3, 2010
I received a DVD of my son playing hockey at the Verizon Center in DC. The accompanying audio only comes out of the right channel. I would like to modify it so the same audio comes out of both channels. I have already done some reauthoring (changed the aspect ratio from 4:3 to 16:9). How to modify/edit an AVI to fix my audio issue. Here is a copy of the video on .....: [URL]
View 9 Replies
View Related
Apr 4, 2010
I wanted to show a track from a CD to a friend who uses Windows. I tried to rip it in MP3 (LAME) format, because I couldn't remember whether Windows Media Player can read OGG or FLAC (whatever that is) format. Due to some kind of error (no explanation given other than "command failed"), my K3B would not rip in MP3. Which of the formats can Windows Media Player read? I know it can read WAV, but that's inconveniently large to send by e-mail or over an instant messenger.
View 9 Replies
View Related