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.

Filter by
Sorted by
Tagged with
0
votes
1answer
8 views

How to fix malformatted special characters in Pop OS, that occoured after an system crash?

This afternoon my computer (operating Pop OS!) was not reacting to keyboard or mouse interactions, I tried everything but couldn't find out why this happened. So I did a cold start, I assume the ...
0
votes
1answer
56 views

How to strip off certain hexadecimal characters in Bash?

I have gathered a wordlist for person to follow on twitter. However, there is a problem. When i cat and do xxd a extra hidden characters are found. i.e 1b5b 6d1b 5b4b . I need to strip those character....
2
votes
1answer
50 views

German Umlauts on US keybaord

I am using an US keyboard layout, because it's more convenient for programming, but since I am german I need the german umlauts for texting. (Umlauts like ÄäÖöÜü) I am running Manjaro with KDE. I ...
2
votes
2answers
34 views

Automatically render special characters used for displaying progress bars etc. in program output saved in a file

I have run a program in the shell and redirected the output to a file. The program involved is displaying lots of moving progress bars and the like. So the output file contains special characters ...
-2
votes
1answer
24 views

How can I use passwords with bash special characters on the command line? [duplicate]

I have a command line that takes a password . The password starts with characters '!1'. E.g. '!1x9y377s' . If I execute a command with that password, then history expansion occurs and the first two ...
0
votes
0answers
14 views

Wrong Keyboard Char in WSL UBUNTU 18.04

normally when I press shif + 7 I get slash "/" char but in my wsl linux when press this combination I got "ö" letter. Other chars is true but I couldn't understand why I am getting "ö" char ...
0
votes
2answers
67 views

Diacritic characters (ō, ó, á, ä, ö, ü etc) support in Debian shell

I run a server on Debian as a file storage. Some files and directories contain those symbols in their name, and all those symbols get replaced with ? (or ? is what shell output shows me) when they get ...
0
votes
1answer
20 views

Using tr to place the words of a file in order so that each line contains 1 word in order of appearence and without spaces

I want to remove the special characters of a text files for that I found the following command tr -d '[:punct:]' < file.txt But, I also want to change the format of the file so that each line ...
1
vote
2answers
79 views

sed command is not working to remove the special character ( Copyright and trademark symbols )

I am trying to use sed command to delete the copyright characters.But it is not working. Below is the command which am using. sed 's/; © E/; (c)/g' input.txt > output.txt but when am using vi ...
8
votes
2answers
1k views

Why doesn't the command tr “\'\\\”\?\!“ ”01234" work?

In terminal, if I define some variable char as follows: export char=\'\\\"\?\! In effect, char is the string '\"?! And then I use the tr command to replace '\"?! with numbers 01234 tr "\'\\\"\?\!"...
0
votes
1answer
31 views

