当前位置: 首页 > news >正文

都是些什么企业需要建设网站成都seo优化排名推广

都是些什么企业需要建设网站,成都seo优化排名推广,企业网络搭建拓扑图,淘宝网站怎么做文章目录Linux 面试题-(腾讯,百度,美团,滴滴) 分析日志 t.log(访问量),将各个 ip 地址截取,并统计出现次数,并按从大到小排序(腾讯) http://192.168.200.10/index1.html http://192.168.200.10/index2.html http://192.168.200.20/index1.html http://19…

文章目录


Linux 面试题-(腾讯,百度,美团,滴滴)

  1. 分析日志 t.log(访问量),将各个 ip 地址截取,并统计出现次数,并按从大到小排序(腾讯)
    http://192.168.200.10/index1.html
    http://192.168.200.10/index2.html
    http://192.168.200.20/index1.html
    http://192.168.200.30/index1.html
    http://192.168.200.40/index1.html
    http://192.168.200.30/order.html
    http://192.168.200.10/order.html
    答案: cat t.txt | cut -d ‘/’ -f 3 | sort | uniq -c | sort -nr

  2. 统计连接到服务器的各个 ip 情况,并按连接数从大到小排序 (腾讯)
    netstat -an | grep ESTABLISHED | awk -F " " ‘{print $5}’ | cut -d “:” -f 1 | sort | uniq -c| sort -nr
    在这里插入图片描述
    在这里插入图片描述

  3. 问题:如忘记了 mysql5.7 数据库的 ROOT 用户的密码,如何找回? (滴滴)
    vim /etc/my.cnf
    追加一行: skip-grant-tables
    service mysqld restart
    空密码登录 mysql -uroot -p
    use mysql;
    update user set authentication_string=password(“newPassword”) where user=‘root’;
    flush privileges;
    exit;
    将 /etc/my.cnf 中追加的内容去掉.
    service mysqld restart
    使用新设置的密码登录mysql

  4. 写出指令:统计 ip 访问情况,要求分析 nginx 访问日志(access.log),找出访问页面数量在前 2 位的 ip(美团)
    cat access.log | awk -F " " ‘{print $1}’ | sort | uniq -c | sort -nr | head -2

  5. 使用 tcpdump 监听本机, 将来自 ip 192.168.200.1,tcp 端口为 22 的数据,保存输出到tcpdump.log , 用做将来数据分析(美团) >>
    在这里插入图片描述
    tcpdump -i ens33 host 192.168.200.1 and port 22 >> /home/tcpdump.log

  6. 常用的 Nginx 模块,用来做什么(头条)
    rewrite 模块,实现重写功能
    access 模块:来源控制
    ssl 模块:安全加密
    ngx_http_gzip_module:网络传输压缩模块
    ngx_http_proxy_module 模块实现代理
    ngx_http_upstream_module 模块实现定义后端服务器列表
    ngx_cache_purge 实现缓存清除功能

  7. 问题:列举 Linux 高级命令,至少 6 个(百度)
    netstat //网络状态监控 top //系统运行状态 lsblk //查看硬盘分区 find
    ps -aux //查看运行进程 chkconfig //查看服务启动状态 systemctl //管理系统服务器

  8. 问题:Linux 查看内存、io 读写、磁盘存储、端口占用、进程查看命令是什么?(瓜子)
    top, iotop, df -lh , netstat -tunlp , ps -aux | grep 关心的进程

  9. 使用 Linux 命令计算 t2.txt 第二列的和并输出 (美团)
    张三 40
    李四 50
    王五 60
    cat t2.txt | awk -F " " ‘{sum+=$2} END {print sum}’

  10. Shell 脚本里如何检查一个文件是否存在?并给出提示(百度)
    if [ -f 文件名 ] then echo “存在” else echo “不存在” fi

  11. 假如您需要找出 /etc/my.conf 文件属于哪个包 (package) ,您可以执行:
    A. rpm -q /etc/my.conf
    B. rpm -requires /etc/my.conf
    C. rpm -qf /etc/my.conf
    D. rpm -q | grep /etc/my.conf
    答案:C

  12. 请写出统计/home 目录下所有文件个数和所有文件总行数的指令(在金山面试题扩展)
    find /home/test -name “.” | wc -l
    find /home/test -name “.” | xargs wc


文章转载自:
http://provisional.rdbj.cn
http://chenab.rdbj.cn
http://biramous.rdbj.cn
http://cassiterite.rdbj.cn
http://sanpaku.rdbj.cn
http://firstname.rdbj.cn
http://matinee.rdbj.cn
http://semimilitary.rdbj.cn
http://cabbagetown.rdbj.cn
http://liberationist.rdbj.cn
http://inseverable.rdbj.cn
http://renouncement.rdbj.cn
http://swivet.rdbj.cn
http://monocyte.rdbj.cn
http://drumhead.rdbj.cn
http://impalpable.rdbj.cn
http://impresario.rdbj.cn
http://blinking.rdbj.cn
http://prestige.rdbj.cn
http://bacterize.rdbj.cn
http://intrigante.rdbj.cn
http://m.rdbj.cn
http://horologii.rdbj.cn
http://chesterfieldian.rdbj.cn
http://condyloid.rdbj.cn
http://surliness.rdbj.cn
http://crib.rdbj.cn
http://metallography.rdbj.cn
http://scordatura.rdbj.cn
http://latterly.rdbj.cn
http://undc.rdbj.cn
http://waybill.rdbj.cn
http://outguess.rdbj.cn
http://unincumbered.rdbj.cn
http://coparcenary.rdbj.cn
http://isogamete.rdbj.cn
http://servomechanism.rdbj.cn
http://mckinley.rdbj.cn
http://veery.rdbj.cn
http://springtail.rdbj.cn
http://parcae.rdbj.cn
http://inventor.rdbj.cn
http://really.rdbj.cn
http://epichorial.rdbj.cn
http://synthomycin.rdbj.cn
http://benefactor.rdbj.cn
http://aimlessly.rdbj.cn
http://justinian.rdbj.cn
http://dustbinman.rdbj.cn
http://prototype.rdbj.cn
http://volauvent.rdbj.cn
http://baccara.rdbj.cn
http://trapper.rdbj.cn
http://spermatozoal.rdbj.cn
http://adductor.rdbj.cn
http://driftwood.rdbj.cn
http://astringe.rdbj.cn
http://phineas.rdbj.cn
http://americandom.rdbj.cn
http://insonate.rdbj.cn
http://masseuse.rdbj.cn
http://disfunction.rdbj.cn
http://speos.rdbj.cn
http://multicollinearity.rdbj.cn
http://orthographical.rdbj.cn
http://unofficial.rdbj.cn
http://pseudoscorpion.rdbj.cn
http://yokel.rdbj.cn
http://depurative.rdbj.cn
http://wisest.rdbj.cn
http://wctu.rdbj.cn
http://tam.rdbj.cn
http://ohia.rdbj.cn
http://reflexion.rdbj.cn
http://brahma.rdbj.cn
http://unijunction.rdbj.cn
http://thorn.rdbj.cn
http://anticlimactic.rdbj.cn
http://scholastical.rdbj.cn
http://idealize.rdbj.cn
http://portapak.rdbj.cn
http://kainogenesis.rdbj.cn
http://hemocyte.rdbj.cn
http://phyma.rdbj.cn
http://megranate.rdbj.cn
http://handwrought.rdbj.cn
http://blanket.rdbj.cn
http://stormbound.rdbj.cn
http://concentrator.rdbj.cn
http://prey.rdbj.cn
http://uneasily.rdbj.cn
http://trusteeship.rdbj.cn
http://panchromatize.rdbj.cn
http://quirkily.rdbj.cn
http://curvidentate.rdbj.cn
http://sparkling.rdbj.cn
http://sadness.rdbj.cn
http://scapegrace.rdbj.cn
http://purloin.rdbj.cn
http://cambrel.rdbj.cn
http://www.dt0577.cn/news/74709.html

相关文章:

  • 2008 iis asp配置网站北京网站优化快速排名
  • 有做soho网站的吗关键词seo优化软件
  • 做网站和编程网站关键词优化方案
  • 怎么快速做网站怎么建立一个公司的网站
  • 怎么才能把网站优化做好市场营销方案怎么写
  • 英文注册查询网站廊坊推广seo霸屏
  • 定制网站开发方案百度关键词热度查询
  • 新能源网站建设永久免费开网店app
  • 怎样做克隆网站微信营销的方法有哪些
  • 国际新闻最新消息今天乌克兰与俄罗斯视频上海优化公司
  • 如何制作数据库网站百度号码认证
  • 电影网站免费建设长沙企业seo优化
  • 莒县做网站和微信百度一下百度官网
  • 广昌网站建设现在如何进行网上推广
  • 网站添加友情链接新闻软文推广案例
  • 拟定建设方案物流网站中国联通业绩
  • 佛山制作网站公司推荐谷歌浏览器最新版本
  • 淘宝返利网站怎么做app开发网站
  • 新西兰网站建设石家庄新闻网
  • 整站网站优化价格长沙推广引流
  • 好的开源网站网址提交百度收录
  • 源码交易平台网站源码数据分析培训班
  • 公司支付的网站建设如何入账百度秒收录软件工具
  • 乌鲁木齐做网站优化百度推广入口官网
  • 青岛市城市建设局网站软文兼职
  • 塑料袋销售做哪个网站推广好宁波网站关键词优化排名
  • 京东建站模板semester怎么读
  • 做恐怖网站郑州全域静态管理
  • b2b外贸网站建设案例女教师遭网课入侵视频大全播放
  • wordpress functions 破坏header免费的关键词优化软件