1
Explain this bash scriptview story

http://unix.stackexchange.com – Consider the following bash script: #!/bin/bash echo "${1##*.}" This script prints the extension of a file if the file name is supplied as the first command line argument, something like following: $ ./script.sh ./file.pdf In the above case pdf is printed. Please explain how the expression ${1##*.} is able to extract the extension of the file. (I understand what $0, $1, $2, $# do in bash (HowTos)

1
How to find and empty some directoriesview story

http://unix.stackexchange.com – I'd like to find and delete the contents while leaving the directories themselves intact. The following find /data1 -name MyTargetDir -type d -exec rm -rv {} \; and find /data1 -name MyTargetDir -type d | xargs -r rm -vfr delete all files and directories under 'MyTargetDir' and 'MyTargetDir' as well. I'd like to leave the directory, but empty. (HowTos)

1
Trouble Creating a simple scriptview story

http://askubuntu.com – I just wanted to create a script that opens Teamspeak, i was on here before about that but i thought it would be more simple by just creating a script. I wanted to make a script to launch the script that opens Teamspeak. So i did this #!/bin/bash exec /home/austin/Programs/Teamspeak/launch(what I renamed the file to for ease).sh I named this Teamspeak.sh and it didn't work. (HowTos)

1
random kernel panic at bootview story

https://bbs.archlinux.org – Try "isolcpus=1" in your kernel entry. c_explosive https://bbs.archlinux.org/profile.php?id=82315 2014-07-31T01:52:50Z (HowTos)

1
rename a batch of files after reading from a source fileview story

http://unix.stackexchange.com – I have a directory full of over a thousand files and the names are bit long (and no pattern found in the naming style). I would like to simplify the filenames. (HowTos)

1
ec2, hdfs and hostnames are not resovingview story

http://askubuntu.com – I am trying to setup cloudera 5 hdfs on ec2. I am using rout53 for dns. (HowTos)

1
Why is 192.168.2.1 bound to local host?view story

http://crunchbang.org – Have you checked your /etc/hosts file? (HowTos)

1
[ubuntu] Help with Dell TEAC CAB-200 bluetooth/multicard readerview story

http://ubuntuforums.org – I am using Ubuntu 14.04 and I can not get it to recognize my bluetooth adapter. I know the computer can use the adapter because my keyboard is working,but Ubuntu tells me I have no adapters and so I can not connect anything else. I have tried using hid2hci which just keeps timing out. I'm at a complete loss and google has not helped. Any suggestions would be great. (Hardware)

1
UEFI - Having problems with booting Unbuntuview story

http://ubuntuforums.org – Hi I just installed ubuntu today, everything seemed fine but when I try to restart my laptop I only see Windows 8.1 in the boot manager and don't see Ubuntu. I was only able to access Ubuntu by using the installation USB. I tried to do do a boot-repair, but I had an error and this is what I was given http://paste.ubuntu.com/7909314/ . (Hardware)

1
In Emacs' org-mode, Anyway to Hide the Subtree with Timestamp not set to Today?view story

http://unix.stackexchange.com – I just started to learn org-mode (and Emacs) and I plan to use it as a calendar/timetable/todo-list hybrid. Is it possible to hide entries with timestamp not set to today? (HowTos)

1
Cannot Install a software from software center in ubuntu 14.04 LTSview story

http://askubuntu.com – I am new in using ubuntu. I have installed ubuntu 14.04 LTS. I have also created an ubuntu Single sign on account. But I cannot install anything from ubuntu software center. The install button is not there. All i can see is a disabled 'Use this source' button. Please help (HowTos)

1
home-built router - slow throughputview story

http://unix.stackexchange.com – I am having slow performance with my home-built router. Compared to a stock Verizon (actiontec) router, it gets about 60 Mpbs down and 30 Mpbs up whereas I get about 15 Mbps and 20 Mbps up. (HowTos)