|
- how to understand the output of echo - Unix Linux Stack Exchange
How to understand the output of echo $-? It looks like some kind of flag characters I can't get a clue by googling
- How to detect new hard disk attached without rebooting?
You'll need to complete a few actions and gain 15 reputation points before being able to upvote Upvoting indicates when questions and answers are useful What's reputation and how do I get it? Instead, you can save this post to reference later
- bash - Difference between gt; gt; and - Unix Linux Stack Exchange
In general, in bash and other shells, you escape special characters using \ So, when you use echo foo >\> what you are saying is "redirect to a file called > ", but that is because you are escaping the second > It is equivalent to using echo foo > \> which is the same as echo foo > '>' So, yes, as Sirex said, that is likely a typo in your book
- Why is echo a shell built in command? - Unix Linux Stack Exchange
$ which echo echo: shell built-in command $ which ls bin ls $ which cat bin cat Why is echo not an independent utility like ls, ps, cat etc? Why is it shell specific? Any good reasons?
- echo of a string with an exclamation point - Unix Linux Stack Exchange
echo simply iterates its arguments and sends them to standard out All of the magic is done by the shell: The shell substitutes some pattern for others such as variables ( starting with $ ), history (starting with !), etc
- How can I get the current working directory? [duplicate]
I want to have a script that takes the current working directory to a variable The section that needs the directory is like this dir = pwd It just prints pwd how do I get the current working dire
- quoting - How to echo `single quote` when using single quote to wrap . . .
How about this? echo 'It'"'"'s Shell Programming' I just divide it as 3 strings, the first and the last surrounded by single quotes, but the middle one have a single quote surrounded by double quotes
- How to clear memory cache in Linux - Unix Linux Stack Exchange
Is there any command that by using I can clean the cache in RHEL? I used this command: sync; echo 3 gt; proc sys vm drop_caches but it didn't work
|
|
|