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?
View 2 Replies
ADVERTISEMENT
Apr 4, 2011
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/).
View 5 Replies
View Related
Nov 5, 2010
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?
View 6 Replies
View Related
Sep 17, 2009
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
View 10 Replies
View Related
Jul 27, 2011
I have a few rather large text files, and I need a way to look at the first three lines of each. Is there a way to do this using awk?
View 3 Replies
View Related
May 2, 2010
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
View 11 Replies
View Related
Jan 19, 2009
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.
View 2 Replies
View Related
Jun 17, 2009
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?
and maybe write the output to a file.
View 5 Replies
View Related
Jul 21, 2011
in the shell. how do i compare 2 text files and change matching lines in one of the files ?
example:
cat file_1.txt
line_1
[code]...
View 6 Replies
View Related
Feb 3, 2011
I have created a text file in Linux, and I only want to show certain users. Here is my text file:
usr user tty Limbo?
11 12:06:13 APW no
12 12:06:13 APW no
[code]...
View 12 Replies
View Related
Jul 6, 2011
anyone has ideas how to remove lone lines from a text file?
If I have a file that is like this:
-----------------------------------
line 1
[code]...
View 14 Replies
View Related
Jun 17, 2010
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.
View 6 Replies
View Related
Sep 7, 2010
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.
Example:
file size
motherfile.txt 5000 lines.
after split
motherfile.txt 2000 lines.
childfile1.txt 2000 lines.
childfile2.txt 1000 lines.
View 7 Replies
View Related
Mar 17, 2011
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.
View 4 Replies
View Related
Nov 5, 2010
Using sed, I am trying to append four commas ',,,,' at the end of lines containing the pattern 'Response' in a text file with lines such as these:
6,Pulse,50,254968,14886,NA,,,,
7,Picture,8,265157,0,1,15045,2,0,15000
7,Response,1,271553,6396,1
7,Pulse,50,274969,9812,NA,,,,
8,Picture,1,290232,0,1,15045,2,0,15000
8,Pulse,50,294969,4737,NA,,,,
[Code].....
View 1 Replies
View Related
Dec 19, 2009
Text does not scroll properly in terminal windows or in any KDE4 application window including Yast's windows.
When I scroll up or down the text either rolls in the upper line or two in a window or the lower line or two and nothing rolls in the middle.
View 1 Replies
View Related
Jun 30, 2010
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.
View 2 Replies
View Related
Jan 29, 2010
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.
View 3 Replies
View Related
Sep 14, 2009
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?
View 1 Replies
View Related
Jun 30, 2010
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
View 9 Replies
View Related
Dec 4, 2010
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.
View 2 Replies
View Related
Oct 29, 2009
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.
View 2 Replies
View Related
Dec 26, 2010
I want to know how we can install redhat Linux Enterprise in text mode on my system?
View 4 Replies
View Related
Jun 13, 2010
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.
View 2 Replies
View Related
Apr 15, 2011
is it possible to view png or pdf files in linux text-mode?
View 1 Replies
View Related
Mar 12, 2010
I am looking for a text mode paint program for linux.
Like... something that uses ncurses or something to paint images without having X installed.
Does such a program exist?
If so where can I find it?
View 6 Replies
View Related
Jul 13, 2010
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.
View 2 Replies
View Related
Jan 28, 2009
I have a text file called file1.txt containing many lines eg.
line1
line2
line3
line4
line5
line6
Then i have another text file called file2.txt contains
3
5
6
Is there a command to remove the lines in file1.txt based on the keywords in file2.txt? note: It should remove line3,line5,line6 based on 3,5,6
View 10 Replies
View Related
Apr 4, 2010
I looked at links2 and elinks - neither one seems to even support a simple javascript redirect on a site.
View 2 Replies
View Related
Apr 10, 2011
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?
PS: i don't have a GUI or X Windows running.
sudo dpkg-reconfigure console-setup
View 1 Replies
View Related