shell

  1. CleanCut

    Solved Why won't my "new-style" rc script start at boot?

    On pfSense 2.2.4 (FreeBSD 10.1), my custom init script filebeat_wrapper won't start at boot. According to rcorder it should start right after boot: # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* (snip) /etc/rc.d/SERVERS /etc/rc.d/DAEMON /etc/rc.d/LOGIN /usr/local/etc/rc.d/filebeat_wrapper (snip)...
  2. P

    Shell problem in setting default editor to vim

    I am on FreeBSD 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0: Wed Mar 16 20:46:12 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Installed vim through pkg install vim. My Current shell is: $ echo $SHELL /usr/local/bin/bash My .profile file is edited...
  3. c00kie

    Shell tar: Option --transform is not supported

    hi I'm dabbling with shell scripting a little and trying to get a backup script running on FreeBSD. #!/bin/csh NOW=$(date +"%Y-%m-%d-%H%M") FILE="example.com.$NOW.tar" BACKUP_DIR="/usr/home/andy/backups" WWW_DIR="/var/www/" DB_USER="user" DB_PASS="pass" DB_NAME="dbname"...
  4. J

    Solved 'Command not found' even with full path

    Hi, I'm an intermediate-level user of FreeBSD. I recently ran into a problem that I have been unable to solve. Basically, most (but not all) commands now return 'Command not found', even if I use the full path, which makes no sense to me whatsoever. The only thing I can think of that...
  5. M

    What shell do you think that is the best or what shell do you use?

    What shell do you think that is the better shell or what is your favourite shell? I think that the better shell is the Bourne Again Shell (bash), because his scripting language is most powerful than the tcsh, csh and sh, but I think that the Korn Shell is good too. So, my favourite shell...
  6. rbelk

    Share your .tcshrc file

    I decieded to start this thread after reading the thread 'Which shell do you use?'. I'll start, mine is below. # .cshrc - csh resource script, read at beginning of execution by each shell # # # -- Set up command aliases alias searchports 'find /usr/ports -type f -name pkg-descr | xargs...
  7. Citsakots

    Which shell do you use?

    I'm planning on switching the shell I'm currently using(tcsh) to Bash but I've read that changing the root shell to bash might be a bad idea. The main problem I have is tcsh doesn't update the directory list automatically, so that's why I'm wondering which shell do you guys use?
Back
Top