CentOS 5 :: Change Or Add Text To The Login Page In Comment Line

Feb 16, 2010

I have installed the astercc box it is running by centos 5.2 and i want to add some text to the " login page " i dont know how its called but when i start the pc when everything is been loaded it ask for the user and password And in top of it i want add tekst there,

View 5 Replies


ADVERTISEMENT

Ubuntu Installation :: Strange Line Of Text Appeared On Open Gedit Page On First Use After Upgrade From 10.04 T0 10.10

Jun 11, 2011

Strange line of text appeared on open gedit page on first use after upgrade from 10.04 t0 10.10. I was reading something and copypasting the odd bit onto a gedit note: left the room, returned to find blank page except for "nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn". Then I saw that it was just the tail-end of a longer line which had stretched the page width to max, and by deleting backwards I arrived beneath my intact notes. The line was "I[my bolding]nnnnnnnnnn...nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnby v9898". I googled v9898. And there's a v9898. com. It provides something for Windows systems.

View 1 Replies View Related

Red Hat / Fedora :: Add A Comment To Specific Line With Sed?

Jul 15, 2010

how can i add a comment to specific line with sed?

View 2 Replies View Related

Ubuntu :: Comment The Bold Line (env Command)?

Sep 13, 2010

I have this line in my in a .sh file:

Code:
#!/bin/bash
...

[code]....

View 12 Replies View Related

Ubuntu :: Change Text On Login Screen?

Dec 21, 2010

I am trying to change the text on the login screen (below the ubuntu logo) where it says Ubuntu. This is so I can replace the word with a random phase/personalise it for who the computer is for with there name etc.

View 2 Replies View Related

Ubuntu :: Change Gdm Login Screen From Command Line

Mar 22, 2011

is there a way to change the gdm login screen (either the background image or the text in the login window) from the command line?i'd like to check several things at boot and report that on the gdm login screnn.

View 8 Replies View Related

General :: Change Login Manager Gdm->command Line Only?

Feb 28, 2010

I am using debian 5.04(base) + lxde. I am using gdm to login. I want to change the gdm to commandline login only, which similar to (ctrl +alt + f2) but whenever computer restart, it boot into gdm. what is the file to change the boot level?

View 1 Replies View Related

CentOS 5 :: PHP Not Working - Blank Page - Get This Warning: Unknown: Failed To Open Stream : Permission Denied In Unknown On Line 0?

May 5, 2010

I tried posting this before and I'm not sure what happened but I don't think it worked, so if it did please forgive the double post.am very very new to centOS and linux in general. I just want to setup a test web server that more closely mirrors our actual web server that is hosted by rackspace. I've installed centOS and tried to setup Apache, PHP and MySQL from a guide on the web using Yum. When I go to localhost in the web browser I'm able to see the default apache page. However when I create a php page it's just blank.When I look at the apache error logs I get this: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

I've been searching alot on the internet and I know the issue is permission related, but I don't know how to fix it. I've seen some forum posts that say you need to use the chmod 775 command on the /var/www/html folder.Currently when I do ls -l /var/www/html it returns

-rw------- 1 root root 19 May 5 13:16 index.php
-rw------- 1 root root 19 May 5 13:15 index.php~

I'm sure that this isn't correct but like I said I don't know much about how to set permissions or who the owner needs to be. I've done alot of searching and seen similar posts, but no one seems to explain it clearly.

View 2 Replies View Related

CentOS 5 Networking :: IP Tables Comment Module Causes COMMIT Fail?

Feb 12, 2011

IP Tables Comment Module Causes COMMIT Fail

/etc/sysconfig/iptables:
*filter
:CHAIN_X - [0:0]

[code]....

View 10 Replies View Related

General :: CentOS Command-line Program To Randomly Change MAC Address?

Nov 7, 2009

OS: CentOS 5.3 Enterprise Server
Red Hat Nash Version 5.1.19.6

I need to find a command-line program to randomly change my MAC address. I know on Ubuntu there is a program called 'macchanger'. And on Windows another one called 'macshift'. I just can't find one for CentOS 5.3 Enterprise Edition.

View 3 Replies View Related

CentOS 5 :: Can Change Passwd But Still Not Able To Login

Oct 2, 2009

I have a web server running Centos5 on a Xeon processor with 2GB of RAM. Whenever I try to login as a user the system hangs.If I login as root I can login without any problems. I tried changing the passwd. I can change the passwd but still not able to login as that user. I tried creating a new user. When I run the command adduser or useradd the system hangs.

View 7 Replies View Related

Programming :: Delete Line Of Text From Text File Via Shell?

