Questions tagged [special-characters]

If it has a meaning beyond its literal meaning, a meta-meaning, then we refer to it as a special character.

249 questions
16
votes
2 answers

Is the "tick" or "acute accent" character ´ (not `) used for anything in Linux shell?

We know that the backtick character is used for command substitution: chown `id -u` /mydir Which made me wonder: is the tick character ´ used for anything in the Linux shell? Note: incidentally, command substitution can also be written more…
dr_
  • 29,602
2
votes
2 answers

How to remove the ^[[1m ^[[22m ^[[4m ^[[24m characters while keeping the newline?

INPUT: [user@notebook test]$ cat a.txt music musicsheet sheetmusic [user@notebook test]$ cat a.txt | cat -vte - $ ^[[1mmusic^[[22m$ ^[[1mmusicsheet^[[22m$ ^[[1msheetmusic^[[22m$ ^[[4m^[[24m$ [user@notebook test]$ NEEDED OUTPUT (after removing…
pepite
  • 1,103
1
vote
2 answers

Remove control characters from /var/log/boot.log

I have a script that sends out email to sysadmin group when a server is powered on or off. The email contains dump of some important logs like /var/log/messages, /var/log/secure, /var/log/boot.log . The /var/log/boot.log contains some special…
GMaster
  • 6,322
-1
votes
1 answer

# and @ special characters not working in my unix terminal

I want to see the functioning of # and @ in unix terminal but my terminal isnt able to use them and it just treats them as normal characters. Is there any online compiler where i can see their working. I have already tried some online compilers: …