General :: VI Command Mode - Aliases Only Work In RHEL4

Jul 1, 2009

When in command mode one can come out of the file temporarily by Code: :sh in command mode. When I find myself on the shell on RH 9 the aliases dont work but in RHEL 4 all aliases work like charm. Does anyone know why is it so?

View 4 Replies


ADVERTISEMENT

General :: Aliases Work After Running Sudo SU Command?

May 7, 2010

I can make aliases fine by editing the .bashrc file in my home directory, but the first thing I do when I open a terminal window is sudo su so I don't have to type sudo in front of every command. The problem is, I am then not able to use my aliases. How can I make aliases that work after I run the sudo su command?

View 2 Replies View Related

General :: Send A Message In RHEL4 ES Thru Command Prompt?

Mar 18, 2010

I am working on RHEL4 ES server. In our system Talk is not activated(i did not find it in services). To send a mail thru web based mail it is time taking process. I want to send a message(or a mail) to other server. How can I do this? Example: my server IP is 10.xx.xx.xx and the other is 10.xx.xx.xx

View 1 Replies View Related

General :: Rsh And Rlogin Works But Rcp Doesn't Work On RHEL4 Machine

Sep 28, 2010

I have installed RHEL4 on my desktop machine . Done all the setting in /etc/pam.d and finally my rsh and rlogin works from my machine(rsh the same machine)

[root@linux tmp]# rsh 10.121.113.92
Last login: Tue Sep 28 18:00:22 from BLE
You have new mail.
[root@linux ~]#

[Code]....

View 7 Replies View Related

General :: Can't Build RRDTool On RHEL4 - 'make' Command Give Error Message

Mar 19, 2010

I'm new to LinuxQuestions and this is my first post. I'm trying to build rrdtool to install Cacti and encountered the following problem: 'make' step returns an error messages:

Code:
./.libs/librrd.so: undefined reference to `xmlTextReaderGetParserLineNumber'
collect2: ld returned 1 exit status
What I have doneDownload and build the latest version of pkg-config, glib, pixman, cairo, pango, atk, gtk+ from official sites.
Download rrdtool source
Set PKG_CONFIG_PATH correctly

[Code]...

There is actually another problem with the computer which is "The Nautilus application has quit unexpectedly" everytime I open File Browser application or right-click>Properties a file/directory. This happen only after installing cairo and pango and I don't know how to revert to old version. Since there are a lot of log files so I'm very confused. Can someone give me a direction on how to resolve this?

View 3 Replies View Related

Slackware :: Getting Aliases To Work As Root?

Aug 22, 2010

How can I get aliases working as root? Here is my Slackware 13.1's /etc/profile file followed by my *Slackware 11's* /etc/profile file [as a comparison]. My Slackware 11's root aliases work in addition to my username ones *without* needing a separate .bashrc in my home dir. In S13.1 I have created a .bashrc for my username and it works fine, but I want those same aliases operating when I'm root, and cannot for the life of me figure how to achieve it.

S13.1 /etc/profile:
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
# If the user doesn't have a .inputrc, use the one in /etc.....

View 15 Replies View Related

Software :: Aliases - Using /etc/aliases - Does Not Get Routed To My Email

Apr 1, 2009

I am able to send a mail message to myself from a server without any problem...

But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....

Added:
root: myemail@company.com

and ran newaliases to implement it....

If I send a mail message to root, it does not get routed to my email...

View 3 Replies View Related

Fedora :: Defined Aliases In File Not Working - No Command Found

Apr 15, 2011

Defining tcsh aliases through a .aliases file has worked perfectly for me for years and years using cygwin and older versions of mandriva. I am encountering very annoying and mysterious problems when attempting to do the same thing with a .aliases file in a fedora 64-bit VM. Strangely, if I define aliases in the file, they won't work, but if I do so on the command line, then they will.

Here's a simple example: Suppose I define an alias for "ls" in the file:
alias ls '/bin/ls'
Then source the file. This happens:
me: ls : Command not found.
me: alias ls
/bin/ls
me: /bin/ls
file1 file2 file3 etc.
me: unalias ls
me: ls
file1 file2 file3 etc.
me: alias ls '/bin/ls'
me: ls
file1 file2 file3 etc.

A second example: if I place either of these lines in my .aliases file:
alias d '/bin/ls -alF !:1'
alias d '/bin/ls -alF !*'and source the alias file, this happens:/ me: d
Bad ! arg selector. However, if I define the alias on the command line:
/ me: alias d '/bin/ls -alF !*'then the alias behaves correctly:/ me: dtotal 376
drwxr-xr-x. 10 r r 4096 Apr 14 16:05 ./
drwxrwxr-x. 6 r r 4096 Feb 21 16:15 ../
drwxr-xr-x. 3 r r 4096 Apr 14 16:05 bin.v2/
-rwxr-xr-x. 1 r r 193872 Apr 14 15:35 bjam*
-rw-r--r--. 1 r r 52804 Apr 14 17:20 bjam.my.log
drwxr-xr-x. 77 r r 4096 Nov 17 09:49 boost/
-rw-r--r--. 1 r r 989 Nov 17 04:51 boost.css

View 2 Replies View Related

Ubuntu Servers :: Use The Mail Command Line Program To Occasionally Send Log Output To Email Aliases?

Jan 27, 2011

Can anyone tell me what the pros and cons are between heirloom-mailx vs mailutils? This is for ubuntu 10.04 LTS. AT this point my only purpose is to use the mail command line program to occasionally send log output to email aliases.

View 2 Replies View Related

General :: How To Play Song And Video From Command Mode

Mar 27, 2011

I just wanna know how to plays song n videos from command mode in linux. I am using ubuntu 10.10

View 7 Replies View Related

General :: Partition Table From Fdisk - Cylinder Mode - Sector Mode - Expert Mode ?

Aug 30, 2010

Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?

Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?

Code:

View 3 Replies View Related

General :: Ctrl+alt+(f1-f6) Does Not Work / Could Not Get The Text Mode?

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

General :: Vim To Input A Single Character And Continue In Command Mode

Jun 23, 2011

I increase my knowledge in vim in two ways. Little hints about doing this or that and scattered studies using the vim help files. Please do not believe I always rely on the first one.

View 12 Replies View Related

General :: SSH Command Mode - Flow Of Execution Returns To Bash Shell

Aug 13, 2009

I want to use ssh to execute a command and to wait endlessly to log everything (in file) that comes as a stream of the connected server. But unfortunately, in the manual its written "If command is specified, it is executed on the remote host instead of a login shell"

So what happens is that when I specify my command:
ssh user@server "my_command"

It executed the command and the flow of execution returns to bash shell. So basically my session ends right after the command is executed. This happens only in case I specify command in the command line. If I login into ssh manually and then type "my_command", then the session doesn't end. I want the ssh not to exit, because after "my_command" executes, I want to capture everything in the session.

View 3 Replies View Related

General :: Bring Cursor To 1st Char In Current Line (Command Mode)

Dec 4, 2010

Just in case someone can reply a silly question, I've quite forgot the vi/vim command to bring the cursor to the 1st char in the current line. I do remember that for bringing it to EOL is '$'.

View 14 Replies View Related

General :: Wireless Networking - Install Broadcom Wi-Fi On Arch In Command Line Mode?

Jan 18, 2011

How do I install Broadcom Wi-Fi on Arch Linux in command line mode on an Acer eMachines EM350?

I assume that Broadcom STA should be the driver used and my USB key the way to install it with the help of another PC, assuming that I can't use a RJ45 ethernet connection on LAN.

View 1 Replies View Related

General :: ATI Temperature Monitoring - Aticonfig Tool Does Not Work In Headless Mode?

Jan 18, 2011

I'm trying to monitor the temperature of my GPUs (multiple ATI 5970) in my computation cluster. Problem is that the aticonfig tool does not work in headless mode

# /usr/bin/aticonfig --od-gettemperature No protocol specified ERROR - X needs to be running to perform ATI Overdrive(TM) commands

and even worse if I try to run aticonfig with my monitoring user (munin) it will ask to be executed as root. Is there a simple way to read the temperature of the GPUs without having to resort to X?

View 1 Replies View Related

General :: Usb Not Detecting In Rhel4?

Jan 2, 2010

i try to install web cam in redhat by useing wine, but it showing no. web cam connected even if i connnect

View 1 Replies View Related

General :: Find Where Aliases Are Located?

Aug 5, 2011

Below are few of my questions that i am worried about.

1. alias command will list me all aliases. How to find where these aliases are located?

2. Please suggest me few resources on XWindows

View 5 Replies View Related

General :: How To Install X Windows On My Rhel4 Using Rpm

Aug 29, 2010

My X windows wasn't deployed in the installation at the beginning , but i need to install it now , my system is RHEL4 , i am not connected to the internet , so i will not be able to use up2date , so I need to use rpm instead.

View 2 Replies View Related

General :: Where To Download Rhel4 Update 9?

Dec 12, 2010

Generally redHat releases beta version free. Where can i download rhel4 update 9?

View 1 Replies View Related

General :: Bash Aliases Lost Within Tmux

Jul 8, 2011

I just noticed that my .bashrc aliases (eg. alias www='cd ~/data/public_html') don't work from within tmux. They work fine from screen, though.

I don't think I've got anything special in ~/tmux.conf

Code:
# C-a just like in screen
unbind C-b
set -g prefix C-a

[Code].....

View 3 Replies View Related

General :: Possible To See Log Files On Browser - Setting Up Aliases?

Jul 22, 2011

I'm trying to make it possible to see my logfiles on a browser. For instance, I want to browse to [URL] and see a listing of all my logfiles. Because the logfiles reside outside of the web content directory, I'm trying to set up an Alias. Here's how I'm doing it:

Code:
Alias /logfiles /path/to/my/logfiles
<Directory /path/to/my/logfiles>
Order allow,deny
Allow from all
</Directory>
Then I restart apache /etc/init.d/httpd restart

When I browse to [URL] I get a 404. I've been online all morning looking for a solution and all I find is what I've already done. BTW, this is a RHEL 5 on a LAMP stack.

View 6 Replies View Related

General :: Disabled Access To The System ... RHEL4

May 17, 2011

I am working on RHEL4 AS. I have created a user and tried to access, but the system is showing the error messsage as "system administrator has disabled access to the system temporarily". I could login through root. Before this I have changed the root/.gnome2/panel2.d folder permissions for group and others as read only to prevent other users to delete or add icons on the panel bar.

View 3 Replies View Related

General :: Email Aliases - How To Capture Some Items From Message

Jul 5, 2010

I have an email alias and I want to capture some items in the email body and put it in a database.

I'm using Linux and Bash.
In /etc/aliases I have:
bexpense: "|/usr/bin/bexpense"In /usr/bin/bexpense, I have:
#!/bin/bash
echo $1 $2 >> bexpense.out

If I just run /usr/bin/bexpense with as "bexpense test test" I get "test test" in bexpense.out. If I send email to bexpense@myserver.com, I get a blank line in bexpense.out. How do I get the subject and body of the email?

View 2 Replies View Related

General :: Create Aliases With Echoing Text Into The Variable?

Apr 29, 2011

For example if you want to create an alias in Linux with a message echoed into the variable would the following command be; alias hello="(echo)"Hello." "? I'm trying to learn some environment variables and aliases.

View 4 Replies View Related

General :: Error Pear Install Packages On RHEL4

May 17, 2010

I am facing issue when trying to install php-pear packages on RHEL 4,

Troubleshoot error.

My php and pear version as below.

View 4 Replies View Related

General :: Connect Putty With VMware Guest Host (RHEL4)?

Apr 28, 2011

Could you provide me steps on how to connect the guest OS (RHEL 4) using Vmware thru host OS( Win 7)

I am using Bridged connection. How to choose the static IP to be added in the Host OS.

View 1 Replies View Related

General :: Patch Management - Acquire And Apply Patches On RHEL4.4?

Aug 17, 2010

I am running 6 servers on RHEL4.4 with oracle databases and application on HP ML370 hardware. Since initial installation, I have not applied any patch updates. I would like to start practising Patch Management and would like to know how to start and how to do it. For security reasons, I am not allowed to connect the servers to RHN or RHS hence will appreciate other options of acquiring patch updates in bundled form say on a monthly basis.

View 5 Replies View Related

General :: Tata Photon Card Is Not Working In Rhel4 And Rhel5?

May 11, 2010

Tata photon card is not working in rhel4 and rhel5.

View 4 Replies View Related







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