Run getfacl command only on directoriesview story

http://www.unix.com – Code: bash on RHEL 5.9 i have directory with several subdirectories within it. I want to find the ACL for all the directories and subdirectories within it. i need to run getfacl on all directories and subdirectories (not regular files ) in a loop. How do I do this ? Or , is there another straightforward way to do this ? (HowTos)

Change default terminal compiler - Centosview story

http://www.unix.com – I'm working on a centos 5.10 64bit desktop machine. I want to change the default terminal compiler to bash instead of csh/sh without root permissions. Thanks in advance (HowTos)

Windows exe, bat, cmd not launching under cygwin /MobaXterm unless extension explicitly providedview story

http://superuser.com – I am using a preconfigured cygwin that is packaged into the MobaXterm product. Following is an example of the issue I am facing: $ sbt package /usr/bin/bash: /drives/c/apps/sbt/bin/sbt: No such file or directory (HowTos)

Replace characters in a text file at a certain positionview story

http://www.linuxquestions.org – Hey guys! i have a text file and want to write a textstring at, let's say, line 5 at position 4, and REPLACE the old text at that position with the new text- so if line 5 looked like this: ABCDEFGHIJKLMNOPQRSTUVWXYZ Text to insert: hello pos 4: ABCD>EFGHIJKLMNOPQRSTUVWXYZ new line 5: ABCDhelloJKLMNOPQRSTUVWXYZ Can somebody tell me how to do this in bash, please? Thank you! (HowTos)

error while loading shared libraries: libtinfo.so.5view story

http://www.linuxquestions.org – Dear All, We have a RHEL 6.2 64 bit server. I created a user test and tried su - and got an error as below... [root@NVMBD01PSRJIO07 ~]# su - test -bash: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory I have tried googling this but didn't find a proper explanation behind this. (HowTos)

RedHat 7.0 Systemd change Window Managerview story

http://www.linuxquestions.org – I tried to change window manager to twm in RHEL 7.0 (by defaul are GNOME or KDE) through systemd, cat /usr/lib/systemd/system/twm2.service: Code: [Unit] Description=twm window manager service [Service] ExecStart=-/usr/X11R6/bin/twm      (another try was with ExecStart=/bin/bash -c /usr/X11R6/bin/twm) [Install] WantedBy=graphical.target cat /usr/lib/systemd/system/graphical.t (HowTos)

Console compilation with run installerview story

http://stackoverflow.com – I installed Qt (5.3) on my Ubuntu server (14.04) with the *.run installer. I managed to launch a GUI for compiling a project, but I need to do a bash script to achieve this remotely. (HowTos)

Bash - How to skip a column while writing to csvview story

http://stackoverflow.com – In the following screenshot as you can see on the first row, there are country codes and for each country code with have two different related columns (MT & MO). (HowTos)

Bash: how to filter tee output in realtime for ssh command?view story

http://stackoverflow.com – My goal is to make a timestamped log of the commands used in my ssh sessions. Tee works in realtime as long as the output is not filtered. When I tail -F test.log, the following command appends output in realtime: #!/bin/bash ssh "$@" | tee -a test.log However, when I try to modify tee's output by methods suggested in this question, the output is no longer in realtime. (HowTos)

How to initialize an array using awk and bash?view story

http://unix.stackexchange.com – I am trying to store values of the first line of a text file into an array. (HowTos)