1
vote
0answers
119 views

Automatic shut down of Ubuntu 13.04 along side Windows 8

Things with Ubuntu were working absolutely fine, but suddenly, the laptop started overheating whenever I logged into Ubuntu. And that lead to automatic shutdown. I realised that it was definitely due ...
2
votes
3answers
831 views

Starting Linux from power off at predetermined time (and executing command)?

To put it simply, I'm trying to use my computer as an alarm clock. It's slightly old and noisy, so I'd like it to start from power off at a scheduled time and then execute a command, such as playing ...
0
votes
1answer
102 views

Apache configuration issues

I'm running OpenSuSE Linux and installed apache, php, mysql, vsftp for web experiments. I installed Wordpress on local Apache but... problem comes from here. So I've localhost/wordpress as root ...
1
vote
2answers
11k views

vsftp user authentication problems

I configured my ftp user's home dir to /var/www and set a password but I cannot login with ftp 127.0.0.1, it keep giving me 530 Login incorrect. Why is this? I'm sure I have typed the password right. ...
2
votes
1answer
711 views

Analyse the performance of an rsync command from FreeNAS to a USB drive

I infrequently run a task where I rsync my photos (~30 directories with 10-100 files in each) from my FreeNAS machine to an external USB hard drive (500GB WD) as a redundant backup. I execute the ...
0
votes
0answers
288 views

red5 recorder set up on linux

Does anyone know how to set up this Red5 Recorder application on Red5 1 RC2 for Linux CentOS 6.4? NB: http://www.red5-recorder.com/ NOT CREATED BY RED5 server developers I followed set up of WEB-INF ...
2
votes
1answer
262 views

can't change user

I setup vsftp with my ftp users' home directory at /var/www but I realized, it wouldn't let em login by ftp, I tried to connect to 127.0.0.1. So then i wanted to "try out" my ftp user on the shell but ...
14
votes
1answer
12k views

What's the sudo equivalent for FreeBSD?

In pretty much any GNU/Linux distribution you use sudo or su, What's the right choice for FreeBSD 10 ?
0
votes
1answer
441 views

How do I delete a unfortunately named folder? [duplicate]

In an unfortunate series of events, I happened to create a folder named --bindir=. Thing is, I cannot cd to him because when I try to cd I get this message: bash: cd: --: invalid option cd: usage: cd ...
0
votes
1answer
192 views

unable to launch application in separate X server

I am fairly new to Linux, and I am using Manjaro Xfce 0.8.8 right now. I want to launch application in separate X server so I typed in the following command to launch Chromium for example: xinit ...
0
votes
2answers
777 views

How do I install gnuconio on linux [closed]