Jan 13, 2010

I have to delete a certain line of text from the a textfile via ubuntu's shell scripting.I have done research, and it seems that most people advocate the usage of sed /d option. sed makes does not edit the text file. Hence, most options I discovered involved the use of a temporary variable/textfile and then overwriting the old file with the temporary new file. Is there anyway whereby I can bypass the use of temporary storage containers? I hope there is any magical combination of commands to edit the file directly.

View 3 Replies View Related

Software :: Grep Query To List 1 Line (which Is Fixed) And The Next Line After It (variable Text)

Jan 20, 2011

How can I list the following with grep. I want to extract 2 lines fron a text file The fixed known part if it exists will static text and the text line after it will change.

A sample file
.
.
textline1

[code]....

If the fixed part does Not exist how can I return error code 1

View 3 Replies View Related

Programming :: Add Text Before Line Number In Text File?

May 3, 2010

a sed command to add a text before line number in text file? I have text file with 500 lines, and i want to add 3 more lines with text after line 300, OR before line 302, isn't no problem.

View 16 Replies View Related

Programming :: BASH: Each Line Of Multiple Text Files Gets Added To One Line?

Sep 12, 2010

I currently have 3 files with floating point data that I wish to have in a single file with the format:

Code:

F1 F1 F3 Output
a1 b1 c1 a1 b1 c1
a2 b2 c2 a2 b2 c2
a3 b3 c3 a3 b3 c3
a4 b4 c4 a4 b4 c4

View 3 Replies View Related

Programming :: Open Two Text Files - Read Them Line By Line And Update Parameters Of The 3rd File ?

Oct 18, 2010

I have two txt files containing x and y coordinates: xcoord.txt & ycoord.txt. I need to open them; read them line by line to get each coordinate; then each time I need to update Xs and Ys parameters inside another file called "dc.in" with the grabbed values.

Finally each time I need to run two exe files ( dc_2002 and st_vac) and produce corresponding output for each Xs and Ys ( dc.in is an input file for this exe files)

I have written the following code but it does not work:

View 14 Replies View Related

Programming :: Perl - Delete Line From Text File With Duplicate Match At Beginning Of Line

Apr 1, 2009

Was wondering if any perl guru's could help me with a quick log file adjustment. I have a text file that looks like so (tabs and newlines are revealed so you can see what separates the data):

There are maybe 100 lines of text in this file at any given time. I need to delete all duplicate lines only looking at the first bit of text prior to the first tab. It doesn't matter which one gets deleted as long as there are no two lines that begin with that same text at the beginning before the first tab. So in this example, either the fist line "1234" or the last line "1234" would need to be deleted. I already have code in my script that opens the files - I just need the code to read the text into an array and the part that would find matches based on the above criteria, and make the deletions.

If it would be easier, I can even do a system call and use SED (v4.1.5) and/or AWK (3.1.5) instead.

View 7 Replies View Related

General :: Match And Combine 2 Text Files Line By Line

Mar 21, 2011

This solution works but is slow with large files. I am looking for a faster solution.

The 2 files contain filenames, one of them has associated data I want to append to the other file's matching filenames

file1:

file2:

I append file2 by matching the unique_filenames and appending them with the tag data and some formatting

appended file2:


Here is the SLOW code

while read inputline.

View 9 Replies View Related

Programming :: Bash: Read A Text File Line By Line?

Jul 7, 2011

bash 3.1.17(2) I'm trying do write a shell script which must operate on each line of an ASCII text file. So, all the code must be inside a loop, and inside the loop, the first thing should be to read the next line from the file. I have the bash read command. But it reads from stdin. Any way to make read from a file?

View 6 Replies View Related

Programming :: Using Python To Merge Two Text Files Line For Line

Jul 6, 2010

I'm a bit new to Python programming and hoped that someone might be able to help with a problem I'm having. What I essentially want to do is to combine two text files line for line. I know how to do this in a bash script so to give you a better idea here's the code for that:

Code:

This is basically for adding on values to the end of a CSV file that uses ';' as the delimiter. So say file1 said:

And file2 said:

Then running this command would create merged_file1_and_file2 which would be:

The code I'm using at the moment is:

Code:

As I'm sure any experienced python programmer will see, this prints out the first line of the file "csvraw" and then all of the lines of "stamps" and then the remainder of "csvraw".

What I'd like to do is something like: (pseudo code, I know it's not python ;-))

Code:

Is this possible? I've tried googling and my Python Pocket Reference hasn't been much help. I've looked at pickling but that doesn't seem appropriate.

