上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 491 下一页
摘要: Commands: export: Set environment variables. env: View environment variables. echo: Display environment variables. Common Environment Variables: PATH: 阅读全文
posted @ 2024-05-19 15:48 Zhentiw 阅读(17) 评论(0) 推荐(0)
摘要: Understanding File Permissions: File permissions in Unix-like systems determine who can read, write, or execute a file. They are represented as a comb 阅读全文
posted @ 2024-05-19 15:42 Zhentiw 阅读(10) 评论(0) 推荐(0)
摘要: Finding elements starting from the end of an array has gotten a lot easier with the introduction of the at, findLast, and findLastIndex methods! With  阅读全文
posted @ 2024-05-17 14:19 Zhentiw 阅读(25) 评论(0) 推荐(0)
摘要: Array Grouping is the new feature of JavaScript/ECMAScript, which splits an array (or, generally, an iterable), into smaller sub-arrays. Grouping is d 阅读全文
posted @ 2024-05-17 14:14 Zhentiw 阅读(35) 评论(0) 推荐(0)
摘要: The sed command is a stream editor used for filtering and transforming text. sed 'command' file Create and view the initial content of sample.txt: ech 阅读全文
posted @ 2024-05-17 14:00 Zhentiw 阅读(18) 评论(0) 推荐(0)
摘要: The awk command is a powerful text processing tool used for pattern scanning and processing. // exammple.txt Hello World This is a sample file Bash sc 阅读全文
posted @ 2024-05-17 03:48 Zhentiw 阅读(35) 评论(0) 推荐(0)
摘要: The grep command searches for patterns within files and prints matching lines. grep [options] [content] [file] Search for a pattern in a file: grep "p 阅读全文
posted @ 2024-05-17 03:23 Zhentiw 阅读(12) 评论(0) 推荐(0)
摘要: Head The head command is used to display the beginning of a file or the first few lines of input. It's a useful command for quickly viewing the start 阅读全文
posted @ 2024-05-16 03:44 Zhentiw 阅读(35) 评论(0) 推荐(0)
摘要: The read command is used to take input from the user. Reading a single input value: echo "Enter your name:" read NAME echo "Hello, $NAME!" Output afte 阅读全文
posted @ 2024-05-16 03:38 Zhentiw 阅读(14) 评论(0) 推荐(0)
摘要: The echo command is used to display a line of text or string that is passed as an argument. It's one of the most basic and frequently used commands in 阅读全文
posted @ 2024-05-16 03:23 Zhentiw 阅读(26) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 491 下一页