I downloaded the gnuconio on this site (http://sourceforge.net/projects/gnulinuxconioh/) I unzipped the zip he jerou me the following files: bash-4.2$ ls Doxyfile READ-ME.txt conio.c conio.ppr ...
3
votes
1answer
902 views

When should you use subshells vs `xargs`?

Many simple commands using xargs could be rewritten as commands using subshells. For instance, here is something I was using earlier today, to concatenate the ten largest binaries in /usr/bin, written ...
4
votes
1answer
121 views

How to detect TMux level

Is there any way to detect how many levels of tmux I'm currently in? I've been able to hack it with 2 levels by simply checking [[ -n "$SSH_CLIENT" && -n "$TMUX" ]], so I can have one level on ...
1
vote
1answer
520 views

How to control buffering of pipes in bash scripts?

I need my script to be executed with stdbuf -i0 -o0 -e0 otherwise user will wonder why there is no output (becuase of pipe buffer). How can I acheive it? #!/usr/bin/stdbuf -i0 -o0 -e0 /bin/bash ...
0
votes
2answers
97 views

Hide a partition in the partition table and make it reappear later

I know this isn't a question that's specific to Unix/Linux, but I think there are people who can answer this question here. I want to hide my Windows partition from the partition table completely, ...
3
votes
1answer
100 views

Is it possible to use the at command to schedule a job to run at a given timestamp?

I want to schedule a file to run using the at command, as described in this tutorial. I see that the at command supports the posix format -- but I don't see any mention of timestamps. Surely it is ...
8
votes
1answer
611 views

Does Linux still have to reside within the first XX cylinders of a HDD?

It's been a while since I last bothered with partitioning my hard drive, but now it's time again and I remember last time I did this there was a requirement to put the root partition (or only GRUB?) ...
-4
votes
2answers
143 views

Boot Linux while running Windows

I will be traveling for a month, without bringing my computer. I might only have access to public computers running Windows in Internet cafes. While I'm traveling, I would like to SSH to my Linux ...
1
vote
4answers
115 views

targeting a specific block with e2fsck to shorten wait

Recently had a LVM'd CentOS 6.5 install get accidentally cold-shutdown. On bootup, it says that the home partition need fscking: /dev/mapper/vg_myserver-lv_home: Block bitmap for group 3072 is not ...
0
votes
1answer
447 views

Install libusb 1.0.9 on Arch Linux

I am not sure how to install libusb 1.0.9 on Arch Linux. pacman does not offer it and the package seems to have been deleted from the repository. I tried compiling from source but it does not seem to ...
4
votes
0answers
509 views

Arch Linux problem: What is causing the black screen problem when logging into Cinnamon?

I first posted this in February, but I'm making the problem clearer because I had no responses in 6 months, and the problem still exists. My Arch boots to the terminal. I login as root. I start ...
3
votes
1answer
124 views

Assignment to variables

I was trying to devise a solution to a different question asked on the site and came across this curious issue. Here is the set of commands that I issued: $ foo=82a9948422 $ echo $foo 82a9948422 $ ...
1
vote
1answer
342 views

KMS Terminal: How to disable second screen, or how to force a certaion resolution?

I have two screens with different native resolution connected to my Gentoo/systemd machine. since the VTs try to mirror the outputs, they do not use the whole size of the higher resolution screen. I ...
1
vote
0answers
58 views

PekWM doesn't List Minimized Windows

I recently installed the PekWM. I noticed when I minimize any window,it will be removed from ATL+TAB List. In other words "the minimized windows are not listed in ALT+TAB menu." I want to know it is ...
21
votes
6answers
8k views

Regex for all 10 letter words, with unique letters

I am trying to write a regex that will display all words that are 10 characters long, and none of the letters are repeating. So far, I have got grep --colour -Eow '(\w{10})' Which is the very ...
1
vote
0answers
164 views

Is there an approach to have feh --thumbnails do not display filename?

I have many pictures which are screen shots created from shutter and downloaded from web. These pictures have long file names. When I create thumbnails on these pictures via feh -t, these long file ...
1
vote
1answer
42 views

Access USB device of another machine as if it was locally plugged?

I would like to use, on server A, an USB webcam that is physically plugged on server B. Is there a way to mount the /dev/video0 of server B on server A (as /dev/video0, or /dev/video1, etc.). Both ...
2
votes
1answer
3k views

Virtualbox complains that I don't have headers

I've installed Virtualbox (on Debian testing amd64)according to the wiki. But I get this error: $ virtualbox WARNING: The character device /dev/vboxdrv does not exist. Please install the ...
2
votes
1answer
346 views

Debian 6 NDISwrapper doesn't install correctly

I'm using Debian 6. I've been trying to set up the Netgear N300 WiFi (model number WNA3100) adapter but haven't been successful. The Ndiswrapper was installed from .deb packages which I downloaded on ...
0
votes
1answer
105 views

Limiting grep search

Please help! Must use grep for this assignment. Must control grep function to search for a string strictly in a given field (Sadly no delimiters) Search field is characters 12-26. Must check if user ...
1
vote
1answer
2k views

Why is “Asking all remaining processes to terminate” failing during shutdown?

I installed Debian 7. Sometimes when I quick X and type sudo shutdown -h now, it says, Asking all remaining processes to terminate, then after a few seconds, it prints a long list of processes, then ...
7
votes
1answer
2k views

How to set multiple `core.excludesfile` in `.gitconfig`?

I'm syncing ~/.gitconfig and ~/.gitignore files in ubuntu and Mac by using dropbox and created symlink for it. And excludesfile is declared like this. [core] editor = /usr/bin/vim ...
2
votes
2answers
9k views

No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop

I am working on petalinux, a linux port for Xilinx FPGAs called Zynq. The tool that I am using is petalinux-config. This opens a GUI where I can select various options, such as compress kernel, ...
4
votes
2answers
7k views

How to make the login shell xterm use utf-8?

I use xterm (X-Win32 2012 Build 30 from StarNet Communications Corp) to login from a Windows 7 PC to a Red Enterprise Linux 6 (RHEL6). My problem is that all multi-byte utf-8 characters comes out ...
1
vote
3answers
133 views

parsing file from ls -laLR

ls -laLR /home/tools > all_site1.txt I need the state of all folders and files in subfolders of /home/tools. With this command I put all in this file. What I need now is a solution how to parse ...
0
votes
1answer
224 views

Google Chrome - no space on rootfs partition

I've managed to install google-chrome on Debian Wheezy. My rootfs is only 320MB because I didn't predict that some day I would install Google Chrome, which has more than 100MB and installs in /opt ...
1
vote
1answer
542 views

Command to Download Source Files in FreeBSD

In most Linux distros there is a command sometimes the same one used to install or build (compile) packages with extra switch; which just download the source files instead of building or installing ...
7
votes
1answer
5k views

less is always case-insensitive

Trying to find out how to use case-insensitive searches in less I found this on serverfault. That seems to perfectly answer my question. The problem is: It doesn't work like that here (openSUSE 13.1; ...
2
votes
1answer
937 views

How to re-install syslinux on a re-formatted (fat32 to fat16) partition

I wrote an .img file containing a custom debian distro to a USB stick via win32diskimager program. The stick doesn't boot on my older motherboard, returning: SYSLINUX: No DEFAULT or UI ...
29
votes
2answers
72k views

Recursively delete all files with a given extension [duplicate]

I wan't to delete all *.o files in a directory and its sub-directories. However I get an error: sashoalm@aspire:~/.Workspace.OLD$ rm -r *.o rm: cannot remove `*.o': No such file or directory On the ...
2
votes
1answer
524 views

Configure guessnet to switch automatically between LAN and WLAN

I want to configure guessnet and wpa_supplicant such that if I plug in my LAN cable, it connect to the network via the cable and if I unplug it, it automatically switches to WLAN and vice versa. I ...
8
votes
2answers
2k views

Why did BASH print “bash: cd: write error: Success”?

I noticed this several times today. If I type cd ../Directory to change to another directory, it prints "bash: cd: write error: Success". I can't determine what other previous commands might be ...
1
vote
1answer
580 views

Recovering truncated file

I'm in a peculiar situation. While editing a Perl program I accidentally truncated the file to zero length (using an Emacs lisp code I was developing). I need to recover that program... How do I that ...
0
votes
2answers
24k views

How do I access files on an external hard drive? [closed]

edited 02-25: I thank @Anthon for his replies. I still do not, however, understand the meaning or the how of "pinging" ("Once you update your Q, ping the commenters..."). I also do not understand the ...
5
votes
3answers
584 views

Increment numbers inside strings by an offset

I want to search a text file for strings like these. [task0] [task1] ... [task1613] and increment each by a given offset, in this case by 3640. So, with the example I gave above, I'd get the ...
2
votes
2answers
542 views

Command-line editing vim style [duplicate]

I recently discovered terminal's feature, you can set the keys emacs or vi style I prefer the second. so if you do set -o vi You can use k j l h keys to navigate on the command line. And you can ...
1
vote
1answer
946 views

FreeBSD on RPi doesn't see TP-Link wifi dongle

I've installed FreeBSD 10 on a Raspberry Pi via Crochet. I'm trying to get it to work with a TP-Link TL-WN727N v3 USB wifi adapter, which should be supported and seems to work for others (though ...
9
votes
5answers
6k views

Arrow keys spontaneously stop working in vim

I recently upgraded from OS X 10.6 (I think) to 10.9. Since then it seems, while editing in vim, the arrow keys will "spontaneously" stop working. At one point, in frustration I "mashed" one of the ...
3
votes
2answers
3k views

Read non-bash variables from a file into bash script

My bash script needs to read the variables from a text file that contains hundreds of variables, most of which conform to standard bash variable syntax (e.g., VAR1=VALUE1). However, a few lines in ...
1
vote
1answer
48 views

Need to set a variable with “[]”

I have a tcsh script, in which I need to set a variable to this value defining my system type. type=abc project=def sysname=["Linux"] I tried various combinations to escape the [ and " but have ...

15 30 50 per page