Ubuntu :: Command Ls And Joker Characters

Nov 11, 2010

I need to find files that contains do in their name, it can be anywhere in the word, exsamples downloads, loldo, asdomk... ?

View 1 Replies


ADVERTISEMENT

General :: Set Up New Keybinding For Finding Last Command Executed Using The First Few Characters Of The Command In Csh?

Jul 21, 2010

I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.

View 1 Replies View Related

General :: Scp Command And Internaltion Characters

Feb 20, 2010

When I upload a file usind the scp that contains the German characters these characters get changed to . For example, a sentence in an html file like this

looks like this

Why are this characters getting changed?

View 6 Replies View Related

General :: Ps Command Is Visible In 80 Characters?

Sep 1, 2010

When i am running ps -ef command I am getting the execution of the commnad in "80characters"

View 5 Replies View Related

General :: Sed Error - Extra Characters After Command

Aug 3, 2011

sed '/
$/ {N s/
//}'
sed: -e expression #1, char 10: extra characters after command

I want to understand what is wrong with my command line. When I can do the some of following in a script but not in a command line. I have been working through the tutorial at [URL]. When I got stuck at the section Working with Multiple Lines. These script works fine.

#!/bin/sh
sed '
# look for a "#" at the end of the line
/#$/ {
# Found one - now read in the next line
N
# delete the "#" and the new line character,
s/#
//
}' file

In my case I am looking for or return ^M.
#!/bin/sh
sed '
# look for a "#" at the end of the line
/
$/ {
# Found one - now read in the next line
N
# delete the "#" and the new line character,
s/
//
}' file

