General :: Set More Lines To Scroll Backwards, In Text Mode?
Dec 27, 2010
I want to scroll back 10000+ lines in text mode linux terminal. As there is an unlimit option in gnome-terminal, so I guess if this is also possible in text mode?
I'm installed 64-bit openSUSE 11.4 with GNOME. I have a DELL mouse with middle wheel. How do I configure the lines the wheel scrolls? By default it is about 1-2 lines. I need more.
I searched many places. Seems only KDE supports this settings. I also digged up VertScrollDelta in xorg.conf, but the latter is not used currently (not exists in /etc/X11/).
Is there a way, besides writing a PERL program, to read each line one by one in file A and tell if this line also exists in file B? Can this be done via a shell script?
Is there anyway to delete certain paragraphs within a text file and then insert the paragraph into another text file.I just cannot figure out how to remove the specific lines from the file and then insert them into another file at a certain line within that new file. Thanks again
i am on processing text tasks And i found that if you assign a text to a variable is chomp'ed automatically the newline
Code:
variable=$(cat file.txt)
The problem is i can only access the items/lines using:
Code:
for line in $variable do echo $line # Other commands done
how do i convert this to an indexed array. More importantly, how do i get access to individual $line[0], ..., $line[n] Another thing, if the file.txt, has lines with spaces it is a mess using the for...in..., but echoing prints line by line...o_0
I need to insert 3-4 lines of text to the beginning of a text file. The file is a largish MYSQL dump, the result of a backup shell script. This shell script should insert the required text.I've wrestled with sed, but lost.
I have a list of words that I want to grep in many files to see which ones have it and which ones dont. in the text file I have all the words listed line by line, ex: list.txt:
check try this word1 word2 open space list ..
I want to grep each line one by one. like I want it to
grep "check" *.log grep "try this" *.log grep "word1" *.log .. etc how can I do this?
As much as I didn't want to ask a sed question, especially considering there's already one on this page I've looked as best I could and cant find the solution. Id like to use sed to replace occurrences of a pattern but exclude two or 3 specific lines that are not consecutive. For example I know with 1,10 i could exclude the first 10 lines, what is the syntax if I just wanted to exclude line 3 and 7. The sed command I'm working with right now is for rearranging Ethernets.
cat /etc/udev/rules.d/70-persistent-net.rules | sed -e '/'"$found1fullmac"'/!s/eth1/'"found1eth"'/' > /etc/udev/rules.d/70-persistent-net.rules
I would like to replace $found1fullmac with two variables representing line numbers to exclude from the replacement.
I am facing a problem while splitting a text file, I need to split a file into some parts and each split file should have 2000 lines, when I do it through "split" command the mother file is kept intact but as per my requirement I need to cut mother file into some parts thus it should not be kept intact.
Trying to remove lines from a syslog text file that have duplicate strings
Mar 10 06:51:11[http-8080-1] INFO com.MYCOMPANY.webservices.userservice.web.UserServiceController [u:2533274802474744|360] Authorize [platformI$tformIdAndOs=2533274802474744|360, userRegion=America|360]
then a few lines down
Mar 10 06:52:03 [http-8080-1] INFO com.MYCOMPANY.webservices.userservice.web.UserServiceController [u:2533274802474744|360] Authorize [platformI$tformIdAndOs=2533274802474744|360, userRegion=America|360
got the same thing in terms of a u: number but the issue is I need to remove duplicates and just leave one and the file has multiple duplicates of different u: numbers and it's 14,000 lines long. can anyone tell me if I can use awk? sed? or sort for something like this to? removing lines that have a certain string in there that's a duplicate.
I have posted about 20 Slitaz Video Tutorial I made. I thought it might be helpful for new comers to Slitaz. I've have 2 playlists. One for the GUI interface and one for Text-Mode. Both playlists can be found at:[URL].. Let me know if there is anything you would like me to go over in future tutorials.
Recently, I'm getting an annoying problem: When I scroll quickly the text smears or duplicates itself -- doesn't happen with all applications. I haven't had this problem until I started to use OpenGL compositing with my NVidia card.
The system always boot up in Graphic Mode. After installation of Web Server, I want to disable Graphic Mode and change it to boot to Text Mode to save memory. Is there a way to disable graphic mode?
I have just been using distro's that install with a graphical interface, but some of the distro's forum members recommend are installed text mode only. How difficult is a text mode install
I, too, have a dual-monitor set up. I would like to use one monitor to run X11, and the other to run a text-only mode, like when you press ctrl+alt+fX, where 1 <= X <= 6.
Ctrl+alt+(f1-f6) does not work..Am using VMware just for Practice purpose.
I have installed Redhat Enterprise Linux 5.But Whenever i start my System(VMWare)it shows the GUI mode.When i press Ctrl+alt+f1 etc...i could not get the text mode.
I changed the default setting in /etc/inittab but when changed it logs on to text mode and i could not get GUI mode when Ctrl+alt+f7 is pressed.
how to install fedora 11 from text mode . I am in a situation to install in text mode only .there is no such option in fedora 11 . Because i have already installed fedora 9 in text mode.
I have a problem with my newly installed ATI driver so my Fedora 12 boots to a frozen graphic mode display.I need to force it to boot to text mode interface to start adjusting my X configuration. What to do?This is a new Fedora 12 installation without any change to GRUB etc.
I have a ubuntu linux working in TEXT mode. I would like the change the font size (or if possible, get my terminal with inconsolata font). How can i do it?