How to find special characters (say like the musical symbol which denotes when a song is being played

Sometimes I edit subtitle files (.srt) and at times I get a place where the music symbol should be used. I am nonplussed as to how to get the music symbol to come up in the editor. I use editors such ...
1
vote
2answers
102 views

sort special characters like + and -

I have a file consisting of several lines and columns. The columns are delimited by \t. Now I would like to sort the file based on the second column, which can be done with, e.g. sort -f -t$'\t' -k2 ...
2
votes
1answer
31 views

Híndi text and font display problems

I'm starting a híndi course and all non-english (e.g. Namastē in Híndi Alphabet) characters don't appear correctly on my OS and programs. Is there any way to solve it? even just in my browsers? (...
4
votes
2answers
279 views

delete specific character “[” from a file

I want to remove a character "[" from a file. I tried sed -i 's/[//g' 'filename' however I get the following error sed: -e expression #1, char 6: unterminated `s' command
3
votes
0answers
53 views

How to avoid bash from accepting non-printable characters at the prompt?

I recently ran a command at my shell: # yum whatprovides xdotool Error: No Matches found However, my package manager actually has this package: # yum whatprovides xdotool xdotool-1:3.20150503.1-7....
1
vote
0answers
20 views

How to avoid and recover shell command history from an unwanted incursion of non-printable characters?

$ history ... 242 yum whatprovides */bin/xdotool 243 yum provides */bin/xdotool 244 yum provides xdotool 245 yum whatprovides xdotool 246 yum whatprovides xdotool At the prompt: up [...
3
votes
2answers
233 views

less: search, but ignoring special characters

I'm trying to view large log files. I have a complex shell script that will take a log file and run it through a tangle of text-mangling commands to insert formatting and colouring, and pipe the ...
0
votes
2answers
95 views

is it possible to remove a `:~` directory

I can see a directory got created :~ on my server How to delete it as I can't even do cd :~ and I tried deleting it sudo rm -R :~ but I can see a lot of things are inside that folder? What to do to ...
1
vote
1answer
84 views

Weird spam of characters 61R;61R;

Not really sure what happened cause I just left it while it was already done downloading and was in the middle of installing phase. So I would like to ask if anyone else has experienced this for me ...
1
vote
1answer
77 views

screen logging - How to ommit interactive shell control characters and prompt?

One of my first questions. Please comment if further explanation or information is required or if the question is not like it's supposed to be here I'm using screen to automatically start servers (...
1
vote
1answer
84 views

Can I make characters uncopyable in a terminal emulator?

I run fish (in gnome-terminal) with a custom style that gives me information about the current Git repository: That's all very fine, but when I want to copy-paste some command with its output like so:...
0
votes
1answer
399 views

echo strings but extra question mark was added to the output

Strange "?" got added to the filename output. SCRIPTS="/path_to_script/" SUMMER=`cat /path_to_file/summer.txt` for i in ${SUMMER}; do cat <<- EOF > $SCRIPTS/20190430_$(echo ${i})_step4.r #...
3
votes
0answers
392 views

Include special characters when sorting files

I'm trying to make Linux include special characters when sorting filenames. The sort order I'm trying to achieve is: first all special characters, then numbers, then letters (case insensitive). The ...
0
votes
0answers
39 views

How to change the newline position [duplicate]

I have a file that contains string in each line. I used this file as an input in a program that reads them automatically. The program seem to not be able to read the strings correctly. I tried to ...
3
votes
0answers
113 views

How to write romanian special characters with groff?

I've got myself into experimenting with groff and from the start I found out the romanian special characters I type in vim are all fine (I ran setxkbmap ro), but get messed up in the pdf export. ...
2
votes
1answer
89 views

Why can't I open these device nodes?

[root@archlinux xtricman]# ls -l /dev/pts total 0 crw--w---- 1 xtricman tty 136, 0 Feb 24 19:24 0 c--------- 1 root root 5, 2 Feb 24 19:10 ptmx [root@archlinux xtricman]# ls -l /mnt total 12 ...
4
votes
1answer
658 views

How to grep '$$$$$'? [duplicate]

I want to check the absence of the following sequence of characters $$$$$ (i.e., 5 dollar signs) in a json file using grep as it has been used instead of comma to separate fields and I need to make ...
0
votes
1answer
512 views

ssh sqlplus command has $ symbol and it gets substituted

I'm Running some SQLPLUS code over ssh. ssh -q node1 'export ORACLE_SID=DB11D_1;ORAENV_ASK=NO;. oraenv >/dev/null 2>&1;sqlplus -s / as sysdba << ENDSQL whenever sqlerror exit 1 alter ...
11
votes
2answers
4k views

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, ...
5
votes
2answers
3k views

Grep words with special symbols

How do I grep this? (Including the special characters) "Limit reached."[\n]" I tried back-slashing the special symbols but end up not working, like this: grep '\"Limit reached\.\"\[\\n\]\" ' I ...
1
vote
1answer
312 views

Error with grep and find

When I try to execute : $ man find | grep "-mtime" I get this message back : grep: invalid max count I wonder how to search with the -
2
votes
3answers
1k views

How to escape a character in a heredoc bash script

I have a bash script which read an input file and using a heredoc to ssh to a server using expect, but am having issue escaping some special character in the input file. Here is what I have.. I have ...
0
votes
3answers
2k views

How to remove control Z characters from a file?

File has control Z( ^Z) characters in them. I tried sed 's/^Z//g' file_name but not working. Even tried perl script but not removing them. Please let me know if there is way to remove this character.
0
votes
1answer
536 views

How do I remove a special character in a file?

I had to use OCR to get the text of a very large script I did not want to type by hand. I have multiple lines like this echo "<91>ps <97>eF|grep... It should read; echo "`ps -eF|grep......
2
votes
1answer
564 views

How to print filled shapes in the terminal?

How to print a filled circle or shapes in the terminal like:
0
votes
1answer
4k views

curl with Umlaut causes “JSON parse error: Invalid UTF-8 middle byte 0x22” [duplicate]

I'm running below curl command from the command line (Git Bash on Windows) or as part of a Bash Script. curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -d "{\"...
0
votes
2answers
85 views

Printing variable doesn't print \ | / -

I am capturing Kafka startup script output into variable and while starting Kafka prints \ | / - to simulate spinning line. So when I do: res=`./confluent start kafka` echo $res The result is: ...
4
votes
1answer
3k views

Problems with umlauts (can't type in terminal + can't open files)

On my laptop I have Linux Mint 18.3 installed and right now I am experiencing the following problem: As a German I happen to have some files (or directories) that contain umlauts in their names (which ...
1
vote
1answer
1k views

How do I use wget or CURL in php to grab a snapshot of a web page with an asterick * in its URL? (Wayback Machine archive.org question)

The following web page on the Wayback Machine (archive.org) has an asterick * in its URL: https://web.archive.org/web/*/https://www.nasa.gov/ Neither CURL nor wget will allow me to grab the page. I ...
1
vote
1answer
948 views

How to printf literal characters from/to file in bash?

I want to filter a file by character (for the purpose of removing invalid xml characters which I cannot control the generation of) but I cannot seem to even be able to copy individual characters from ...
0
votes
2answers
2k views

How do I remove special characters from a file?

I have a file that contains : <class> these are special @ $ characters / < > & " ' </class> I want to remove all the special characters only, between <class> </class&...
1
vote
1answer
381 views

Different behavior using tab completion from executing `ls`

I noticed this question on ServerFault: FreeBSD: Directory called ^C (really!) - how to remove? I knew about the ^V part long ago. What interests me in that post is that the OP can see the ^C ...
8
votes
3answers
9k views

How to print a variable that contains unprintable characters?

I want to display the value of the $IFS variable, which could contain unprintable characters (for example: newline). I used the following command to do so: echo -n "$IFS" | hexdump -C Which worked ...
4
votes
1answer
14k views

Remove all type of special characters in unix .csv file

I am processing a huge stream of CSV data coming from a source which includes special characters, such as the following: `÷ Þ Ÿ ³ Ù ÷` Here is an example row from a data set which includes these ...
2
votes
1answer
428 views

Weird output on multiline command in Kitty?

I'm running non-GUI ArchLinux on VMWare 14.0. I installed a ssh server on it (by openssh) and connected to my virtual machine by using Kitty 0.70 on Windows 10 [Version 10.0.15063]. My problem is: ...
2
votes
1answer
339 views

Unix - Delete folder with strange characters using inode or similar [duplicate]

I want to remove this folder : Name Name 1x05 name Formación I have tried all I have seen on internet : find -maxdepth 1 -inum INODE_NUMBER -exec rm -i {} \; rmdir: wrong deleting './Name Name ...
0
votes
1answer
46 views

“script” command saves unnecessary letters

When using script to save all of the terminal output, I see strange characters in the saved files, such as [K, [0m, [KM, [C to name a few. While I cat or more the file I don't seem to see this, it's ...
1
vote
2answers
97 views

Problem removing/replacing special character °

I can't seem to eliminate this ° symbol. I have tried: sed 's/°//g' file.txt and sed 's/\°//g' file.txt but both did not work. I'm running ubuntu 16. The symbol does not seem to be detected ...
0
votes
1answer
2k views

Match only ASCII letters in regular expression, ignoring umlauts

I use a regex in my bash script like REGEX="^[a-zA-Z0-9\-]+$" I want to filter out all non standard words, especially words containing german special characters äöüÄÖÜß but according to this manual ...
3
votes
1answer
61 views

Is there any offline manuals for special characters used in terminal?

We can find help regarding most commands like echo ,cp, mv, wget using man . But can I find manuals for special characters used for operations like piping(| symbol)? If there's none, is there any ...

1
2 3 4 5