similar to: Define an alias with an embeded awk command error ?

Displaying 20 results from an estimated 1000 matches similar to: "Define an alias with an embeded awk command error ?"

2009 Dec 15
2
Define an alias with an embeded awk command
Hi ,all : I'm trying to define an alias with an embeded awk command: alias checketh0 `ifconfig eth0 |grep 'inet addr:' |awk '{prinrt $2}' |cut -c 6- ` After I edit it in the .cshrc file and run "source .cshrc" , I run the "checketh0" command in the terminal , the screen displays the "192.168.7.24: Command not found " Why does is it ?Any
2003 Mar 10
2
WINS servers and browsing
Well, I've asked a couple times already but I will ask one more, since I still havent' managed to get any further. We have several sites. Each site has it's own network and domain. We are connected via a WAN. Is the best practice to have one WINS server for each site? Or is a single WINS server for the WAN the way to go? Right now I have a single WINS server for the WAN. I CAN NOT
2003 Oct 08
1
[Bug 739] A .cshrc that gives output causes sftp-server to reject sftp
http://bugzilla.mindrot.org/show_bug.cgi?id=739 Summary: A .cshrc that gives output causes sftp-server to reject sftp Product: Portable OpenSSH Version: 3.6.1p2 Platform: Sparc OS/Version: Solaris Status: NEW Severity: minor Priority: P2 Component: sftp-server AssignedTo:
2015 Sep 24
2
x2go on CentOS6
> The errors you posted were from the client. Assuming you can ssh into > the remote machine without a problem, do you see error messages there > on the server? Thanks, Akemi, you have hit the nail on the head! The spurious error message was caused by a statement in .cshrc that created output, a stray unescaped exclamation mark in an alias definition. And that with me preaching to my
2004 Feb 11
2
/etc/default/login change from 3.6 to 3.7???
hey, I just got an ugly, hard-to-fix surpirse when I upgraded from 3.6 to 3.7 for openssh - Now, in 3.7.1, /etc/default/login overrides --with-default-path! Before, it used to prefer --with-default-path (as configured). I'm hoping that this is a bug. It forces every user to have an appropriate .login,.cshrc, or whatever *or* to comment out the appropriate entries in / etc/default/login!
2003 May 06
1
rsync/ssh/cygwin
I've been using rsync under Win2k(cygwin) for some time without error. But after a recent upgrade of cygwin I've started to get errors, and rsync no longer works. I'm not sure if this is a rsync problem, ssh problem, or cygwin problem, so I figured I'd try here first (since ssh seems to work fine). On my windows machine: > rsync --version rsync version 2.5.6 protocol
2009 Jan 20
1
default stty profile settings in CentOS
Hi folks [Please CC me, I am not on the list] I am here at a customer who have this in profile (.cshrc): stty erase "^H" kill "^?" intr "^C" Backspace clears the hole command line. How is the CentOS default? kind regards Sven
2005 Nov 08
1
[LLVMdev] llvm-test configure problem
>>> What's the config.log from this run? >> >> its attached. > > Odd...this one seems to indicate that it exitted without error...:-( Hmm. I think that it does default to bash after all (found something in my .cshrc that was resettting CONFIG_SHELL). Its still an error with /bin/sh.. so it should be fixed, but not a release blocker. -Tanya
2009 Sep 27
1
rsync not getting all files?
I ran rsync on a combination of Ubuntu and CentOS systems and it doesn't seem to grab all files, such as .cshrc or .bashrc (and they do exist). This makes me wonder what other files rsync may be missing, and how do I tell rsync to grab those missing files? Thanks.
2004 Sep 25
1
Logon Script to go down one folder?
Hi Folks, Got Samba 3.0.7,1 running on FreeBSD--yippee! One thing that I noticed is that when a Windows user clicks on his folder named something like 'username', there are a bunch of files there that he might 'accidently' delete: .cshrc .login .login_conf .mail_aliases .mailrc .profile .rhosts .shrc Is there some way to automatically log on the user to folder just below
2003 Oct 26
1
include & exclude dosn't work...
Hello rsync, I run Rsync as standalone server (--daemon). Here is my rsync.conf file use chroot = yes max connections = 10 #syslog facility = local5 log = /var/log/rsyncd.log [mp3files] path = /home/guitar comment = directory read only = yes list = no secrets file = /etc/rsyncd.secrets auth users = gate1 # hosts allow = # hosts deny =
1997 Feb 22
2
ssh and limits on resources
While logging in via ssh (versions 1.2.17 and 1.2.12) under Linux 2.0, I found that limits weren''t being set (as shown by the output of "limit" (tcsh) or "ulimit -a" (bash). Since /etc/profile, /etc/csh.cshrc, and /etc/limits were ignored, I made /etc/sshrc and put "ulimit" statements in it. However, I was unable to limit the number of processes this way,
2006 Apr 24
4
Ruby/rails on Mac OSX not working
I have been using Locomotive for rails development and recently decided to fix up the ruby/rails install that is on my mac. As we all know, Ruby 1.8.2 came on the mac and has problems, so I followed the instructions at Hivelogic for installing the latest versions of Ruby, Rails, Lighttpd and so forth. I have this set in my path within bash_login: export
2000 Jan 13
3
Conflict between NT-PDC and Samba 2.0.6
I've got a Solaris 2.6 SPARC system running Samba 2.0.6 and an NT-4.0sp5 PDC system. If Samba is running on the Sun system when the NT PDC is rebooted it (the NT system) complains that there is already another PDC in the domain. This should not be as far as I can see as I've tried specifically to configure the Samba systems not to do this and in fact prior to upgrading to Samba version
2006 Apr 13
1
Prototyping for basejail distribuition
Hi, I attach 2 files in this email, the first is a Makefile and the second is jail.conf. For demonstre my idea i resolved create one "Pseudo Prototyping", for test is necessary: 1 - Create dir /usr/local/basejail 2 - Copy Makefile to /usr/local/basejail 3 - Copy jail.conf to /etc 4 - The initial basejail is precompiled is distributed in CD1, for simular basejail is necessary a
2000 Apr 11
3
scp: command not found.
Hey. I found references to my problem 'scp: command not found' in the archives. But I could not find a solution to this problem. Could someone please help me out here? Info: OpenSSH 1.2.3, RedHat 6.1 Thanks! -- Steve
2003 Mar 06
0
2nd try: Cross subnet browsing wierdness
I'm having some difficulties setting up browsing across networks and domains and was hoping some of you folks out there could help. We have two separate domains on two separate networks. I have a single WINS server. Why can I browse both networks from machine pw2 when I can NOT browse both from either ch2 or mtoal (my machine) or from streetsmary? (see details below). Does each network need
2003 Mar 04
0
Help! Can browse from one subnet but not another.
I'm having some difficulties setting up browsing across networks and domains and was hoping some of you folks out there could help. We have two domains on two physically separate networks, connected via a firewall/router. To my knowledge the firewall system is not set to block anything between the two segments, just to route them. Network 192.168.18.0, CH domain 192.168.18.14 ch1 (rh7.3, CH
2008 Oct 15
1
error during installworld on 7.1 beta (was: error during buildworld on 7.1 beta)
During installworld I get: cat /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/ncurses.3x > ncurses.3 sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/MKterminfo.sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/terminfo.head /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps
2007 Feb 28
1
No -v but still verbose
Guys below are my rsync options i am using :- rsync -PaRz --delete --delete-excluded --copy-unsafe-links --numeric-ids I have omitted the -v and --stats i was using previously. Now when i look in my log i still seem to get a list for each file transfered. I only want to have the problem files listed here such as permission denied etc. Any ideas? log output receiving file list ...