{"id":24160,"date":"2025-11-27T15:24:44","date_gmt":"2025-11-27T11:54:44","guid":{"rendered":"https:\/\/orderhost.net\/blog\/?p=24160"},"modified":"2025-11-27T15:25:00","modified_gmt":"2025-11-27T11:55:00","slug":"delete-multiple-lines-via-ssh","status":"publish","type":"post","link":"https:\/\/orderhost.net\/blog\/delete-multiple-lines-via-ssh\/","title":{"rendered":"\u2702\ufe0f\u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 \u062d\u0630\u0641 \u0686\u0646\u062f\u06cc\u0646 \u062e\u0637 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \ud83d\udda5\ufe0f\u26a1"},"content":{"rendered":"<h2 data-start=\"364\" data-end=\"593\">\u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 \u062d\u0630\u0641 \u0686\u0646\u062f\u06cc\u0646 \u062e\u0637 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH<\/h2>\n<p data-start=\"364\" data-end=\"593\">SSH \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u0627\u0646 <a href=\"https:\/\/orderhost.net\/vps\">\u0633\u0631\u0648\u0631<\/a>\u060c \u0645\u062a\u062e\u0635\u0635\u0627\u0646 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0648 \u0645\u062f\u06cc\u0631\u0627\u0646\u200c \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u0627\u0633\u062a. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0647\u0631 \u0645\u06a9\u0627\u0646 \u0628\u0647\u200c\u0635\u0648\u0631\u062a <strong data-start=\"495\" data-end=\"522\">\u0627\u06cc\u0645\u0646\u060c \u0633\u0631\u06cc\u0639 \u0648 \u0628\u062f\u0648\u0646 \u0648\u0627\u0633\u0637\u0647<\/strong> \u0628\u0647 <a href=\"https:\/\/orderhost.net\/vps\">\u0633\u0631\u0648\u0631<\/a> \u062e\u0648\u062f \u0645\u062a\u0635\u0644 \u0634\u0648\u06cc\u062f \u0648 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u060c \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627 \u0648 \u0641\u0631\u0622\u06cc\u0646\u062f\u0647\u0627 \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u06cc\u06a9\u06cc \u0627\u0632 \u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0645\u0647\u0645 \u0647\u0631 \u0645\u062f\u06cc\u0631 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a\u060c \u0627\u062f\u0645\u06cc\u0646 \u0634\u0628\u06a9\u0647 \u0648 \u0645\u062a\u062e\u0635\u0635 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a. \u062f\u0631 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627 \u0644\u0627\u0632\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f\u061b \u0645\u062e\u0635\u0648\u0635\u0627\u064b \u0648\u0642\u062a\u06cc \u0631\u0648\u06cc \u0633\u0631\u0648\u0631\u060c \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0645\u0647\u0645\u06cc \u0645\u0627\u0646\u0646\u062f \u062a\u0646\u0638\u06cc\u0645\u0627\u062a Nginx\u060c Apache\u060c PHP \u06cc\u0627 Cronjob \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u0646\u062f. \u062f\u0631 \u0686\u0646\u06cc\u0646 \u0634\u0631\u0627\u06cc\u0637\u06cc\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0648 \u0627\u0628\u0632\u0627\u0631 \u0642\u062f\u0631\u062a\u0645\u0646\u062f <strong>Vim<\/strong> \u0628\u0647\u062a\u0631\u06cc\u0646 \u0648 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0645\u062d\u0633\u0648\u0628 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p><div class=\"order-2\" id=\"order-3616044967\"><style>\r\n\/* \ud83c\udfa8 \u0627\u0633\u062a\u0627\u06cc\u0644 \u06a9\u0644\u06cc \u0628\u0646\u0631 \u062a\u0628\u0644\u06cc\u063a *\/\r\n.orderhost-banner {\r\n  width: 100%;\r\n  max-width: 660px;\r\n  margin: 20px auto;\r\n  display: flex;\r\n  flex-wrap: wrap;\r\n  direction: rtl;\r\n  font-family: 'IRANSans', sans-serif;\r\n  border-radius: 10px;\r\n  overflow: hidden;\r\n  box-shadow: 0 3px 10px rgba(0,0,0,0.1);\r\n  background: #f9f9f9;\r\n}\r\n\r\n\/* \ud83d\udd38 \u0628\u062e\u0634 \u0631\u0627\u0633\u062a (\u062a\u0635\u0648\u06cc\u0631 \u0628\u0631\u0646\u062f \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u0633\u200c\u0632\u0645\u06cc\u0646\u0647) *\/\r\n.orderhost-banner .right {\r\n  flex: 1 1 30%;\r\n  position: relative;\r\n  overflow: hidden;\r\n  background: linear-gradient(135deg, var(--brand-color1, #ff9800), var(--brand-color2, #f57c00));\r\n}\r\n\r\n.orderhost-banner .right img {\r\n  width: 100%;\r\n  height: 100%;\r\n  object-fit: cover; \/* \ud83d\udcf8 \u067e\u0631 \u06a9\u0631\u062f\u0646 \u06a9\u0627\u0645\u0644 \u0628\u062f\u0648\u0646 \u06a9\u0634\u06cc\u062f\u06af\u06cc *\/\r\n  object-position: center;\r\n  display: block;\r\n}\r\n\r\n\/* \ud83d\udd39 \u0628\u062e\u0634 \u0686\u067e (\u0645\u062a\u0646 \u062a\u0628\u0644\u06cc\u063a) *\/\r\n.orderhost-banner .left {\r\n  flex: 1 1 70%;\r\n  background: #351158;\r\n  padding: 10px 20px;\r\n  box-sizing: border-box;\r\n}\r\n\r\n\/* \ud83d\udcdd \u0639\u0646\u0648\u0627\u0646 \u062a\u0628\u0644\u06cc\u063a *\/\r\n.orderhost-banner h3 {\r\n  color: #fff;\r\n  font-size: 16px;\r\n  font-weight: bold;\r\n  margin: 0 0 5px 0;\r\n}\r\n\r\n\/* \ud83d\udcc4 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a \u062a\u0628\u0644\u06cc\u063a *\/\r\n.orderhost-banner p {\r\n  color: #fff;\r\n  font-size: 14px;\r\n  margin: 0 0 10px 0;\r\n  line-height: 1.6;\r\n}\r\n\r\n\/* \ud83d\udd18 \u062f\u06a9\u0645\u0647 CTA *\/\r\n.orderhost-banner a.button {\r\n  display: inline-block;\r\n  background: #fff;\r\n  color: #351158;\r\n  text-decoration: none;\r\n  padding: 7px 16px;\r\n  border-radius: 6px;\r\n  font-size: 14px;\r\n  font-weight: bold;\r\n  transition: 0.3s;\r\n}\r\n.orderhost-banner a.button:hover {\r\n  background: #351158;\r\n  color: #fff;\r\n  border: 1px solid #fff;\r\n}\r\n\r\n\/* \ud83c\udf81 \u0628\u0627\u06a9\u0633 \u06a9\u062f \u062a\u062e\u0641\u06cc\u0641 *\/\r\n.orderhost-banner .discount-box {\r\n  background: rgba(255,255,255,0.2);\r\n  border: 1px dashed #fff;\r\n  border-radius: 5px;\r\n  padding: 5px 10px;\r\n  display: inline-block;\r\n  font-weight: bold;\r\n  color: #fff;\r\n  margin-top: 10px;\r\n  cursor: pointer;\r\n  user-select: none;\r\n  transition: 0.3s;\r\n}\r\n.orderhost-banner .discount-box:hover {\r\n  background: rgba(255,255,255,0.3);\r\n}\r\n\r\n\/* \ud83d\udd14 \u067e\u06cc\u0627\u0645 \u06a9\u067e\u06cc \u0645\u0648\u0641\u0642 *\/\r\n.copy-toast {\r\n  display: none;\r\n  margin: 12px auto 0 auto;\r\n  background: #22bb33;\r\n  color: #fff;\r\n  padding: 10px 16px;\r\n  border-radius: 8px;\r\n  font-size: 14px;\r\n  box-shadow: 0 3px 10px rgba(0,0,0,0.15);\r\n  width: fit-content;\r\n  max-width: 90%;\r\n  text-align: center;\r\n  opacity: 0;\r\n  transform: translateY(6px);\r\n  transition: opacity 0.25s ease, transform 0.25s ease;\r\n}\r\n.copy-toast.show {\r\n  display: inline-block;\r\n  opacity: 1;\r\n  transform: translateY(0);\r\n}\r\n\r\n\/* \ud83d\udcf1 \u062d\u0627\u0644\u062a \u0645\u0648\u0628\u0627\u06cc\u0644 *\/\r\n@media (max-width: 600px) {\r\n  .orderhost-banner {\r\n    flex-direction: column;\r\n    text-align: center;\r\n  }\r\n  .orderhost-banner .right, \r\n  .orderhost-banner .left {\r\n    flex: 1 1 100%;\r\n    height: 200px;\r\n  }\r\n}\r\n<\/style>\r\n\r\n<!-- \ud83d\udce6 \u0628\u0646\u0631 \u062a\u0628\u0644\u06cc\u063a -->\r\n<div id=\"orderhost-banner-container\"><\/div>\r\n<div class=\"copy-toast\" id=\"copy-toast\">\u06a9\u062f \u062a\u062e\u0641\u06cc\u0641 \u06a9\u067e\u06cc \u0634\u062f \u2705<\/div>\r\n\r\n<script>\r\nif (!window.orderhostBannerLoaded) {\r\n  window.orderhostBannerLoaded = true;\r\n\r\n  const adConfig = {\r\n    brandLogo: \"https:\/\/orderhost.net\/blog\/wp-content\/uploads\/2025\/11\/wp-ads.png\", \/\/ \ud83d\udcf8 \u0639\u06a9\u0633 \u06a9\u0627\u0645\u0644 \u0628\u062e\u0634 \u0631\u0627\u0633\u062a\r\n    title: \"\u0647\u0627\u0633\u062a \u0648\u0631\u062f\u067e\u0631\u0633 \u0627\u06cc\u0631\u0627\u0646 \u0648 \u0622\u0644\u0645\u0627\u0646 - \u0633\u0631\u0639\u062a \u0648 \u0627\u0645\u0646\u06cc\u062a \u0628\u0627\u0644\u0627 \ud83d\ude80\",\r\n    description: \"\u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0648\u0628 \u0648\u0631\u062f\u067e\u0631\u0633 \u0628\u0627 \u062f\u06cc\u0633\u06a9 NVMe \u0648 \u06a9\u0646\u062a\u0631\u0644\u200c\u067e\u0646\u0644 \u0633\u06cc\u200c\u067e\u0646\u0644\u060c \u0645\u0646\u0627\u0633\u0628 \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u067e\u0631\u062a\u0631\u0627\u0641\u06cc\u06a9 \u0648 \u0641\u0631\u0648\u0634\u06af\u0627\u0647\u06cc.\",\r\n    discountCode: \"WP50\",\r\n    link: \"https:\/\/orderhost.net\/wordpress-hosting\",\r\n    brandColor1: \"#ff9800\",\r\n    brandColor2: \"#f57c00\"\r\n  };\r\n\r\n  const container = document.getElementById(\"orderhost-banner-container\");\r\n  container.innerHTML = `\r\n    <div class=\"orderhost-banner\"\r\n      style=\"--brand-color1: ${adConfig.brandColor1}; --brand-color2: ${adConfig.brandColor2};\"\r\n    >\r\n      <div class=\"right\">\r\n        <img decoding=\"async\" src=\"${adConfig.brandLogo}\" alt=\"OrderHost Banner\">\r\n      <\/div>\r\n      <div class=\"left\">\r\n        <h3>${adConfig.title}<\/h3>\r\n        <p>${adConfig.description}<\/p>\r\n        <a href=\"${adConfig.link}\" class=\"button\" target=\"_blank\">\u0645\u0634\u0627\u0647\u062f\u0647 \u067e\u0644\u0646\u200c\u0647\u0627<\/a>\r\n        <div class=\"discount-box\" id=\"discount-box\">\u06a9\u062f \u062a\u062e\u0641\u06cc\u0641: ${adConfig.discountCode}<\/div>\r\n      <\/div>\r\n    <\/div>\r\n  `;\r\n\r\n  const discountBox = document.getElementById(\"discount-box\");\r\n  const toast = document.getElementById(\"copy-toast\");\r\n\r\n  discountBox.addEventListener(\"click\", () => {\r\n    navigator.clipboard.writeText(adConfig.discountCode).then(() => {\r\n      toast.classList.add(\"show\");\r\n      setTimeout(() => toast.classList.remove(\"show\"), 2000);\r\n    });\r\n  });\r\n}\r\n<\/script>\r\n<\/div>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u0628\u0647\u200c\u0634\u06a9\u0644 \u06a9\u0627\u0645\u0644\u0627\u064b \u062c\u0627\u0645\u0639\u060c \u0627\u0635\u0648\u0644 \u062d\u0630\u0641 \u062e\u0637\u060c \u062d\u0630\u0641 \u0686\u0646\u062f\u06cc\u0646 \u062e\u0637\u060c \u062d\u0630\u0641 \u0628\u0627\u0632\u0647\u200c\u0627\u06cc \u062e\u0637\u0648\u0637\u060c \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0627\u0644\u06af\u0648 \u0648 \u062d\u062a\u06cc \u067e\u0627\u06a9\u0633\u0627\u0632\u06cc \u06a9\u0627\u0645\u0644 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0628\u062a\u062f\u06cc \u062a\u0627 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647 \u0648 \u062a\u0645\u0627\u0645 \u0645\u0641\u0627\u0647\u06cc\u0645 \u0628\u0627 \u0645\u062b\u0627\u0644 \u0648 \u062a\u0648\u0636\u06cc\u062d \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0647\u0633\u062a\u0646\u062f.<\/p>\n<hr \/>\n<h2 style=\"text-align: justify;\">SSH \u0686\u06cc\u0633\u062a \u0648 \u0686\u0631\u0627 \u0628\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f\u061f \ud83d\udd10\ud83d\ude80<\/h2>\n<p>SSH \u0645\u062e\u0641\u0641 <strong data-start=\"1141\" data-end=\"1157\">Secure Shell<\/strong> \u0627\u0633\u062a \u0648 \u06cc\u06a9 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0631\u0645\u0632\u0646\u06af\u0627\u0631\u06cc\u200c \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0627\u06cc\u0646 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0631\u0627 \u0628\u0627 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u0628\u0633\u06cc\u0627\u0631 \u0628\u0627\u0644\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u062a\u062c\u0631\u0628\u0647\u200c\u0627\u06cc \u0633\u0631\u06cc\u0639\u060c \u0628\u06cc\u200c\u0648\u0627\u0633\u0637\u0647 \u0648 \u0642\u0627\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/p>\n<h2 style=\"text-align: justify;\">\u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc SSH:<\/h2>\n<ul style=\"text-align: justify;\">\n<li>\n<p><strong>\u0627\u0645\u0646\u06cc\u062a \u0628\u0633\u06cc\u0627\u0631 \u0628\u0627\u0644\u0627<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u0633\u0631\u0639\u062a \u0639\u0645\u0644\u06a9\u0631\u062f \u0628\u0627\u0644\u0627 \u0646\u0633\u0628\u062a \u0628\u0647 \u0627\u0631\u062a\u0628\u0627\u0637\u0627\u062a \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u0639\u062f\u0645 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0645\u0631\u0648\u0631\u06af\u0631 \u06cc\u0627 \u0645\u062d\u06cc\u0637 \u062f\u0633\u06a9\u062a\u0627\u067e<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0645\u0644 \u0631\u0648\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u060c \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627 \u0648 \u0641\u0631\u0627\u06cc\u0646\u062f\u0647\u0627\u06cc \u0633\u0631\u0648\u0631<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u0633\u0627\u0632\u06af\u0627\u0631\u06cc \u0628\u0627 \u062a\u0645\u0627\u0645 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u0645\u0627\u0646\u0646\u062f <a href=\"https:\/\/putty.org\/index.html\" target=\"_blank\" rel=\"noopener\">PuTTY<\/a>\u060c Terminal \u0648 <a href=\"https:\/\/mobaxterm.mobatek.net\/\" target=\"_blank\" rel=\"noopener\">MobaXterm<\/a><\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645\u06cc<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u062d\u06cc\u0627\u062a\u06cc<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u0631\u0641\u0639 \u062e\u0637\u0627\u0647\u0627 \u062f\u0631 \u0644\u062d\u0638\u0647<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u062f\u0633\u062a\u0631\u0633\u06cc \u0633\u0631\u06cc\u0639 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0645\u062d\u06cc\u0637 \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc<\/strong><\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u0628\u0647\u200c\u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644\u060c \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0648 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0641\u0627\u06cc\u0644\u200c\u0647\u0627 \u0628\u0627 Vim \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u062a\u0628\u062f\u06cc\u0644 \u0628\u0647 \u06cc\u06a9 \u0645\u0647\u0627\u0631\u062a \u067e\u0627\u06cc\u0647 \u062f\u0631 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<p data-start=\"595\" data-end=\"701\">\u062f\u0631 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0645\u0648\u0627\u0642\u0639 \u0644\u0627\u0632\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f <strong data-start=\"626\" data-end=\"642\">\u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u062e\u0637<\/strong> \u0627\u0632 \u062f\u0627\u062e\u0644 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u06cc\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644:<\/p>\n<ul data-start=\"703\" data-end=\"889\">\n<li data-start=\"703\" data-end=\"750\">\n<p data-start=\"705\" data-end=\"750\">\u062d\u0630\u0641 \u0628\u062e\u0634\u06cc \u0627\u0632 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u06a9\u0627\u0646\u0641\u06cc\u06af Nginx \u06cc\u0627 Apache<\/p>\n<\/li>\n<li data-start=\"751\" data-end=\"789\">\n<p data-start=\"753\" data-end=\"789\">\u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0627\u0636\u0627\u0641\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc Cronjob<\/p>\n<\/li>\n<li data-start=\"790\" data-end=\"834\">\n<p data-start=\"792\" data-end=\"834\">\u067e\u0627\u06a9\u200c\u06a9\u0631\u062f\u0646 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0634\u062a\u0628\u0627\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc Bash<\/p>\n<\/li>\n<li data-start=\"835\" data-end=\"889\">\n<p data-start=\"837\" data-end=\"889\">\u0648\u06cc\u0631\u0627\u06cc\u0634 \u062e\u0637\u0627\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc PHP\u060c Python \u06cc\u0627 Shell<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"891\" data-end=\"1066\">\u062f\u0631 \u0686\u0646\u06cc\u0646 \u0634\u0631\u0627\u06cc\u0637\u06cc\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0648 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 <strong data-start=\"933\" data-end=\"940\">Vim<\/strong> \u0628\u0647\u062a\u0631\u06cc\u0646 \u0648 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631\u06cc\u0646 \u0631\u0627\u0647 \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u06cc\u06a9 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u06a9\u0627\u0645\u0644\u060c \u067e\u0631\u062c\u0632\u0626\u06cc\u0627\u062a \u0648 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0628\u062a\u062f\u06cc \u062a\u0627 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<hr \/>\n<h2 style=\"text-align: justify;\">\u0645\u0639\u0631\u0641\u06cc Vim\u061b \u0642\u062f\u0631\u062a\u0645\u0646\u062f\u062a\u0631\u06cc\u0646 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 \u062f\u0631 \u0633\u0631\u0648\u0631 \u270f\ufe0f\ud83d\udd25<\/h2>\n<p style=\"text-align: justify;\">Vim \u06cc\u06a9 \u0627\u062f\u06cc\u062a\u0648\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0627\u06a9\u062b\u0631 \u0633\u0631\u0648\u0631\u0647\u0627 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0646\u0635\u0628 \u0634\u062f\u0647. \u0627\u06cc\u0646 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u0686\u0646\u062f \u062d\u0627\u0644\u062a \u0627\u0635\u0644\u06cc \u062f\u0627\u0631\u062f:<\/p>\n<ul style=\"text-align: justify;\">\n<li>\n<p><strong>Normal Mode<\/strong> \u2013 \u0628\u0631\u0627\u06cc \u062d\u0630\u0641\u060c \u06a9\u067e\u06cc\u060c \u062c\u0627\u0628\u062c\u0627\u06cc\u06cc \u0648 \u062f\u0633\u062a\u0648\u0631\u0627\u062a<\/p>\n<\/li>\n<li>\n<p><strong>Insert Mode<\/strong> \u2013 \u0628\u0631\u0627\u06cc \u062a\u0627\u06cc\u067e \u0645\u062a\u0646<\/p>\n<\/li>\n<li>\n<p><strong>Visual Mode<\/strong> \u2013 \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0648 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06af\u0631\u0648\u0647\u06cc \u0645\u062a\u0646<\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u062e\u0637\u0648\u0637\u060c \u0628\u0627\u06cc\u062f \u062f\u0631 \u062d\u0627\u0644\u062a Normal \u0628\u0627\u0634\u06cc\u062f. \u067e\u0633 \u0647\u0645\u06cc\u0634\u0647 \u0628\u0627 \u0641\u0634\u0627\u0631 \u062f\u0627\u062f\u0646 <strong>Esc<\/strong> \u0648\u0627\u0631\u062f Normal Mode \u0634\u0648\u06cc\u062f.<\/p>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u0628\u062e\u0634 \u0627\u0648\u0644: \u062d\u0630\u0641 \u06cc\u06a9 \u062e\u0637 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u062f\u0631 Vim \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u2702\ufe0f<\/h3>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u06cc\u06a9 \u062e\u0637:<\/p>\n<h3 style=\"text-align: justify;\">\u0645\u0631\u0627\u062d\u0644:<\/h3>\n<p style=\"text-align: justify;\">\u06f1. \u0648\u0627\u0631\u062f Normal Mode \u0634\u0648\u06cc\u062f (\u0628\u0627 \u0632\u062f\u0646 Esc).<br \/>\n\u06f2. \u0646\u0634\u0627\u0646\u06af\u0631 \u0631\u0627 \u0631\u0648\u06cc \u062e\u0637 \u0645\u0648\u0631\u062f\u0646\u0638\u0631 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<br \/>\n\u06f3. \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f:<\/p>\n<pre><code>dd\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u0646\u062a\u06cc\u062c\u0647:<\/h3>\n<p style=\"text-align: justify;\">\u0647\u0645\u0627\u0646 \u062e\u0637 \u0628\u0644\u0627\u0641\u0627\u0635\u0644\u0647 \u062d\u0630\u0641 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<h3 style=\"text-align: justify;\">\u0646\u06a9\u062a\u0647 \u0645\u0647\u0645:<\/h3>\n<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u0627\u0634\u062a\u0628\u0627\u0647\u06cc \u062e\u0637\u06cc \u0631\u0627 \u067e\u0627\u06a9 \u06a9\u0631\u062f\u06cc\u062f\u060c \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u06a9\u0644\u06cc\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f:<\/p>\n<pre><code>u\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0639\u0645\u0644\u06cc\u0627\u062a \u0631\u0627 Undo \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u0628\u062e\u0634 \u062f\u0648\u0645: \u062d\u0630\u0641 \u0686\u0646\u062f\u06cc\u0646 \u062e\u0637 \u067e\u0634\u062a \u0633\u0631 \u0647\u0645 (ndd) \ud83e\uddf9\ud83d\udcc4\ud83d\udcc4\ud83d\udcc4<\/h3>\n<p style=\"text-align: justify;\">\u06af\u0627\u0647\u06cc \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u0686\u0646\u062f\u062e\u0637 \u067e\u0634\u062a \u0633\u0631 \u0647\u0645 \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f.\u00a0<\/p>\n<p data-start=\"1095\" data-end=\"1140\">\u0627\u06af\u0631 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u0686\u0646\u062f \u062e\u0637 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0645\u0631\u062d\u0644\u0647 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f:<\/p>\n<p data-start=\"1142\" data-end=\"1347\">\u06f1. \u06a9\u0644\u06cc\u062f <strong data-start=\"1150\" data-end=\"1157\">Esc<\/strong> \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f \u062a\u0627 \u062f\u0631 \u062d\u0627\u0644\u062a Normal \u0642\u0631\u0627\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f.<br data-start=\"1197\" data-end=\"1200\" \/><br \/>\n\u06f2. \u0646\u0634\u0627\u0646\u06af\u0631 \u0631\u0627 \u0631\u0648\u06cc \u0627\u0648\u0644\u06cc\u0646 \u062e\u0637\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062d\u0630\u0641 \u0634\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<br data-start=\"1258\" data-end=\"1261\" \/><br \/>\n\u06f3. \u062f\u0633\u062a\u0648\u0631 <strong data-start=\"1270\" data-end=\"1277\">ndd<\/strong> \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f\u060c \u06a9\u0647 \u062f\u0631 \u0622\u0646 <strong data-start=\"1301\" data-end=\"1306\">n<\/strong> \u062a\u0639\u062f\u0627\u062f \u062e\u0637\u0648\u0637\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062d\u0630\u0641 \u0634\u0648\u0646\u062f.<\/p>\n<pre><code>ndd\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<h3 style=\"text-align: justify;\">\u0645\u062b\u0627\u0644\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc:<\/h3>\n<p style=\"text-align: justify;\">\u062d\u0630\u0641 \u06f3 \u062e\u0637:<\/p>\n<pre><code>3dd\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u062d\u0630\u0641 \u06f1\u06f0 \u062e\u0637:<\/p>\n<pre><code>10dd\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u062d\u0630\u0641 \u06f2\u06f0 \u062e\u0637:<\/p>\n<pre><code>20dd\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u06a9\u0627\u0631\u0628\u0631\u062f \u0627\u06cc\u0646 \u0631\u0648\u0634:<\/h3>\n<ul style=\"text-align: justify;\">\n<li>\n<p>\u067e\u0627\u06a9 \u06a9\u0631\u062f\u0646 \u0686\u0646\u062f\u06cc\u0646 \u062e\u0637 \u06a9\u0627\u0646\u0641\u06cc\u06af<\/p>\n<\/li>\n<li>\n<p>\u062d\u0630\u0641 \u062e\u0631\u0648\u062c\u06cc \u0627\u0634\u062a\u0628\u0627\u0647 \u062f\u0627\u062e\u0644 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a<\/p>\n<\/li>\n<li>\n<p>\u062a\u0645\u06cc\u0632\u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0637\u0648\u0644\u0627\u0646\u06cc \u0645\u062b\u0644 \u0644\u0627\u06af\u200c\u0647\u0627<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u0628\u062e\u0634 \u0633\u0648\u0645: \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u0628\u0627\u0632\u0647\u200c\u0627\u06cc (Range Delete) \ud83c\udfaf\ud83d\udccc\u27a1\ufe0f\ud83d\udccc<\/h3>\n<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u06cc\u06a9 \u0645\u062d\u062f\u0648\u062f\u0647 \u0645\u0634\u062e\u0635 \u0627\u0632 \u062e\u0637\u0648\u0637 \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647\u062a\u0631\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0627\u06cc\u0646 \u0627\u0633\u062a:<\/p>\n<pre><code>:[start],[end]d\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u0645\u062b\u0627\u0644:<\/h3>\n<p style=\"text-align: justify;\">\u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u06f5 \u062a\u0627 \u06f1\u06f0:<\/p>\n<pre><code>:5,10d\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u06a9\u0627\u0631\u0628\u0631\u062f:<\/h3>\n<ul style=\"text-align: justify;\">\n<li>\n<p>\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645\u0627\u062a<\/p>\n<\/li>\n<li>\n<p>\u062d\u0630\u0641 \u0628\u062e\u0634\u200c\u0647\u0627\u06cc \u0645\u0634\u062e\u0635 \u062f\u0631 \u06af\u0632\u0627\u0631\u0634\u200c\u0647\u0627<\/p>\n<\/li>\n<li>\n<p>\u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0628\u0632\u0631\u06af \u0628\u0627 \u062f\u0642\u062a \u0628\u0627\u0644\u0627<\/p>\n<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\">\u06cc\u06a9 \u0645\u062b\u0627\u0644 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc:<\/h3>\n<p style=\"text-align: justify;\">\u062d\u0630\u0641 \u062e\u0637\u0648\u0637 100 \u062a\u0627 250:<\/p>\n<pre><code>:100,250d\r\n<\/code><\/pre>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u0628\u062e\u0634 \u0686\u0647\u0627\u0631\u0645: \u062d\u0630\u0641 \u062a\u0645\u0627\u0645 \u062e\u0637\u0648\u0637 \u0641\u0627\u06cc\u0644 (\u067e\u0627\u06a9\u0633\u0627\u0632\u06cc \u06a9\u0627\u0645\u0644) \u26a0\ufe0f\ud83d\udd25<\/h3>\n<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u06a9\u0644 \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0641\u0627\u06cc\u0644 \u0631\u0627 \u067e\u0627\u06a9 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>:%d\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 <strong>\u062a\u0645\u0627\u0645 \u062e\u0637\u0648\u0637<\/strong> \u0641\u0627\u06cc\u0644 \u0631\u0627 \u062d\u0630\u0641 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u062e\u0627\u0644\u06cc \u0645\u06cc\u200c\u06af\u0630\u0627\u0631\u062f.<\/p>\n<p style=\"text-align: justify;\"><strong>\u0647\u0634\u062f\u0627\u0631:<\/strong><br \/>\n\u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0627\u0633\u062a\u060c \u062d\u062a\u0645\u0627\u064b \u0642\u0628\u0644 \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u0622\u0646\u060c \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0628\u06a9\u0627\u067e \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/p>\n<pre><code>cp file.conf file.conf.bak\r\n<\/code><\/pre>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u0628\u062e\u0634 \u067e\u0646\u062c\u0645: \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0628\u0631 \u0627\u0633\u0627\u0633 \u06cc\u06a9 \u06a9\u0644\u0645\u0647 \u06cc\u0627 \u0627\u0644\u06af\u0648\u06cc \u062e\u0627\u0635 (Regex Delete) \ud83d\udd0d\ud83e\udde0<\/h3>\n<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062a\u0645\u0627\u0645 \u062e\u0637\u0648\u0637\u06cc \u06a9\u0647 \u0634\u0627\u0645\u0644 \u06cc\u06a9 \u0639\u0628\u0627\u0631\u062a \u062e\u0627\u0635 \u0647\u0633\u062a\u0646\u062f \u062d\u0630\u0641 \u0634\u0648\u0646\u062f:<\/p>\n<h3 style=\"text-align: justify;\">\u0645\u062b\u0627\u0644:<\/h3>\n<p style=\"text-align: justify;\">\u062d\u0630\u0641 \u062a\u0645\u0627\u0645 \u062e\u0637\u0648\u0637\u06cc \u06a9\u0647 \u06a9\u0644\u0645\u0647 error \u062f\u0627\u0631\u0646\u062f:<\/p>\n<pre><code>:g\/error\/d\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0645\u062b\u0627\u0644\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc\u200c\u062a\u0631:<\/p>\n<p style=\"text-align: justify;\">\u062d\u0630\u0641 \u062a\u0645\u0627\u0645 \u062e\u0637\u0648\u0637\u06cc \u06a9\u0647 \u0634\u0627\u0645\u0644 \u0639\u0628\u0627\u0631\u062a php_admin_value \u0647\u0633\u062a\u0646\u062f:<\/p>\n<pre><code>:g\/php_admin_value\/d\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u062d\u0630\u0641 \u062e\u0637\u0648\u0637\u06cc \u06a9\u0647 \u0628\u0627 # \u0634\u0631\u0648\u0639 \u0634\u062f\u0647\u200c\u0627\u0646\u062f:<\/p>\n<pre><code>:g\/^#\/d\r\n<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u0631\u0648\u0634 \u0628\u0631\u0627\u06cc:<\/p>\n<ul style=\"text-align: justify;\">\n<li>\n<p>\u067e\u0627\u06a9\u200c\u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644 log<\/p>\n<\/li>\n<li>\n<p>\u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u06a9\u0627\u0645\u0646\u062a<\/p>\n<\/li>\n<li>\n<p>\u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0645\u0633\u0645\u0648\u0645 \u0646\u0627\u0634\u06cc \u0627\u0632 \u0647\u06a9<\/p>\n<\/li>\n<li>\n<p>\u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0633\u0646\u06af\u06cc\u0646<\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u0628\u0633\u06cc\u0627\u0631 \u0645\u0646\u0627\u0633\u0628 \u0627\u0633\u062a.<\/p>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u0628\u062e\u0634 \u0634\u0634\u0645: \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0630\u062e\u06cc\u0631\u0647\u060c \u062e\u0631\u0648\u062c\u060c \u0644\u063a\u0648 \u0648 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u062f\u0631 Vim \ud83d\udcbe<\/h3>\n<h3 style=\"text-align: justify;\">\u0630\u062e\u06cc\u0631\u0647 \u0641\u0627\u06cc\u0644:<\/h3>\n<pre><code>:w\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u0630\u062e\u06cc\u0631\u0647 \u0648 \u062e\u0631\u0648\u062c:<\/h3>\n<pre><code>:wq\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u062e\u0631\u0648\u062c \u0628\u062f\u0648\u0646 \u0630\u062e\u06cc\u0631\u0647:<\/h3>\n<pre><code>:q!\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">Undo:<\/h3>\n<pre><code>u\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">Redo:<\/h3>\n<pre><code>Ctrl + r\r\n<\/code><\/pre>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0648 \u062a\u062c\u0631\u0628\u06cc \u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \ud83d\udee1\ufe0f\ud83e\udde0<\/h3>\n<ul style=\"text-align: justify;\">\n<li>\n<p>\u0647\u0645\u06cc\u0634\u0647 \u0642\u0628\u0644 \u0627\u0632 \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0645\u0647\u0645\u060c \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0646\u0633\u062e\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0628\u06af\u06cc\u0631\u06cc\u062f.<\/p>\n<\/li>\n<li>\n<p>\u0628\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645\u06cc \u0627\u0632 sudo \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<\/li>\n<li>\n<p>\u0627\u06af\u0631 \u0686\u0646\u062f \u06a9\u0627\u0631\u0628\u0631 \u0647\u0645\u0632\u0645\u0627\u0646 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0645\u0631\u0627\u0642\u0628 file lock \u0628\u0627\u0634\u06cc\u062f.<\/p>\n<\/li>\n<li>\n<p>\u0648\u0642\u062a\u06cc \u0641\u0627\u06cc\u0644 \u062e\u06cc\u0644\u06cc \u0628\u0632\u0631\u06af \u0627\u0633\u062a\u060c \u0627\u0632 \u062c\u0633\u062a\u062c\u0648 \u0648 range delete \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<\/li>\n<li>\n<p>\u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u06a9\u0627\u0646\u0641\u06cc\u06af \u062d\u0633\u0627\u0633 \u0631\u0627 \u0628\u0639\u062f \u0627\u0632 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u062a\u0633\u062a \u06a9\u0646\u06cc\u062f (nginx -t \u06cc\u0627 apachectl -t).<\/p>\n<\/li>\n<li>\n<p>\u0628\u0631\u0627\u06cc \u06a9\u0627\u0647\u0634 \u062e\u0637\u0627\u0647\u0627\u060c \u0642\u0628\u0644 \u0627\u0632 \u062d\u0630\u0641 \u062e\u0637\u0648\u0637\u060c \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a visual selection \u0646\u06cc\u0632 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f.<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc \u062d\u0630\u0641 \u0686\u0646\u062f \u062e\u0637 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH (\u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u0639\u0645\u0644\u06cc) \ud83e\udde9<\/h3>\n<p style=\"text-align: justify;\">\u06f1. \u067e\u0627\u06a9 \u06a9\u0631\u062f\u0646 IP \u0647\u0627\u06cc \u0645\u062e\u0631\u0628 \u0627\u0632 \u0641\u0627\u06cc\u0644 firewall<\/p>\n<p style=\"text-align: justify;\">\u06f2. \u062d\u0630\u0641 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0634\u062a\u0628\u0627\u0647 \u062f\u0631 php.ini<\/p>\n<p style=\"text-align: justify;\">\u06f3. \u062d\u0630\u0641 \u0633\u0631\u06cc\u0639 \u06a9\u062f\u0647\u0627\u06cc \u0645\u062e\u0631\u0628 \u0628\u0639\u062f \u0627\u0632 \u0647\u06a9<\/p>\n<p style=\"text-align: justify;\">\u06f4. \u062a\u0645\u06cc\u0632\u0633\u0627\u0632\u06cc \u0641\u0627\u06cc\u0644 bashrc \u06cc\u0627 profile<\/p>\n<p style=\"text-align: justify;\">\u06f5. \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0627\u0636\u0627\u0641\u06cc \u062f\u0631 \u0641\u0627\u06cc\u0644 .htaccess<\/p>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627 \u062f\u0631 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0631\u0627\u06cc\u062c \u0647\u0633\u062a\u0646\u062f.<\/p>\n<hr \/>\n<h3 style=\"text-align: justify;\">FAQ \u2014 \u0633\u0648\u0627\u0644\u0627\u062a \u067e\u0631\u062a\u06a9\u0631\u0627\u0631 \u062f\u0631\u0628\u0627\u0631\u0647 \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0628\u0627 SSH \u2753\ud83d\udcac<\/h3>\n<h3 style=\"text-align: justify;\">\u06f1. \u0622\u06cc\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u062f\u0648\u0646 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 Vim \u062e\u0637\u0648\u0637 \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0631\u062f\u061f<\/h3>\n<p style=\"text-align: justify;\">\u0628\u0644\u0647\u060c \u0628\u0627 sed \u0648 awk \u0647\u0645 \u0627\u0645\u06a9\u0627\u0646\u200c\u067e\u0630\u06cc\u0631 \u0627\u0633\u062a\u060c \u0627\u0645\u0627 Vim \u0633\u0627\u062f\u0647\u200c\u062a\u0631 \u0648 \u06a9\u0646\u062a\u0631\u0644\u200c\u067e\u0630\u06cc\u0631\u062a\u0631 \u0627\u0633\u062a.<\/p>\n<h3 style=\"text-align: justify;\">\u06f2. \u0627\u06af\u0631 \u067e\u0633 \u0627\u0632 \u062d\u0630\u0641 \u062e\u0637\u0648\u0637\u060c \u0633\u0631\u0648\u06cc\u0633 \u06a9\u0627\u0631 \u0646\u06a9\u0646\u062f \u0686\u0647 \u0628\u0627\u06cc\u062f \u06a9\u0631\u062f\u061f<\/h3>\n<p style=\"text-align: justify;\">\u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627 \u0631\u0627 validate \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>nginx -t\r\napachectl -t\r\nphp -l file.php\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u06f3. \u0627\u06af\u0631 \u0628\u062e\u0634\u06cc \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0627\u0634\u062a\u0628\u0627\u0647\u06cc \u062d\u0630\u0641 \u0634\u062f\u060c \u0642\u0627\u0628\u0644 \u0628\u0627\u0632\u06af\u0634\u062a \u0627\u0633\u062a\u061f<\/h3>\n<p style=\"text-align: justify;\">\u062a\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 Vim \u0628\u0633\u062a\u0647 \u0646\u0634\u062f\u0647 \u0628\u0627\u0634\u062f\u060c \u0628\u0644\u0647:<\/p>\n<pre><code>u\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u06f4. \u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u0637\u0648\u0644\u0627\u0646\u06cc \u0628\u0627 regex \u0686\u0647 \u06a9\u0646\u06cc\u0645\u061f<\/h3>\n<p style=\"text-align: justify;\">\u0627\u0632 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>:g\/&lt;pattern&gt;\/d\r\n<\/code><\/pre>\n<h3 style=\"text-align: justify;\">\u06f5. \u0622\u06cc\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0631\u0627 \u062f\u0631 Nano \u0647\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u061f<\/h3>\n<p style=\"text-align: justify;\">\u062e\u06cc\u0631. \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0645\u062e\u0635\u0648\u0635 Vim \u0647\u0633\u062a\u0646\u062f.<\/p>\n<hr \/>\n<h3 style=\"text-align: justify;\">\u062c\u0645\u0639\u200c\u0628\u0646\u062f\u06cc \u0646\u0647\u0627\u06cc\u06cc: \u0628\u0647\u062a\u0631\u06cc\u0646 \u0631\u0648\u0634 \u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u062e\u0637\u0648\u0637 \u062f\u0631 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0633\u0631\u0648\u0631 \ud83c\udfaf\ud83d\udd25<\/h3>\n<p style=\"text-align: justify;\">\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a Vim \u0648 SSH \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f:<\/p>\n<ul style=\"text-align: justify;\">\n<li>\n<p>\u062e\u0637\u0648\u0637 \u062a\u06a9\u06cc \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f<\/p>\n<\/li>\n<li>\n<p>\u0686\u0646\u062f\u06cc\u0646 \u062e\u0637 \u067e\u0634\u062a \u0633\u0631 \u0647\u0645 \u067e\u0627\u06a9 \u06a9\u0646\u06cc\u062f<\/p>\n<\/li>\n<li>\n<p>\u0628\u0627\u0632\u0647\u200c\u0627\u06cc \u0627\u0632 \u062e\u0637\u0648\u0637 \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f<\/p>\n<\/li>\n<li>\n<p>\u062e\u0637\u0648\u0637 \u062f\u0627\u0631\u0627\u06cc \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc \u062e\u0627\u0635 \u0631\u0627 \u067e\u0627\u06a9 \u06a9\u0646\u06cc\u062f<\/p>\n<\/li>\n<li>\n<p>\u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u06a9\u0627\u0645\u0644 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u062e\u0627\u0644\u06cc \u06a9\u0646\u06cc\u062f<\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u0631\u0648\u0634\u200c\u0647\u0627 \u06a9\u0627\u0645\u0644\u0627\u064b \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0628\u0648\u062f\u0647 \u0648 \u062a\u0648\u0633\u0637 \u0627\u062f\u0645\u06cc\u0646\u200c\u0647\u0627 \u0648 \u0645\u062a\u062e\u0635\u0635\u0627\u0646 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0627\u06af\u0631 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u06cc\u062f\u060c \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0636\u0631\u0648\u0631\u06cc \u0627\u0633\u062a.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0622\u0645\u0648\u0632\u0634 \u062c\u0627\u0645\u0639 \u062d\u0630\u0641 \u0686\u0646\u062f\u06cc\u0646 \u062e\u0637 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH SSH \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u0627\u0646 \u0633\u0631\u0648\u0631\u060c \u0645\u062a\u062e\u0635\u0635\u0627\u0646 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0648 \u0645\u062f\u06cc\u0631\u0627\u0646\u200c \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u0627\u0633\u062a. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0647\u0631 \u0645\u06a9\u0627\u0646 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u0627\u06cc\u0645\u0646\u060c \u0633\u0631\u06cc\u0639 \u0648 \u0628\u062f\u0648\u0646 \u0648\u0627\u0633\u0637\u0647 \u0628\u0647 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0645\u062a\u0635\u0644 \u0634\u0648\u06cc\u062f \u0648 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u060c \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627 \u0648 \u0641\u0631\u0622\u06cc\u0646\u062f\u0647\u0627 \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u06cc\u062f. \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u06cc\u06a9\u06cc \u0627\u0632 &hellip;<\/p>\n","protected":false},"author":3,"featured_media":24179,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-24160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/posts\/24160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/comments?post=24160"}],"version-history":[{"count":10,"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/posts\/24160\/revisions"}],"predecessor-version":[{"id":24183,"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/posts\/24160\/revisions\/24183"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/media\/24179"}],"wp:attachment":[{"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/media?parent=24160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/categories?post=24160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/orderhost.net\/blog\/wp-json\/wp\/v2\/tags?post=24160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}