LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-01-2011, 01:33 AM   #1
shyamsrule
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
Arrow What for the following commands are used in RedHat linux?


/etc/init.d/squid restart
killall -9 squid
vi /etc/squid/squid.config
vi /etc/squid/bad_domains.acl
vi /etc/squid/goodsites
vi /etc/resolv.conf
netstat
netstat -tap
ntsysv
cat /etc/squid/errors/ERR_ACCESS_DENIED
echo 1 > /proc/sys/net/Ipv4/Ip_forward
vi /var/log/squid/access.log
date -s “09 june 2011 22:08:00”
date –s=“09 june 2011 22:08:00”
sarg –d 08/06/2011 09/06/2011
vi bad_domains.acl
vi route.sh
ls
cd /etc/squid/
sh /etc/squid/route.sh
vi /etc/squid/route.sh
route add –net 10.0.25.0 netmask 255.255.255.0 gw 192.168.3.9 dev eth1
vim –r bad_domains.acl
ls –l
vi /etc/hosts.deny
vi /etc/hosts.allow
vi /etc/squid/?
 
Old 07-01-2011, 03:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
No no no, that's really NOT how to use a forum.

all the lines starting with "vi" are to edit a file.

The rest are used to do what they do. refer to standard documentation or maybe actually describe why you want to know this. It's a *very* odd thing to ask with no reason, and I'm sure you would get more useful information if you asked a rational question.
 
Old 07-01-2011, 03:36 AM   #3
dEnDrOn
Member
 
Registered: Jun 2011
Location: oMNipre$ent
Distribution: fedora
Posts: 511
Blog Entries: 12

Rep: Reputation: Disabled
Exclamation

Quote:
Originally Posted by shyamsrule View Post
/etc/init.d/squid restart
killall -9 squid
vi /etc/squid/squid.config
vi /etc/squid/bad_domains.acl
vi /etc/squid/goodsites
vi /etc/resolv.conf
netstat
netstat -tap
ntsysv
cat /etc/squid/errors/ERR_ACCESS_DENIED
echo 1 > /proc/sys/net/Ipv4/Ip_forward
vi /var/log/squid/access.log
date -s “09 june 2011 22:08:00”
date –s=“09 june 2011 22:08:00”
sarg –d 08/06/2011 09/06/2011
vi bad_domains.acl
vi route.sh
ls
cd /etc/squid/
sh /etc/squid/route.sh
vi /etc/squid/route.sh
route add –net 10.0.25.0 netmask 255.255.255.0 gw 192.168.3.9 dev eth1
vim –r bad_domains.acl
ls –l
vi /etc/hosts.deny
vi /etc/hosts.allow
vi /etc/squid/?
why r u asking such random question...please be specific.....
you are really scaring me.....
 
Old 07-01-2011, 03:54 AM   #4
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
this is someone doing network admin, and web proxy admin.
because lot of it is using vi, you have no way of knowing what they did inside those vi sessions, so no way of knowing what they actually did (unless you have a backup to compare those files with).

next time, to get more valuable answers, you should be more specific, just ask one question instead of copying and pasting 30 commands.

and give more context, such as "we think we had an intrusion on our proxy server, and would like to know what may have been hacked"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron job with privileged commands - redhat linux Abhy Linux - Newbie 1 07-12-2010 11:46 AM
Linux -Redhat Commands Question madcatver1 Linux - General 1 01-29-2008 09:48 AM
commands in redhat seawolf other than in redhat 7 gsr_kashyap Red Hat 0 07-09-2004 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration