General :: What Are Red Lines In Terminal

Mar 16, 2010

I've cross compiled busybox with buildroot for the mini2440 (configured: arm920t EABI) I compiled it dynamically. I use Ubuntu 9.10 on my build system. Doing the "ls -l"-command in the /bin directory I see that busybox is marked red. (This is still on my build system, not on my target system!) The background of the word busybox is marked red. And the word busybox is in default colour instead of yellow, even though all permissions have the executable sign. I was wondering what this means. Also whether it's a bad thing? Also could this mean this is why my mini2440 will not boot correctly after transferring this root file system? (It stops the booting process just after loading the root file system)

View 8 Replies


ADVERTISEMENT

Ubuntu :: See Older Lines In Terminal?

Sep 16, 2010

I am trying to install some piece of software on my machine that I need for my research.The installation instruction says I need to issue a "make" command in the main directory and that should do the trick. But it looks like there are some issues with this. The problem is that I cannot even see the earlier error messages. The terminal only shows the last ones but when I try to see where did the problem started I can only go back to a certain number of lines. I tried also to pipe the output of the make command into a text file but it only shows me the beginning and does not have the rest of the stuff ( is this normal for vi?

View 4 Replies View Related

General :: Delete All Lines Containing A String, Plus 4 Lines Below It?

Jan 26, 2010

I've come across an unusual requirement for a service in my Ubuntu system.Simply put, I need to find a way to search for all instances of a term in a file, delete lines containing containing that term, and delete four lines below each instance of that term. ither that, or copy the entirety of a file to a new file and skip over all lines containing the term plus four below it.This sounds kinda weird, I know. Without going too far into detail, I either have to change the logfile format for a server I'm running which is a huge pain in the butt, or I can just run a script to edit an HTML report generated from said logs. (Said report is really just for managers to peruse, and I like my log format, so I'm pursuing option 2.)

View 4 Replies View Related

OpenSUSE :: Highlights All The Lines Beyond The First Terminal Appearance - Kill Highlighting?

Aug 3, 2010

I am pretty new to Suse Linux, coming from Sun Solaris. I have an issue with the "more" command. It highlights all the lines beyond the first terminal appearance; anyway I can kill this highlighting?

View 9 Replies View Related

Ubuntu :: Paste Multiple Lines Of Text Into Terminal / Nano?

Jan 24, 2010

I'm using GNOME terminal to SSH into a Debian server and would really like a way to paste multiple lines of text into configuration files (using the nano text editor if possible).

So far whatever I try dumps all the text onto a single line meaning I have to manually go through inserting line feeds which is tedious and can introduce errors.

Is there a way to paste text with line feeds intact? Rather than copying each line individually?

View 2 Replies View Related

OpenSUSE :: Web - Screen Loads And After Initial First Few Lines Breaks Up Into Multiple Repetitions Of Lines

Apr 22, 2011

I have been experiencing a problem where the screen loads and after initial first few lines breaks up into multiple repetitions of lines. Reloading helps but has to be repeated when pageing down. Mail is no problem; it is supplied by my network provider. OS is openSUSE 11.2 which I update when advised. Below is a sample from the error console:

[Code]...

View 1 Replies View Related

Ubuntu :: Wobbly Windows Lines - Get These Lines When Drag/move The Window Upwards

May 31, 2011

I've just installed Kubuntu 11.04, switched on wobbly windows effect. It runs very smooth on my Nvidia GeForce 7600 GS with dual screen twinview turned on. However, I get these lines when I drag/move the window upwards - see screenshot:

View 6 Replies View Related

Programming :: Remove Lines And Parts Of Lines From Python Strings?

Nov 24, 2009

How do you remove parts of strings using python? Such as, if I have something like:

Code:
erme1 sdifskenklsd
erme2 sdfjksliel

[code]....

View 3 Replies View Related

General :: Replace Several Lines In A File With Other Lines In Another File?

Oct 26, 2009

I have this massive table file with some data in it and I want to replace some lines that are wrong with the correct ones that are in another table file of the same format. The wrong lines are not all together in a block but randomly distributed so I need to make a loop checking if the line is in the other file and if it is, replace it. I want to try and do it with sed or awk but I don't really know how to....

View 12 Replies View Related

General :: Terminal Emulator For GNOME With Display Features Like Mac OS X Terminal?

Mar 5, 2011

Is there a terminal emulator which works well in an Ubuntu desktop and provides the following features which Mac OS X's Terminal application has? Re-wrapping text when the window is resized.A Clear command which clears scrollback (as the shell clear does not) and does not clear the cursor's line (typically containing a prompt).

View 2 Replies View Related

General :: Make Linux Terminal Transparent With Terminal Command?

May 10, 2010

Is it possible to make terminal (xfce4-terminal) transparent from bash script?

Maybe by enabling compostion?

View 1 Replies View Related

General :: Launch A Terminal By Clicking On The Terminal Icon At The Top Of The Screen

Apr 22, 2010

I have a favorite REXX program called fv2. When I was a Windows user I had an icon for fv2 on the Quick Launch bar. Click that icon, and the program ran. Now, as a Linux (Ubuntu) user it is necessary to go through several steps to run fv2.

1) Launch a terminal by clicking on the terminal icon at the top of the screen. What's that area called? The GNOME panel?
2) Enter: ~/Desktop/RexxScripts
3) Enter: regina fv2

I run fv2 several times per day and would really like to have the convenience of a clickable icon.

View 3 Replies View Related

General :: Terminal Proxy Or Screen Without Terminal Emulation?

May 26, 2010

How can I make terminal applications immune to terminal emulator close, but still able to use all virtual terminal features?

egin{UPDATE}I want my terminal application remain alive and accessible if I accidentally close terminal emulator. This functionality is provided by screen and tmux, but they have issues with colors and they flush screen.Yes,I can run the shell inside screen, but I do not want the shell remain alive unless there is some other program running.

end{UPDATE}I see this must be something like screen, but without VT100 terminal emulation, something which will just apply whatever application does with "terminal proxy"'s terminal (like outputting something to stdout/stderr or using stty to set terminal options) to the terminal this proxy runs in.

// I know about screen and altscreen on, but it makes either this (screen with TERM=screen):

or this (screen with TERM=rxvt-unicode):

while I want this (rxvt-unicode without screen):

I have figured out that everything looks fine if I compile rxvt-unicode with USE=-xterm-color (in fact vim looks like on the second picture even without screen if I add this USE flag) and set TERM=screen-256color, but I do not like this workaround because it actually changes colors and I can't be sure that it will always change them only this way:

View 4 Replies View Related

General :: Run Programs From System Terminal Without Blocking Terminal?

Jun 19, 2010

Right now when I start a program from a terminal I can't use that terminal instance again until I close the program.

I am a new user of linux, and I want to know if there is a way to execute a program/application from a terminal without blocking the terminal until the program ends.

View 3 Replies View Related

General :: How To Redirect A Terminal/tty Output To Other Terminal/tty

Dec 14, 2010

hello
I tried to find a good subject but it was the best of mine, anyway I'll explain it here.
some time I do some thing like installing a new application in Linux terminal of my office PC but it take a long time and I have to go home during its installation or configuration process that it is not good to cancel it.My current solution is abandoning the process until next day. I wanted to know is there any way to redirect an input and out put of a terminal to another one, if it works I can continue my abandoned process by ssh to my Linux office PC and redirect that terminal to my new remote sshed terminal from my home.

Thank a lot for any help.

View 4 Replies View Related

General :: Awk Group 2 Lines ?

Jul 15, 2011

I have a file with n number of lines where every 2 lines are grouped.

So I want to print the items in a line and the next line in a single line.

For example:

I can print the line and the adjacent together and print the required items like this:

But that's not the order I want. How can I get it printed like below:

View 1 Replies View Related

General :: Why Does AWK Split Lines Into Two

Aug 5, 2010

when I run the following command:

awk -F, '{print $10 "," $5 "," $1 "," $3 "," $4 "}' myfile > tmpfile

tmpfile displays the lines but they are all cut off and placed on the line below at the same point.

View 1 Replies View Related

General :: Deleting Several Lines In Vim?

Mar 5, 2011

I've a big text, and I would like to delete several lines in vim. I was thinking in doing that with marks, but I can't do it. Below it's an example text and I want to delete from <FROM HERE> to <TO HERE>. How can I do that?
[Quote] .....

View 3 Replies View Related

General :: How To Use Find With Two Lines Together

Jan 19, 2010

I am trying to search for

Code:
<cats>
Sports
</cats>

how do i use the find command to search for <cats>Sports The problem here is that the word Sports is in the next line of <cats> so I cant use -

Code:
find /test/upload/ -type f -name "*.xml" -exec grep -l "<cats>Sports" {} ; -print
How do I put the next line string?

View 8 Replies View Related

General :: Get The Lines With Only Five Characters?

Nov 2, 2010

I have a file with a random word on each line (3k+ lines). How can I get the lines with only five characters? I tried using grep file | more, but it returns all the words (even those less than 5 characters).

Edit: I also tried grep '.{5}' file | more but it doesn't show anything. And grep '.{5}' file | more returns all lines with four or more characters (I'm really confused about why it's doing this).

View 4 Replies View Related

General :: Need To Remove Lines With Sed

Mar 14, 2011

I have a large file and need to remove all the lines containing symbol/symbols.

For example: . , ! " # $ % & / ( ) = ? � � ' � + * � { } ] [ - _ : ; , > < (maybe more)

View 13 Replies View Related

General :: SED Or AWK - Remove Every 4 Of 5 New Lines

Aug 30, 2010

I have a file that looks like this:

1
2 3 4 5 6 7 8 9
10 11 12 13 14 15
16 17 18 19 20 21
22 23 24
1
2 3 4 5 6 7 8 9
10 11 12 13 14 15
16 17 18 19 20 21
22 23 24
1
2 3 4 5 6 7 8 9
10 11 12 13 14 15
16 17 18 19 20 21
22 23 24
...
I would like to reformat it to look like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
...
Is there a nifty awk/sed one-liner to do this operation?

View 6 Replies View Related

General :: Using Vim To Add Something To End Of Series Of Lines

May 15, 2011

I would like to use VIM to add something to the end of a series of lines. Ideally I could do something like add " X" (with a space before the X) to the end of lines 1-40 and 50-60 in a single command, i.e. ideally I could have a break in between where I didn't add something. If that's not possible just adding to 1-40 and 50-60 separately would work too. I would be using bufdo to do this, but my understanding is that anything you can do in vim you can use with the bufdo command.

View 3 Replies View Related

General :: Why Seq 10 Sed Just Delete Three Lines

Jun 30, 2011

Code:
[root@station3 ~]# seq 10 | sed -e '1,2d' -e '1,2d'
4
5
6
7
8
9
10
We can see that sed just deletes the first three lines. How "seq 10 | sed -e '1,2d' -e '1,2d'"works?

View 1 Replies View Related

General :: Add Characters To Several Lines In A File?

Apr 17, 2009

I would like to modify the content of a text file in Linux, in the following way:=> the file has several of these lines:./run_pest3 ./g134366.04080_0.062 x 2_d043 1 0.43 results_EC=> I want to modify all lines to be:./run_pest3 ./g134366.04080_0.062 x 2_d043 1 0.43 results_EC0.062i.e., the last number of $2 should be "attached" to the end of $7, for each line.

View 5 Replies View Related

General :: Vim: Tab-align Multiple Lines?

Apr 14, 2010

In GUI style editors, you can generally select multiple lines, press tab a few times to move all the lines across (or shift-tab to go back). I have no idea how to do this in VIM.I googled around and couldn't find any straight answer to I came here.

View 2 Replies View Related

General :: Commented Out Lines In Crontab Still Run?

Sep 20, 2010

Silly question here. My crontab looks like this:

Quote:
0 22 * * * /usr/sbin/logrotate /var/log/VRTSralus/VRTSralus.logrotate
#0-59/10 * * * * /root/memmon.sh >> /var/log/memmon.txt
0 8 * * 1 /root/SHC.sh
#0 21 * * * /root/scripts/ralus_restart.sh > /dev/null 2>&1

As you can see two of the lines are commented out. However, both commented out commands are still running. I get emails stating that the RALUS agent restarted (another mystery since it's supposed to go to dev null according to the line above), and I can see that the memmon script is also running daily. Am I missing a step? Some other place I should be looking? Commenting out lines in your crontab is pretty much a no-brainer, so I appear to have less than no brain as this is a mystery to me.

View 5 Replies View Related

General :: Concatenate Data From Different Lines?

Mar 1, 2011

I want to concatenate info from different lines from iptables.for exmaple, in my firewall using iptables I have this information.

pkts bytes target prot opt in out source destination
0 ACCEPT all -- * * 192.168.1.3 0.0.0.0/0
5 248 ACCEPT all -- * * 0.0.0.0/0 192.168.1.3

[code]...

View 1 Replies View Related

General :: Get Rid Of Surplus Comment Lines With Sed?

Feb 14, 2011

I have a large text file and I have some comment lines in it beginning with $.

Now here is the challenge there are some lines where there is actually a written comment after $ (with some blanks between)

Then there are lines with only $ on it - with maybe some trailing spaces.

I would like to delete these dummy lines...

Lets say from

$ This is valid comment
$
$
$

[Code]....

View 3 Replies View Related

General :: Extract Lines From File Using AWK ?

Aug 5, 2010

I have a file similar to this:

I need to print the last line for each user into a file. The resulting file should look like this:

Is there a way that AWK can match lines from $1 and then print the last line into a file?

View 7 Replies View Related







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