搜索结果

跳到导航 跳到搜索

页面标题匹配

  • sed -i "s/$/&,/g" youfile
    7 KB(408个字) - 2022年12月8日 (四) 06:04
  • sed 删除或者替换 有关键字的一行 , for 一下什么的,多少个服 sed -i '/SERVER_INIT_TIME/ s/.*//g' Config.php
    863字节(84个字) - 2019年12月26日 (四) 03:05
  • sed -n 'n1,n2p' log > yuowant.log ….log中截取 16/Aug/2010:14:31:30到17/Aug/2010:10:12:07间的日志信息,并输出到log.txt中,我的思路,用sed打印16/Aug/2010:14:31:30和17/Aug/2010:10:12:07间的日志并>
    2 KB(194个字) - 2022年8月24日 (三) 06:59

页面内容匹配

  • [[Sed skill]] =sed=
    501字节(33个字) - 2022年5月23日 (一) 05:57
  • cat php.ini | grep -v \;|sed '/^$/d' > == sed ==
    2 KB(198个字) - 2019年10月14日 (一) 13:52
  • [[Sed skill]] [evan@prod-core-mongo ~]$ sudo ip a | grep eth0| awk '{print $2}'|sed -n '2p'
    516字节(80个字) - 2021年11月22日 (一) 05:39
  • sed 删除或者替换 有关键字的一行 , for 一下什么的,多少个服 sed -i '/SERVER_INIT_TIME/ s/.*//g' Config.php
    863字节(84个字) - 2019年12月26日 (四) 03:05
  • ==方法1:sed== cat sdkv2.52wan.ol.net.access.log-20170627 | egrep "27/Jun/2017" | sed -n '/00:00:18/,/00:00:19/p'
    404字节(45个字) - 2019年11月30日 (六) 11:15
  • sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/ssh sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/ss
    1 KB(185个字) - 2023年9月21日 (四) 10:50
  • =sed=
    483字节(27个字) - 2021年11月2日 (二) 07:27
  • sed -i "s/$/&,/g" youfile
    7 KB(408个字) - 2022年12月8日 (四) 06:04
  • sed -i "[email protected]@163.com@g" sources.list sed -i "s@http://.*archive.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/ap
    3 KB(433个字) - 2020年5月18日 (一) 07:27
  • sed -n 'n1,n2p' log > yuowant.log ….log中截取 16/Aug/2010:14:31:30到17/Aug/2010:10:12:07间的日志信息,并输出到log.txt中,我的思路,用sed打印16/Aug/2010:14:31:30和17/Aug/2010:10:12:07间的日志并>
    2 KB(194个字) - 2022年8月24日 (三) 06:59
  • sed -i '/HOSTNAME/ s/.*/HOSTNAME=notuse/g' /etc/sysconfig/network && hostname… /bin/sed -i ‘/ServerIndex/ s/.*/ServerIndex=’${ServerIndexno}’/’ World.txt
    1 KB(123个字) - 2019年10月14日 (一) 13:55
  • # ./scripts/mysql_install_db --user=mysql --basedir=/data/apps/mysql/ --datadir=/data/apps/mysql/data/ #sed -i 's@executing mysqld_safe@executing mysqld_safe\nexport LD_PRELOAD=/usr/l
    10 KB(1,501个字) - 2021年9月24日 (五) 09:27
  • #use sed no Interaction sed -i 's/^PermitRootLogin yes$/PermitRootLogin no/' /etc/ssh/sshd_config
    5 KB(422个字) - 2022年5月25日 (三) 11:24
  • "*#*" { send "sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/g' /etc/ssh/sshd_c send "sed -i 's/^PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/ssh
    5 KB(628个字) - 2020年1月2日 (四) 07:21
  • #sed使用\1反向引用前面匹配的组。
    5 KB(492个字) - 2022年12月8日 (四) 05:50
  • root@ubuntu-200470-1:~/metri# sed -i "s#k8s.gcr.io/metrics-server#registry.cn-hangzhou.aliyuncs.com/chenby#g"
    2 KB(219个字) - 2023年10月18日 (三) 04:20
  • str=`sensors | grep Core | awk '{print $3}'|sed -n '1p' | tr -cd "[0-9]"`
    1 KB(132个字) - 2022年1月12日 (三) 06:27
  • sed -i '4a set encoding=utf-8' /etc/vimrc
    775字节(33个字) - 2019年10月14日 (一) 13:48
  • #sed -i "s/JAVA_HOME=\/usr\/java\/default\//JAVA_HOME=\/usr\/java\/jdk1.8.0_121\ #sed -i "s/CATALINA_HOME=\/data\/service\/pinpoint-collector\//CATALINA_HOME=\/d
    8 KB(1,008个字) - 2019年10月14日 (一) 13:55
  • sed -i 's!listen-on port 53 { 127.0.0.1; };!listen-on port 53 { any; };!' /etc/ sed -i 's!allow-query { localhost; };!allow-query { any; };!' /etc/name
    5 KB(462个字) - 2019年10月14日 (一) 13:48
  • SED: sed [options] sedcommand inputfile >outputfile
    16 KB(1,087个字) - 2022年11月10日 (四) 07:55
  • sed -i "s#k8s.gcr.io#registry.aliyuncs.com/k8sxio#g" /etc/containerd/config.to sed -i '/containerd.runtimes.runc.options/a\ \ \ \ \ \ \ \ \ \ \ \ SystemdCgrou
    7 KB(748个字) - 2022年8月12日 (五) 08:46
  • sed -i 's/enforcing/disabled/g' /etc/selinux/config sed -i "s/#PubkeyAuthentication yes/PubkeyAuthentication yes/g" /etc/ssh/sshd_c
    10 KB(1,130个字) - 2022年9月1日 (四) 09:21
  • sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
    2 KB(278个字) - 2019年10月14日 (一) 13:48
  • sed -i 's/bind 127.0.0.1/bind 0.0.0.0/' 6379.conf
    1 KB(83个字) - 2019年10月14日 (一) 13:52
  • sed -i 's/stretch/buster/g' /etc/apt/sources.list sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sou
    9 KB(1,008个字) - 2023年10月9日 (一) 06:30
  • …://blog.csdn.net/jk110333/article/details/7690868 如上面不行就参考这个shell实现:读文件一行,sed操作文件某一行]
    3 KB(244个字) - 2020年2月3日 (一) 12:25
  • 追加内容: sed 的好像不成功 sed修改内容:
    7 KB(667个字) - 2020年1月16日 (四) 09:02
  • #bin/mysqld --initialize-insecure --user=mysql --basedir=/data/app/mysql --datadir=/data/apps/mysql/data/ > /dev/null 2>&1 /data/apps/mysql/bin/mysqld --initialize-insecure --user=mysql --basedir=/data/apps/mysql/ --datadir=/data/apps/mysql/data/
    12 KB(1,379个字) - 2019年10月14日 (一) 13:52
  • sed -i 's/port="8005"/port="18005"/g' server.xml sed -i 's/port="8080"/port="18080"/g' server.xml
    25 KB(2,345个字) - 2019年10月14日 (一) 13:52
  • sed -i '/^Hostname/ s/.*/Hostname=zabbix_hk/' /etc/zabbix/zabbix_agentd.conf myhost=`salt 'prod-mq03' cmd.run 'hostname' |sed -n '2p' |awk '{print $1}'`
    21 KB(1,989个字) - 2021年10月15日 (五) 09:24
  • sed -i "s/#PubkeyAuthentication yes/PubkeyAuthentication yes/g" /etc/ssh/sshd_c sed -i "s/^PasswordAuthentication yes/PasswordAuthentication no/g" /etc/ssh/ssh
    9 KB(952个字) - 2022年6月17日 (五) 07:18
  • <pre>sed -i 's#GOGS_HOME=/home/git/gogs#GOGS_HOME=/data/gogs/#' /etc/init.d/gogs&nbs
    3 KB(311个字) - 2019年10月14日 (一) 13:48
  • sed -i '/^Hostname/ s/.*/Hostname=zabbix_hk/' /etc/zabbix/zabbix_agentd.conf
    4 KB(325个字) - 2022年10月25日 (二) 09:20
  • #sed -i 's!/dataDir=/tmp/zookeeper!dataDir=data/apps/zookeeper/data!' /data/apps #sed -i '12 a dataLogDir=/data/logs/zookeeper/' /data/apps/zookeeper/conf/zoo.c
    18 KB(1,471个字) - 2019年10月14日 (一) 13:55
  • sed -i 's!https://updates.jenkins.io/download!https://mirrors.tuna.tsinghua.edu sed -i 's!http://updates.jenkins-ci.org/download!https://mirrors.tuna.tsinghua.
    18 KB(1,695个字) - 2022年5月6日 (五) 07:17
  • # The tcp port used by the publisher # interface used for the file server, authentication, job returnes, etc.
    14 KB(1,597个字) - 2021年9月12日 (日) 09:22
  • sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config && setenfor
    6 KB(620个字) - 2019年10月14日 (一) 13:48
  • Just used for the very first time SSL certificates are issued by Let's Encrypt's #RUN sed -i -e "s@# deny access to .htaccess files, if Apache@${HTTP_PHP_CONFIG}# de
    13 KB(1,445个字) - 2019年10月14日 (一) 13:48
  • CLOSED //无连接是活动的或正在进行 cat access.log| sed -n '/14\/Mar\/2015:21/,/14\/Mar\/2015:22/p'|more
    2 KB(206个字) - 2020年7月6日 (一) 05:52
  • BASEDIR=/usr/local ZABBIX_SUCKERD=$BASEDIR/sbin/zabbix_server</pre>
    29 KB(3,019个字) - 2022年12月8日 (四) 06:17
  • sed -i 's!rabbitmq:3.6.10-management!rabbitmq:3.7.26-management-alpine!' docke sed -i 's!rabbitmq:3.6.10-management!rabbitmq:3.7.26-management-alpine!' docke
    18 KB(1,681个字) - 2021年10月25日 (一) 09:26
  • sed -i 's@pidfile.*@pidfile /var/run/redis/redis.pid@' ${redis_install_dir}/etc sed -i "s@logfile.*@logfile ${redis_install_dir}/var/redis.log@" ${redis_instal
    56 KB(8,411个字) - 2022年10月31日 (一) 06:46
  • #sed -i "s/JAVA_HOME=\/usr\/java\/default\//JAVA_HOME=\/usr\/java\/jdk1.8.0_121\ #sed -i "s/CATALINA_HOME=\/data\/service\/pinpoint-collector\//CATALINA_HOME=\/d
    15 KB(1,289个字) - 2024年2月20日 (二) 14:44
  • sed -i "s=${a}*=#&=" $fstab_file
    9 KB(1,229个字) - 2021年12月8日 (三) 03:48
  • …called port mapping: programs running inside Docker containers may be exposed with a different port compared to the one the program believes to be using. 批量替换 sed
    33 KB(3,524个字) - 2021年9月24日 (五) 08:41
  • sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux
    9 KB(766个字) - 2019年10月14日 (一) 13:55
  • ==sed awk == sed -n ’1,3p’ file1
    38 KB(1,368个字) - 2022年10月5日 (三) 15:03
  • Manually-specified variables were not used by the project: ./bin/mysql_install_db --user=mysql --basedir=/data/apps/mysql --datadir=/data/mysql
    15 KB(1,533个字) - 2019年10月14日 (一) 13:48
  • 目前有三种IP负载均衡技术(VS/NAT、VS/TUN和VS/DR),十种调度算法(rrr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq) curl: (7) Failed to connect to 148.66.11.240 port 80: Connection refused
    21 KB(1,705个字) - 2019年10月15日 (二) 07:34
  • sed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opk
    20 KB(1,253个字) - 2023年8月26日 (六) 06:16
  • used_memory:2653536 used_memory_human:2.53M
    19 KB(1,309个字) - 2022年11月22日 (二) 01:02
  • sed -i "s/cgroup-driver=systemd/cgroup-driver=cgroupfs/g" /etc/systemd/system/k …y -f kube-flannel.yml The connection to the server localhost:8080 was refused - did you specify the right host or port?
    29 KB(3,072个字) - 2021年8月28日 (六) 14:48
  • 3 sed -i 's#Server:nginx#Server:Apache#g' ngx_http_header_filter_module.c
    25 KB(1,544个字) - 2021年11月1日 (一) 06:44
  • "stderr": "Shared connection to 192.168.10.5 closed.\r\n", "Shared connection to 192.168.10.5 closed."
    37 KB(3,511个字) - 2023年9月26日 (二) 06:50
  • moused_enable=" YES" moused_enable="YES"
    59 KB(6,678个字) - 2024年5月1日 (三) 15:44
  • # deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free # deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
    88 KB(8,462个字) - 2024年4月29日 (一) 02:02