View 1 Replies View Related

OpenSUSE Install :: Can't Login - Gnome - Background And The Login Box In The Middle Of The Page Just Turns Whole White And Keeps Flashing

Jun 23, 2011

when I get into the login page, I can only see the background and the login box in the middle of the page just turns whole white and keeps flashing. no response for any clicks. I was force to ctrl+alt+F1 to switch to init 1 to do my work. But I still want to use my graphical desktop either KDE or Gnome is ok. I am using gnome.

View 5 Replies View Related

CentOS 5 :: Change Keyboard Mapping On Login Screen?

Mar 4, 2009

I just installed Centos 5.2 with a netinstall usb key. I had no Belgium keyboard mapping available during installation, so I chose a fr-latin1 layout. Now this is the default keyboard mapping for the gnome login screen, and for every new user on the system. How can I change this to a Belgium keyboard layout? I can change it for myself within my gnome session in Preferences>Keyboard, but I haven't found how to change the "global" or default setting.

View 1 Replies View Related

Programming :: Text On A Specific Line At The End Of A Line?

Jul 26, 2010

I'm trying to add text to a file for a specific group of users, I'll need to do examples as I can't think of an easy way of explaining, my file is like this:

Code:

users{
user1
user2

[code]....

At the present my code lists all the available groups, how would I add a user to a specified group? (e.g add "members user3") to the end of group 1 for example. So the code ends up like this

Code:

members user2,user3

View 14 Replies View Related

CentOS 5 :: Installed "Server - GUI" - Got Text Mode Login Prompt

Apr 29, 2010

I installed CentOS 5.4 in a Virtualbox instance using the text mode installer. The GUI installer crashes. I chose the "Server (GUI)" option when installing the system, but upon completion of the install, I'm presented with a text mode login screen. Logging in as root drops me to a shell in text mode as I would expect.

What exactly IS "Server (GUI)?" I was thinking it would be a stripped down X11 desktop.

The main role of the Virtualbox instance is to run a server stack that we run on other CentOS machines, but I want Eclipse and perhaps just a few other GUI tools on it, without all the kitchen-sink crap that (I assume, coming from the Ubuntu world) comes with a "Desktop" install.

View 5 Replies View Related

Server :: Change From Graphic Mode To Text Mode In CentOS 5.3?

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

Ubuntu :: Sort The Output To A Text File So That It Prints To The Text File At 1 Process Per Line?

Feb 6, 2011

im trying to output a list of running processes via a shell script. At the moment i got this which outputs the processes to a text file called out.

echo $(ps aux) >>out

The problem is though, the processes are all just one big block of text which makes it hard to read. Does anyone know how to sort the output to a text file so that it prints to the text file at 1 process per line? I know its probably simple but im very new to linux.

View 5 Replies View Related

Software :: Join 2 Text Files Based On First Number Present In Every Line Of The 2 Text Files?

Jan 22, 2010

I have 2 text files : file1.txt and file2.txt

cat file1.txt

15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces

cat file2.txt

2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2

I would like to join these 2 files. The result should look as follows :

cat joinedfile.txt

2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2

==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?

View 4 Replies View Related

Software :: Man Page Text Color Is Too Dark

Aug 8, 2010

when I executed "man ls"...there is always colored text.I like to read "colored text"but, some color is too dark..."dark blue ???" I'don't know the exact name of color my background color is "black"

but, when I use "cscope->contrl+]" or "man 'ls' or 'someting'",there are always...very dark blue colored text.so, It is very difficult to read.if I want to change man page color..what do I do for that?I have to use "tera term.."plz, "don't say that "change your terminal program..""Except for changing utility, what else do I have to ..?

View 8 Replies View Related

Ubuntu :: Scrolling Down Any Page Results In Overlapping Of Text

Aug 12, 2010

Enabling visual effects to either of normal/extra result in a serious problem-scrolling down any page results in overlapping of text, which is corrected only when i minimize and maximize the window.

View 4 Replies View Related

Software :: Header With Custom Text On Each Page In Writer ?

Dec 15, 2010

I have a large document in two columns to which I want to add a header on each page. The problem is that headers must contain the same text, except for things like page numbers, and I want to have different text on each page.

I thought of using a frame for the header, but it would have to be inserted manually into every page.

I tried defining a pair of sections, the second with two columns, but when I put text into the second section it just overwrote the first. Even if it didn't, I suspect that the sections would have to be created for each page.

I've got the manual (all 536 pages of it) but it doesn't address my problem (or much else, for that matter). This seems such a simple requirement.

View 1 Replies View Related







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