2
votes
2answers
1k views

How do I get my laptop screen backlight brightness controls to work?

What do I need to do to get my laptop screen backlight brightness controls to work? I currently have Ubuntu 13.04 and a Dell Studio 1558. After reading these two links: ...
2
votes
1answer
326 views

Linux Equivalent of Windows Reparse Points?

I've recently become aware of a neat feature of Windows file systems called a reparse point. My understanding is that they are files whose contents when read are not the contents on the actual disk, ...
2
votes
1answer
345 views

Why it is necessary to update /etc/default/grub, and not just save it?

I understand that the grub file contains some instructions that are required before booting such as: booting in text or booting in Graphics mode. My question is why do I need update-grub? Why just ...
21
votes
4answers
3k views

Automatically detect when I typed “vi” but meant “cd”?

Title says it all. About 5 times a day, I type "vi" when I meant "cd", and end up opening a directory in vi. It's making me NUTS. It seems like there should be a way to detect when I type in "vi + ...
2
votes
2answers
655 views

Shell script to wait for a packet from a certain port

I want to start my minecraft server when someone tries to connect to it on port 25565. I have a plugin for the server which shuts it down after x amount of minutes without players online. With a shell ...
3
votes
1answer
356 views

Show in folder does not select file

In various applications when I do "show file in folder" it simply open the file-manager (nemo) but does not select the actual file. How can I make show in folder also select the file?
2
votes
1answer
4k views

“stdin: is not a tty” mails for running scripts as cron jobs

I have several shell scripts (bash) which are started by cron. Every time a script is executed I get an email saying "stdin: is not a tty". Can someone please tell me how to fix this? All scripts run ...
1
vote
1answer
921 views

How to escape spaces while using command's output in command line [duplicate]

I want to perform the following command in command line : $ md5sum $(find . -type f) But this would cause problems when it encounter files with spaces in filenames : md5sum: Kaufmann: No such ...
5
votes
1answer
720 views

Reset running process when certain ammount of memory is consumed

I'm running a Hydra on Rasppberry PI. There were some problems with the program, but aside from these, there is a hidden memory leak in the program. The source is pretty big and really can't find the ...
1
vote
2answers
2k views

Debian: How to resolve Xserver failure

I keep finding similar posts online but I can't really use the solutions in my case. in my /etc/bash.bashrc file, I have the following code placed at the very bottom: if [ -e /tmp/.X0-lock ]; then ...
2
votes
1answer
72 views

How can I migrate my Ubuntu installation from LVM2 to RAID5?

I stumbled upon this question, but I do not think this is a duplicate since I'm under the impression that the OP in this question is not running under a live session. I, on the other hand, have ...
16
votes
3answers
9k views

If you ^Z from a process, it gets “stopped”. How do you switch back in?

I accidentally "stopped" my telnet process. Now I can neither "switch back" into it, nor can I kill it (it won't respond to kill 92929, where 92929 is the processid.) So, my question is, if you have ...
9
votes
1answer
266 views

Do spellcheckers exist that are aware of Markdown?

I would like to run a spellchecker over my articles before I publish them. I think aspell is ok, but it should not try to check code blocks: asdfasdfa adsfa sdfa text to check adsfasd f ``` a wild ...
1
vote
1answer
370 views

fg a bg process because you forgot to redirect output to /dev/null

I did Ctrl+Z bg with the intention of disowning next, but I forgot to redirect, now I cant get to my terminal because the scrolling of the output (tarballed a huge directory with verbose set). How do ...
5
votes
1answer
3k views

How do I decrypt a message using openssl's CLI?

I have a message, I know the password and the cipher that was used to encrypt it, but I can't figure out how to ask openssl to decrypt it. I see the cipher in the output from the ciphers command, and ...
1
vote
2answers
3k views

Running ipython notebook on Debian

I'm trying to get ipython notebook to run on my Debian machine without much success. I've installed ipython and ipython-notebook via apt-get, but when I try to start it up I get the following: $ ...
0
votes
1answer
2k views

How to install C++ compiler for Eclipse

Im unable to run my C++ codes because Eclipse has not c++ compiler installed in it . How can I install C++ compiler for eclipse on Fedora 20 or other linux os's? When I execute my codes it says: ...
3
votes
1answer
543 views

Reconfigure login through root ftp (lost ssh access)

My question is twofold. I need to somehow re-enable telnet and/or ssh in a device where I currently only have root ftp access. Also, if I am going about this wrong, please let me know. Details to ...
2
votes
1answer
5k views

find + grep to match exact keywords in a file

My script is not matching exact words only. Example: 12312312Alachua21321 or Alachuas would match for Alachua. KEYWORDS=("Alachua" "Gainesville" "Hawthorne") IFS=$'\n' find . -size +1c -type f ! ...
4
votes
4answers
1k views

How to search XTerm console history?

Is there some way to search XTerm's console history interactively, like Ctrl+Shift+f in GNOME Terminal and Terminator? I could run script in my .bashrc or possibly even patch XTerm, but it would be ...
1
vote
2answers
2k views

Virtualbox user home directory

I have a tiny problem. I want to avoid VirtualBox from creating /home/$USER/.VirtualBox directory and create another directory like /home/$USER/DIR instead to put the log files etc there. I tried to ...
2
votes
1answer
191 views

Apache, svn at the root of domain with one exception

I want to setup SVN in such a way that svn.domain.com/ directly lists SVN repositories. To be able to make the web view nicer I am using an SVNIndexXSLT. But I have to serve this file somehow to the ...
0
votes
0answers
240 views

LUKS - changing passphrase with /dev/mapper/fedora-root

I would like to change my passphrase in LUKS, so I started with typing mount | grep 'on / '. The result was /dev/mapper/fedora-root on / type ext4 (rw,relatime,seclabel,data=ordered). So next as usual ...
9
votes
3answers
27k views

“echo 3 > /proc/sys/vm/drop_caches” - Permission denied as root

I am currently having some issues with the cache. It is a little too much right now so I wanted to clear it. I googled and found this little command: sync && echo 3 > ...
5
votes
3answers
648 views

The ERE regex to split() string between a delimiter and end-of-word

I'm using a long gawk 3.1.6 script to do a complex conversion of Zim markdown text into GtkDialog code and am stuck on the following problem... Sample ASCII input... [[link|label label]] [[link]] ...
9
votes
1answer
3k views

Where is / why is there no log for normal user systemd services?

I'm trying to learn basic systemd usage and I've run into a confusing issue with user service units. When running ordinary services with systemctl start some.service I can find the full log for this ...
2
votes
1answer
56 views

Where to find the downloaded file after dragging a FTP URL to the terminal?

Usually, when I drag a link to the terminal, the link target is pasted in the terminal. However, when I just dragged a FTP link from Chromium to my Terminal (first result on Google for "ftp pdf", ...
5
votes
1answer
6k views

Why is permission denied for npm start using node-dev?

I am trying to start a node.js application with on a low permissions user. All the files I know of are owned by the correct user and have permissions set reasonably well. I'm trying to use a script ...
3
votes
2answers
1k views

grep string from contents of file command then delete file

I have a peculiar problem I need help with. I have a large batch of .docx files where a certain number of them are junk. I know how to identify these files from the file command, as they contain the ...
1
vote
0answers
695 views

Only met by a tty “login” prompt when booting Mint

I've installed Linux Mint 11 Katya (dual-booting with Win7) on my PC. After some problems with booting, I decided to use NeoGrub to add a Grub-based bootloader, configurable from within Windows, to ...
5
votes
2answers
3k views

Can I use my own ld.so.cache?

ldconfig has two interesting options: -f conf Use conf instead of /etc/ld.so.conf. -C cache Use cache instead of /etc/ld.so.cache. I tried copying /etc/ld.so.conf to my own home ...
2
votes
1answer
134 views

Mount Drive Unplugged, Folder Still Writable

I created a folder using sudo mkdir /mnt/external/ and then mount an external hdd to it: $ mount -t ext2 /dev/sdd1 /mnt/external I have an application writing backups to that mounted drive. Then, ...
3
votes
1answer
12k views

After updating sSMTP to version 2.61 I cannot send mail via gmail

I updated sSMTP to version 2.61 and now when I try to us it I receive the following error: ssmtp: Cannot open smtp.gmail.com:587 I can connect via telnet to their address, but sSMTP seems to get ...
0
votes
1answer
63 views

Rebuilding RPM results in “invalid numeric value”

I am attempting to add some config changes to Bash and repackage it as an RPM in CentOS x86. This is not something I've done before, so I'm at the mercy of info I've found around the internet. I am ...
3
votes
1answer
127 views

How (if possible) can I terminate a specific blocker hanging a program?

I have a number of files open in my editor (geany). I managed to hang it doing a sort on a large list that I should have saved and just sent through a pipe to sort via command-line (I mapped one of ...
1
vote
0answers
122 views

Linux Source Routing with one gateway

I've a Linux box which have IP 10.1.1.100/24 on eth0 with gateway 10.1.1.1 and as well as 20.1.1.1 on eth0:1 and 20.1.1.2 on eth0:2 . Is there any way that I could communicate to a remote machine ...
5
votes
1answer
45k views

How can I fix/install/reinstall grub?

So I started out with a 250GB HDD, the stock drive from an EeePC 1015pem that I am trying to turn into a MintBook. The drive is physically operable, but all data has been nuked, including the old OS. ...
19
votes
1answer
11k views

Is it better to set -j REJECT or -j DROP in iptables?

There's an example of iptables rules on archlinux wiki: # Generated by iptables-save v1.4.18 on Sun Mar 17 14:21:12 2013 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] :TCP - ...
2
votes
0answers
272 views

Mutt index disappearing on IMAP reconnect

Mutt IMAP is working just fine ... until IMAP server drops the connection. Then mutt automatically reconnects to the server - also just fine, according to the messages in the status line - but! it ...
2
votes
1answer
2k views

tcpdump of SCCP or GSM MAP messages

Right now I'm using tcpdump -i <interface_name> -p <port> -s0 -w /tmp/file.cap and then filter the capture in wireshark. How can I take packet capture with tcpdump only on SCCP or GSM_MAP ...
0
votes
0answers
298 views

Problems with SIG WINCH

When I run this command in a Linux terminal (konsole) and change then the windows size nothing happens. I have a second Linux in a virtual machine. There it works as expected. trap -- 'echo changed ...
1
vote
0answers
57 views

Unplug AC causes anacron to stop. No resumumption if cron.daily had already started?

Anacron is started/stopped by a number of means, one of which is when AC power is plugged/unplugged, as can be seen by examining /etc/apm/event.d/anacron and /usr/lib/pm-utils/power.d/anacron. You can ...
7
votes
3answers
86k views

Open port 80 in CentOS 6.5

I'm trying to open the Port 80 in my CentOS 6.5, on my virtual machine, so I can access the apache from my desktop's browser. If you take a look at the screenshot above.... I've added the line ...
1
vote
1answer
273 views

Wireshark or MC installation wants to remove gnome and more

I want to install wireshark or mc (Midnight Commander) with apt-get or synaptic, but I get a message that "this installation will remove a lot of actually installed packages". There are for example ...
2
votes
1answer
3k views

How to go back to original top panel in Debian Mint xfce?

Changes to the top panel in LMDE w/ xfce have corrupted the formatting; everything is flush left now. Unable to get the time, window switcher and other items to go flush right. How do I revert to the ...
2
votes
1answer
4k views

Attempt to fake a 2D multidimentional array in bash by storing the array name as string

I am trying to create a structure that will allow me to group data inside an array in bash Here is what I have tried: indexes=() first_element=( value='one' another_value='two' ...
1
vote
0answers
1k views

NTP Problems - sntp: too many bad or lost packets

I need some help from you guys regarding NTP on Suse. I have a server, whose IP is 192.168.100.52, which is based on Suse Linux and here is my NTP conf file: server 192.168.100.11 iburst restrict ...
2
votes
0answers
329 views

How does xrandr identify/choose which resolutions to offer?

My monitor has a maximum resolution of 2560x1440 (16:9). On one machine I run, (VMWare VM), xrandr identifies the highest resolution as 2560x1600 (16:10), and no other resolution suggested by xrandr ...
3
votes
2answers
28k views

How to reinstall yum?

I made a big mistake: I removed yum. So now when I for example run the following it gives me an error: $ yum clean all yum command not found. I can download the package succesfully: wget ...
3
votes
1answer
716 views

Saving terminal windows in mint

How can I save all the terminal tabs(with each current pwd in each tab) and terminal window positions.

15 30 50 per page