I am working on Red Hat Linux since last six months and learning it steps by steps. like configurating ftp server,NSF ,DNS and then email server. I want to learn squid server but technically before going into it what you suggest me that may I first learn to configure Linux as a router,Firewall machine or do IP masquerading on a server. Because all these things are directly or indirectly involve in squid.So guide me because going to start squid i may understand Linux IP table ,how to add entries in it,how to delete entries ,I think you understand my point which i want to ask for guidence.
In my organization, we have a centralized home directory for all users which gets mounted from all the machine where user logs in.Since any XYZ user can login to any of hundreds test machines and run 'sudo su - myusername', hence taking control of my home dir.How do I track who took control of my home dir and deleted its contents.
Possible Duplicate: Can history files be unified in bash? I have bash running in an ssh session, call this session A. I leave the office, go home, ssh to the same box, call this session B. From session B, I'd like to be able to look at the history of session A.
How can I get/filter history entries in a specific range?I have a large history file and frequently usehistory | grep somecommandNow, my memory is pretty bad and I also want to see what else I did around the time I entered the command.For now I do this:get match, say 4992 somecommand, then I do history | grep 49[0-9][0-9]this is usually good enough, but I would much rather do it more precisely, that is see commands from 4972 to 5012, that is 20 commands before and 20 after. I am wondering if there is an easier way? I suspect, a custom script is in order, but perhaps someone else has done something similar before.
I would like to keep track of not only what bash commands I used and when, but also where they were issued from, i.e. what was the current working directory when I issued "foobar" on a particular day and time. Can we ask bash history to keep track of working directories too? I have tried to get an idea of this reading the enormous "man bash", but I don't seem to have an answer yet either way.
Is it possible to use the keyboard in order to select some text in the terminal windows that is not in the currently edited line? (for example, in order to copy part of previous command output).
I'm using RHEL 5.0 and i want to delete history for n users at a time.i can use history -c from each user login and delete but i want another way.or i want to create a shell script by using which i can do d task at a glance for all users.
So I have some entries like the ones below. I have a system setup to do all the routing/dhcp/dns. This is a private network for education purposes only, and I have no idea how half of these addresses got in the arp table.
how to just clear the table. That's all I want. Is that too much to ask? I also noticed in Wireshark that packets are constantly being sent to find the MAC address that these IPs belong too. I really want that to stop happening.
EDIT: I have also tried using ip neighbor. I ran "ip neighbor del 192.58.128.30 dev eth0", and it gave no errors but didn't remove the entry. All the ones without a MAC are also listed as FAILED in ip neighbor.
Before Ubuntu I used m8, and the boot options for m8 still shows up in the grub startup screen. I want to get rid of those m8 entries. I have edited grub in the past, and it was just a regular text file, where you could just remove lines or even change listing order.Edit the menu using the command "sudo gedit /boot/grub/menu.lst.No good, there is no such file on my system. After password, That command displays a blank Gedit screen.
I want Firefox to delete history after several days. Can I configure it this way?"Remember my browser history for at least..." is not the option which does it, right?
I thought I would give Gwibber a a try, so I set up my Twitter account with it. Seemed to work just fine. However, when I deleted the Twitter account from Gwibber, the messages I previously downloaded are still in the main window. I've checked for ".gwibber" in the home folder, but there's not one. So, I did a search on the machine for all Gwibber folders, and none had any message history in it.
I am using squid proxy server for sharing Internet in my internal network. I would like to know that how can I check the browsing history by individual users web surfing history by their IP addresses?
My laptop is set to dual boot, either Ubuntu 9.10 or Windows Vista. The GRUB loader has multiple entries, starting with Ubuntu, then several instances of Ubuntu recovery mode, before memory test and two entries for Vista, the first of which does not work. How do I delete the unwanted entries? I can press "e" to edit them, but if I do so how do I actually delete them, assuming it is safe to do so.
I am using skype in fedora 9. I am searching how can I delete skype call/chat history. I have searched some .dbb files in /home/<username>/.Skype/<skyID> directory like chatmsg2048.dbb. Can I safely remove these files in order to delete my chat history. Also, I cannot view these .dbb files in gedit. If I can read these files, I can better decide which history I need to delete.
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?
I would like to remove OR move down the "create folder, launcher etc" so the first button can be Open Terminal. I have used both NACT and nautilus-actions to get the Open Terminal on the menu - but I would like it to be on the top (old habit).
I am running Ubuntu 10.04 on one 80GiB disk partitioned as two equal. The second one is mounted as my home folder. The reasons for the partitioning are historic and I don't think they're relevant here.
My problem is that Ubuntu frequently reports 'Low Disk Space'. The initial solution was to turn off backups and that seemed to ease the problem. Now it has started happening again, but backups are still turned off. I can't see anything unusual in the tmp directory - or anywhere come to that - but I don't really know where to look.
I have searched for known leaky problems but haven't found anything that seems to fit. I don't store images, videos or music.
I have 2 external hdd in wich I have all my files.... yesterday, I have copied all the files from hdd1 to hdd2 and I want to eliminate duplicates so I used FSLint to find them, now, I have a txt file that looks like this code...
now I want to make a shell script to delete all the files/entries (read from the log file) that begin with code...
installed Ubuntu Server Edition and I've found that my first user has a bash history and I can turn on a coloured prompt by editing my .bashrc etc but new users don't have that!I did : useradd -d /home/newb -m newbpasswd newband the correct looking .bashrc file appears to be in /home/newb but it is being ignore by bash when logged in as newb. Instead I am presented with just a dollar prompt instead of "newb@server"how can I sort out my users with proper prompts?