PageSourceSearch

https://lihx.top/assets/js/46304e99.b2436d73.js

js lihx.top collected 2026-10-09 22:10:52 UTC 6,528 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkjustwe7_books=self.webpackChunkjustwe7_books||[]).push([[6799],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>m});var n=r(67294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var c=n.createContext({}),s=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=s(r),d=l,m=u["".concat(c,".").concat(d)]||u[d]||f[d]||o;return r?n.createElement(m,a(a({ref:t},p),{},{components:r})):n.createElement(m,a({ref:t},p))}));function m(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=r.length,a=new Array(o);a[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:l,a[1]=i;for(var s=2;s<o;s++)a[s]=r[s];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},11954:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>i,metadata:()=>s,toc:()=>u});var n=r(87462),l=r(63366),o=(r(67294),r(3905));const a=["components"],i={},c=void 0,s={unversionedId:"\u670d\u52a1\u7aef\u57fa\u7840/shell/shell-\u7591\u95ee\u8bb0\u5f55",id:"\u670d\u52a1\u7aef\u57fa\u7840/shell/shell-\u7591\u95ee\u8bb0\u5f55",title:"shell-\u7591\u95ee\u8bb0\u5f55",description:"\u5355\u5f15\u53f7\u3001\u53cc\u5f15\u53f7\u548c\u53cd\u5f15\u53f7\u533a\u522b",source:"@site/docs/\u670d\u52a1\u7aef\u57fa\u7840/shell/shell-\u7591\u95ee\u8bb0\u5f55.md",sourceDirName:"\u670d\u52a1\u7aef\u57fa\u7840/shell",slug:"/\u670d\u52a1\u7aef\u57fa\u7840/shell/shell-\u7591\u95ee\u8bb0\u5f55",permalink:"/docs/\u670d\u52a1\u7aef\u57fa\u7840/shell/shell-\u7591\u95ee\u8bb0\u5f55",draft:!1,editUrl:"https://github.com/justwe7/justwe7.github.io/blob/feature/docs/\u670d\u52a1\u7aef\u57fa\u7840/shell/shell-\u7591\u95ee\u8bb0\u5f55.md",tags:[],version:"current",lastUpdatedAt:1790659272,formattedLastUpdatedAt:"2026\u5e749\u670829\u65e5",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"shell-\u6d41\u7a0b\u63a7\u5236-if&for",permalink:"/docs/\u670d\u52a1\u7aef\u57fa\u7840/shell/shell-\u6d41\u7a0b\u63a7\u5236-if&for"},next:{title:"shell-\u8f93\u5165\u8f93\u51fa\u91cd\u5b9a\u5411",permalink:"/docs/\u670d\u52a1\u7aef\u57fa\u7840/shell/shell-\u8f93\u5165\u8f93\u51fa\u91cd\u5b9a\u5411"}},p={},u=[{value:"\u5355\u5f15\u53f7\u3001\u53cc\u5f15\u53f7\u548c\u53cd\u5f15\u53f7\u533a\u522b",id:"\u5355\u5f15\u53f7\u53cc\u5f15\u53f7\u548c\u53cd\u5f15\u53f7\u533a\u522b",level:2}],f={toc:u};function d(e){let{components:t}=e,r=(0,l.Z)(e,a);return(0,o.kt)("wrapper",(0,n.Z)({},f,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h2",{id:"\u5355\u5f15\u53f7\u53cc\u5f15\u53f7\u548c\u53cd\u5f15\u53f7\u533a\u522b"},"\u5355\u5f15\u53f7\u3001\u53cc\u5f15\u53f7\u548c\u53cd\u5f15\u53f7\u533a\u522b"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"\u88ab\u5355\u5f15\u53f7\u62ec\u8d77\u6765\u7684\u5b57\u7b26\u90fd\u662f\u666e\u901a\u5b57\u7b26\uff0c\u5c31\u7b97\u7279\u6b8a\u5b57\u7b26\u4e5f\u4e0d\u518d\u6709\u7279\u6b8a\u542b\u4e49\uff1b"),(0,o.kt)("li",{parentName:"ul"},"\u88ab\u53cc\u5f15\u53f7\u62ec\u8d77\u6765\u7684\u5b57\u7b26\u4e2d\uff0c",(0,o.kt)("inlineCode",{parentName:"li"},'"$"\u3001"\\"'),"\u548c",(0,o.kt)("inlineCode",{parentName:"li"},"`"),"\u662f\u62e5\u6709\u7279\u6b8a\u542b\u4e49\u7684",(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},'"$"\u4ee3\u8868\u5f15\u7528\u53d8\u91cf\u7684\u503c'),(0,o.kt)("li",{parentName:"ul"},"\u53cd\u5f15\u53f7",(0,o.kt)("inlineCode",{parentName:"li"},"`"),"\u4ee3\u8868\u5f15\u7528\u547d\u4ee4"))),(0,o.kt)("li",{parentName:"ul"},"\u53cd\u5f15\u53f7\u3002\u5982\u679c\u9700\u8981\u8c03\u7528\u547d\u4ee4\u7684\u8f93\u51fa\uff0c\u6216\u628a\u547d\u4ee4\u7684\u8f93\u51fa\u8d4b\u4e88\u53d8\u91cf\uff0c\u5219\u547d\u4ee4\u5fc5\u987b\u4f7f\u7528\u53cd\u5f15\u53f7\u5305\u542b\u3002",(0,o.kt)("blockquote",{parentName:"li"},(0,o.kt)("p",{parentName:"blockquote"},"\u53cd\u5f15\u53f7\u7684\u4f5c\u7528\u548c $(\u547d\u4ee4) \u662f\u4e00\u6837\u7684\uff0c\u4f46\u662f\u53cd\u5f15\u53f7\u975e\u5e38\u5bb9\u6613\u548c\u5355\u5f15\u53f7\u641e\u6df7\uff0c\u6240\u4ee5\u63a8\u8350\u5c3d\u91cf\u4f7f\u7528 $(\u547d\u4ee4) \u7684\u65b9\u5f0f\u5f15\u7528\u547d\u4ee4\u7684\u8f93\u51fa")))),(0,o.kt)("p",null,"\u6d4b\u8bd5\u4f8b\u5b50\uff1a"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},'#!/bin/bash\n\nfoo=justwe\necho foo\necho "\u8f93\u51fa\u53d8\u91cf\uff1afoo"\necho \'\u8f93\u51fa\u53d8\u91cf\uff1a$foo\'\necho "\u8f93\u51fa\u53d8\u91cf\uff1a$foo"\n# echo `\u8f93\u51fa\u65e5\u671f\uff1a$foo` # \u8fd9\u6761\u6307\u4ee4\u4e0d\u80fd\u6b63\u5e38\u6267\u884c\necho \'\u8f93\u51fa\u65e5\u671f\uff1a`date`\' # \u5982\u679c\u53cd\u5f15\u53f7\u62ec\u8d77\u6765\u7684\u547d\u4ee4\u53c8\u88ab\u5355\u5f15\u53f7\u62ec\u8d77\u6765\uff0c\u90a3\u4e48\u8fd9\u6761\u547d\u4ee4\u4e0d\u4f1a\u6267\u884c\uff0c`date`\u4f1a\u88ab\u5f53\u6210\u666e\u901a\u5b57\u7b26\u8f93\u51fa\necho "\u8f93\u51fa\u65e5\u671f\uff1a`date`" # \u53cd\u5f15\u53f7\u7684\u547d\u4ee4\u4f1a\u6b63\u5e38\u6267\u884c\necho "\u8f93\u51fa\u65e5\u671f\uff1a$(date)" # $(date) \u53ef\u4ee5\u6b63\u5e38\u6267\u884c\n')))}d.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.