The problem is when I try to convert it to a single line shell command it gives me an errors.
sed '/
$/ {N s/
//}'
sed: -e expression #1, char 10: extra characters after command
sed '/
$/{N s/
//}'
sed: -e expression #1, char 9: extra characters after command
sed '/
$/{Ns/
//}'
sed: -e expression #1, char 8: extra characters after command

I want to understand what is wrong with my command line. When I can do the following in a script but not in a command line. I have created a sed script to do the work I want.
cat test.sed
#!/bin/sed -f
/
$/ {
N
s/
//
}

View 1 Replies View Related

General :: Escape Characters In Watch Command

Oct 20, 2009

Need little advice running this command.
watch -d 'ps aux | awk '{print $4" "$11}' | sort | uniq -c | awk '{print $2" "$1" "$3}' | sort -nr | head'

I get this error message from AWK. awk: cmd. line:1:
{print awk: cmd. line:1: ^ unexpected newline or end of string

I have tried all the usual by trying to escape the single and double quotes in the command but same result. The end result should be the a listing of memory hungry processes that are scanned every 2 seconds (watch default value).

View 2 Replies View Related

General :: Command To Count All Characters In File

Mar 26, 2010

Anybody know and command to count any characters in file? I would like to know the total number of character " (quote) in file. My idea is to check if in a script the total number of this character is pair.

View 4 Replies View Related

Programming :: Omit Specified Characters From The Output Of A Command?

Nov 18, 2010

After typing "man cut" in my terminal I can't seem to find this answer.

I am trying to write several shell scripts and want to remove the 'lp:<package name>' from the beginning of each line of the output of "bzr ls" as well as any notices at the beginning of the output, leaving only file and folder paths.

View 6 Replies View Related

General :: How To Strip/trim Characters In Command Line

Mar 23, 2011

I have a bunch of files (around 900) that have some special characters. Some of the files contains example, and quoting "[useless] filename (something)"so what I want is just to strip the brackets and parenthesis, some are folders, others are text files

View 1 Replies View Related

General :: Playing With Various Characters In The Command- Line Interface?

Apr 23, 2010

I am playing with various characters in the command- line interface trying to learn what they mean and when i should use them.

View 7 Replies View Related

General :: Bash : Pass Command Line Arguments Containing Special Characters?

Jul 14, 2010

I've written myself a linux program "program" that does something with a regular expression. I want to call the program in the bash shell and pass that regular expression as a command line argument to the program(there are also other command line arguments). A typical regular expression looks like "[abc]_[x|y]".Unfortunately the characters [, ], and | are special characters in bash. Thus, calling "program [abc]_[x|y] anotheragument" doesn't work. Is there a way to pass the expression by using some sort of escape characters or quotation marks etc.?

(Calling program "[abc]_[x|y] anotheragument" isn't working either, because it interprets the two arguments as one.)

View 7 Replies View Related

General :: Bash: How To Pass Command Line Arguments Containing Special Characters

Jun 24, 2011

I've written myself a linux program "program" that does something with a regular expression. I want to call the program in the bash shell and pass that regular expression as a command line argument to the program (there are also other command line arguments). A typical regular expression looks like "[abc]_[x|y]". Unfortunately the characters [, ], and | are special characters in bash. Thus, calling "program [abc]_[x|y] anotheragument" doesn't work. Is there a way to pass the expression by using some sort of escape characters or quotation marks etc.? (Calling program "[abc]_[x|y] anotheragument" isn't working either, because it interprets the two arguments as one.)

View 8 Replies View Related

Ubuntu :: Delete All ASCII Characters In File - Leave Chinese Characters Only

Jul 8, 2011

What command could I use in terminal to delete all ASCII characters? That is, delete a-z, A-Z, 0-9, and all punctuation? I have a file containing Chinese characters, and I want to remove everything else and leave just the Chinese.

I can use grep to leave only the lines that have Chinese in them, but this still leaves a lot of non-Chinese stuff on those lines. Does anyone know how I could actually remove everything that isn't Chinese?

View 4 Replies View Related

General :: Does Non-printing Characters Escape Characters Still Needed For PS1 Definition?

Aug 28, 2011

While modifying the definition of my PS1, I saw that "[" and "]" markers should be added to help bash to compute the right display lenght. Many exemples on the web do not use them or even mention them.I searched for a solution to add them automatically, like with sed, but I didn't find any example.Are they still needed and is there a recommandation not to use sed to define PS1?

View 1 Replies View Related

OpenSUSE :: UTF-8 Characters On Vi / Can't Handle Those Characters Properly

Jun 16, 2010

I have my OpenSuse 11.1 box set up with utf-8, however, every time I try to open a file with utf-8 characters with vi it can't handle those characters properly.

View 6 Replies View Related

Ubuntu :: How To Use All Characters Associated With Keys

Jul 6, 2010

I added a Romanian keyboard to the system. When I check the layout I see some keys have four characters associated with them. For example the key highlighted in the screenshot I attached has four characters: ș, Ș, ;, :. The first two can be used by pressing the key with or without Shift, but how about the other two?

View 1 Replies View Related

Ubuntu :: All Characters In Windows Became 口?

Dec 23, 2010

Just now, after I open my computer, all of sudden, all the characters in windows and menus became little rectangles. What shall I do?

View 9 Replies View Related

Ubuntu :: Conky And Unprintable Characters?

Feb 4, 2010

I've downloaded a .htm file from the WWW which has the following few lines:

Quote:
<h1>
Latest Times as at: 4-Feb-2010 15:30 ${color3}${execi 1800 grep "Latest" FinishTimes.htm | sed -e 's/ in Tideda Files//'}
</h1>
and in my Conky script I do this:
Code:
${color3}${execi 1800 grep "Latest" FinishTimes.htm}

but when it prints on the screen there is an empty box at the end of the line. I assume this a CR or LF that's attached to the end of the line, but how can I get rid of it?

View 1 Replies View Related

Ubuntu :: OpenOffice Not Displaying Characters ?

Feb 15, 2010

I have a problem when opening documents in OpenOffice write, it doesn't display the characters for certain menu options - just a series of squares instead. It does this in other OpenOffice applications as well.

View 2 Replies View Related

Ubuntu :: KDE 4.4 - Compose Key And Special Characters

Feb 15, 2010

I am trying to type German Umlaut letters on an English keyboard using kde 4.4. For some reason I seem unable to figure out how to do that (I have just recently switched to kde, was using gnome before). I have looked through various threads and the kubuntu wiki [URL], but can't get the compose key to work. In gnome I used to type "AltGr" plus "[" followed by a vowel and thus get my Umlaut - before I fiddled with the system settings this worked in kde, but only in firefox & Open Office (I assume they are gtk apps).

Since it did not work in Kmail, I went to the system settings, set up a ComposeKey (AltGr, but also tried rightWin), but it doesn't change anything for the kde applications. It only means that the old key-combination now stopped working in firefox and OO. In the system setting of kde 4.4 I can't see the options to enable xkb-options, but I assume the advanced options of the keyboard layout are xkb-options of previous kde releases. I unticked the box 'reset old options', but nothing changed. I type a lot of German text, so using a character map is not an option.

View 2 Replies View Related

Ubuntu :: Strange Characters In Applications?

May 3, 2010

This happened to me first time when i installed VLC Player,and now it happens in QT Designer too I dont know if its relevant,but when i installed Ubuntu,i installed it in Serbian language (cyrilic) and than switched to English.

View 4 Replies View Related

Ubuntu :: Dots Used For Hidden Characters?

Jun 26, 2010

How can I change those heavy black dots that are generated in the hidden password field to asterisks? I have looked in gconf-editor but haven't run across it. Or maybe it's in a totally different place?

View 3 Replies View Related

Ubuntu :: BAd Characters In Almost All GNOME Dialogs

Oct 11, 2010

@ ubuntu - 10.04 -32bit. Linux 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux

Suddenly, maybe after the last synaptic update, i got unreadable bad characters in gnome.

In the Firefox browser (at the top.. ), copying dialogs, synaptic..

View 1 Replies View Related

Ubuntu :: Delete All Files With Certain Characters?

Nov 12, 2010

how do i delete any single one of the files in my whole disk that say something along the lines to "chromium os"? i.m just wondering because i tried to install through virtual box and failed, and probably have three different partitions consisting of nothing.

View 3 Replies View Related

Ubuntu :: Shortcuts For Missing Characters?

Dec 29, 2010

I am the proud owner of a netbook with Spanish keyboard where the < and > keys do not type the corresponding symbol. Instead they send Home. In addition I write in Norwegian and I would like to type the easily. Alt gr (right alt) combinations do not generate those characters. I would like to type < with the Shift-Ctrl-L key combination and similar short cuts for the remaining keys I am missing Like Ctrl-Shift-o for . I somehow was able to launch gnome-do with the Ctrl-Shift-Space key combination which is great as the Windows key is hijacked by Unity.

View 2 Replies View Related

Ubuntu :: Left Shift Key Is Ignored For Some Characters

Jan 19, 2011

I've been having a strange problem with my keyboard lately. certain characters aren't capitalized when I hold the left shift. Right shift covers these buttons, but then ignores some itself.I know that it used to be fine, as I set a password on my router with a capital letter which then did not work, and in my AWN terminal, I would use ctrl+shift+v to paste in lines of code.

I am running Ubuntu 10.04 64 bit, on a Compaq Altec Lansing.For a demonstartion, here is the alphabet as typed holding the shift keys.

Left Shift
ABcDEFGHIJKLmNOPQRSTUvWxYz
Right Shift
ABCDeFGHiJKLMNopqrSTuVwXYZ
Both Shifts
A B ce D ce F G H ,i J K L mu N .o /p zq vr S T mu vr xw xw Y zq

Also, I noticed now that I cannot use the right shift with the Left arrow key to highlight text...

View 1 Replies View Related

Ubuntu :: Rendering Of Characters In Firefox?

Jan 29, 2011

I have a weird issue in Firefox on Ubuntu 10.10, and sadly it's a periodic mistake that I don't know how to initiate... Sometime in firefox some of the characters seems not fully rendered, and as I recall it can also happen in menu fonts sometimes. In the attached screen-shot you can see that it's the a character that has the problem - but only for one font type or? But I have seen this with most characters I think - and as stated this happens randomly.For instance right now I looked again in the tab in firefox where I just 5 minutes ago did the screen-shot and now all characters are correct?? I have tried to reload or even restart firefox when it occurs, but this is now guaranty for a solution... When it happens it makes many homepages unreadable

View 9 Replies View Related

Ubuntu :: Any Way To Translate Characters In Picture?

Jul 29, 2011

Anyone who could translate this picture for me? Its from Taiwan, so I guess some kind of Chinese.

View 1 Replies View Related

Ubuntu :: Some Japanese Text Comes Out As Garbage Characters

Jan 23, 2010

I have installed scim and anthy. Most Japanese characters display, but some websites and files show garbage characters. Is there any way to resolve this?

View 1 Replies View Related

Ubuntu :: All Characters On Login Screen Are Boxes?

Feb 7, 2010

I got a new computer yesterday, a 64-bit Asus.I replaced the power supply and the graphics card immediately. I booted the computer up with a spare 20"idescreen monitor on a portable desk to install Ubuntu and make sure all was well with the newly installed power supply and graphics card.It worked perfectly.I moved my old tower out from its slot under my desk and put the new Asus tower under there. I plugged it into my 23" widescreen monitor and booted the computer.Ubuntu (9.10) boots just fine... but the login screen is all boxes!! There are no characters, just little white boxes. I can put in my password and log in. Once logged in the system is fine - all characters display normally from within Ubuntu.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved