1
vote
1answer
139 views

How to prevent wpa_supplicant from connecting to a network, while allowing other networks

Based on this answer I try to configure wpa_supplicant as follows: network={ ssid="known_to_be_bad" key_mgmt=NONE disabled=1 } network={ key_mgmt=NONE priority=...
1
vote
1answer
64 views

Using “--ivs” is a good way for making a smaller output?

airodump-ng --ivs --channel 1 --write output --bssid VV:II:CC:TT:II:MM mon0 https://en.wikipedia.org/wiki/Initialization_vector Question: If we use "--ivs" to make smaller outputs, will we be still ...
1
vote
3answers
400 views

The equivalent of cmd “for” in bash?

I'm a Linux newbie, and I only know little about bash (or any Linux shell - but I just use bash). I'm used to using for %c in (*.*) do {something} in cmd in Windows, and I really feel inconvenient ...
1
vote
1answer
1k views

audio recording - record two sources simultaneously, merge into a single 2-track recording

How can I record two audio sources at the same time and create a file where one source is the left channel and the other source is the right channel of a lossless stereo audio recording? My distro ...
1
vote
2answers
14k views

mounting iso image: message “block device is write protected, mounting read-only”! [duplicate]

I want to delete a few files from my iso image on hard disk. So, I did: ravbholua@ravbholua-Aspire-5315:/media/ravbholua/f34890dd-20d2-4d78-92c9-1de7c0957f00$ sudo mount -o loop check_bholua99.iso /...
1
vote
3answers
6k views

How to solve window manager problem in Linux Mint 14 Xfce after installing LXDE?

I like the way Xfce works on top of Linux Mint 14 Nadia (Quantal) - but I also like LXDE that I want to have in parallel. Mint 14 has no LXDE "version" now, and that is too bad. I heard that ...
1
vote
1answer
451 views

Show Custom Boot-Message

I would like to show a custom message during boot, or even better the program cmatrix. I boot with the "quiet" parameter so there are no startup messages, instead I would like to show a custom-...
1
vote
0answers
174 views

Schedule backup with notification?

To avoid editing files at the same time of backup scheduled by cron, I figure out a way: Before backup, send a desktop notification such as notify-send -t 0 "Ready for backup", to let me prepare (...
1
vote
1answer
2k views

Connect To Wifi on Arch Linux

I have a fresh installation of Arch Linux. During the install I used wifi-menu to connect to wifi. After the installation I tried to use it and it said I needed to install dialogs to use it - which ...
1
vote
3answers
4k views

Linux empty buffer cache command permission denied

I'm using the following commands to flush cache: # sync; echo 3 > /proc/sys/vm/drop_caches # sync; echo 2 > /proc/sys/vm/drop_caches # sync; echo 1 > /proc/sys/vm/drop_caches When I use ...
1
vote
2answers
608 views

Simple command that switches between two host files

I am using /etc/host to map localhost to a web domain. I would like a fast way of doing this rather than searching and replacing every time. I put this in my .bashrc file. alias hostchange=' nowdir=$...
1
vote
1answer
2k views

Running program as root without using sudo with normal user account

Is there a way to force to run program as root (with normal user) when there's no sudo on the machine (and can't be added)?
1
vote
1answer
924 views

Can't boot after grub update on Arch

I did an update yesterday and didn't reboot my laptop until I had a power failure. Upon rebooting I find that I have no hard drive (or so it claims). I've tried booting into an arch live disk and I ...
1
vote
1answer
697 views

Automatic scheduled backup of website (/var/www and MySQL dump)

I've been trying to set up a scheduled backup for my server but i can't seem to get it working. I need to copy the contents of /var/www into a compressed file (tar?) in a folder in my home directory ...
1
vote
3answers
76 views

Predefined group ids across Linux distros?

In order to successfully implement w/r access via ACL for external storage with ext4 fs I need to assign default group id for files on storage. LSB_5.0.0 say: This specification makes no attempt to ...
0
votes
1answer
2k views

What is the default encryption type of the ssh-keygen?

When generating private/public keys with ssh-keygen what types of keys will it generate if I wont pass -t option followed with the encryption type like rsa?
0
votes
2answers
81 views

put data in columns

I am trying to put this output in columns can anyone help? Routeur 2 ==> 89.89.156.112 If_Name :vRtrIfName.1.1 :vRtrIfName.1.2 Routeur 2 ==> 89.89.156.112 If_index 546 789 Routeur 2 ==> 89....
0
votes
1answer
153 views

If I do not understand the difference in stability between Debian stable and Debian testing, am I better off with Debian testing?

I have been using Debian stable for the last few months, but it has not always been a blast. Often times, I have had to look for backports, and in some cases, I have been presented with only two ...
0
votes
2answers
81 views

Find all characters “[1-777])” at the beginning of the line

Pseudocommand perl -pe 'g/^[1-777])/g' data.txt where I try to all numbers at the beginning of a line with ")" following them etc 1), 67) and 777). Data where all question numbers should (etc 1), ...
0
votes
2answers
69 views

How to Do this List Comparison with Find?

I do and get a list of files where I would like to delete many duplicate backup files find . -type f -name '._*' I would like to find those files which have a corresponding filename /home/masi/....
0
votes
2answers
16k views

Shell script how to read input from a file [closed]

I need to read input from a file given in following format. $ ./process_data.sh arg1 < input_data.txt How do I read input_data in my shell script process_data.sh?
0
votes
2answers
496 views

Display Spinner while waiting for some process to finish

How can I show spinner till command line finish it is job? In other words, If I am running a script and I want to show spinner while this script is running and the spinner disappears when the script ...
0
votes
1answer
1k views

Debian “Graphical expert install” mode

I made a partitions on a new SSD drive (empty), now I want to install Debian, use netinst ISO CD. I chosed "Graphical expert install" type, which show a series of questions. When installation process ...
0
votes
2answers
406 views

What is the Run prompt equivalency in Linux?

In Windows, there is the Run prompt, which you can access with Win+R key. What is the equivalency to this in Linux? Is there even such a thing or is the Terminal the main prompt you would use in ...
0
votes
1answer
1k views

Desktop files disappeared mysteriously. Entire directory missing

My desktop files on Ubuntu disappeared mysteriously when I tried to drag and drop files to my pen drive. I tried all options available on stack exchange and elsewhere on the internet, like ...
0
votes
0answers
68 views

!-2 not found when using alias [duplicate]

I'm lazy, so I like to make a LOT of aliases for some of my most common shell commands. I use the command sudo !! quite a bit to tack on sudo for root access, but when I use the following in my ....
0
votes
1answer
7k views

Trying to open a GUI from a remote server using Mac but not succesfully

I'm brand new user in MacOSX. I'm using ssh to connect to some Linux servers. I'm trying to open a GUI locally for a process running in the remote Linux server. So I read that I should install ...
0
votes
1answer
194 views

Bind not working as expected. Possible misconfiguration

I have two Raspberry Pis with me - one works as a media player, another as a home server (I call it plug). In the plug I have installed a couple of applications that has web interfaces - SickBeard (...
0
votes
3answers
240 views

How to interact with the concrete file system?

Can a userspace program interact with the concrete file system(not VFS). What i have got is, that VFS allow linux to treat all file systems alike and gives a abstracted api to user space. I want to ...
0
votes
1answer
829 views

difficalty to save traceroute output in shell variable?

I need to filter and store traceroute output in shell variable (array). But I am getting some unusual output. As I try to explain in following lines. My present directory is temp, having some ...
0
votes
1answer
1k views

How to use one distro's live CD to install another distro?

I'm trying to install Mint Linux to a USB stick, but the Mint live CD doesn't fit on a normal CD and I don't have any DVDs available. The Ubuntu live CD does fit on a CD, so I want to use the Ubuntu ...
0
votes
1answer
146 views

What is the meaning of Star symbol * in Hex data?

I see sometimes star symbol (*) in the hex editor, like ... 00001d0 0000 0000 0000 0000 0000 0000 0000 0000 * 00001f0 0000 0000 0000 0000 0008 0000 0000 0000 ... It is probably some sort of ...
0
votes
1answer
222 views

How to install `service` command in a Stable Debian?

In ubuntu we do simple: service MyService restart service MyService stop ... So, the service command is good and simple. I need this simplicity: how to install service command on Debian? PS: this ...
0
votes
1answer
2k views

Why my dconf-editor has fewer options in Elementary OS Luna than supposed to?

I am giving Elementary OS a try but trying to configure it a bit I see lesser options than supposed in dconf-editor. Following this source, they should look like this: Mine look like this: So, I ...
0
votes
1answer
144 views

How to add new keyboard layouts in Manjaro Fluxbox?

I want to try Manjaro Fluxbox, and I would say it's my favorite Manjaro to date, except for some quirks like the one that I don't know --- not only how to get a keyboard layout indicator / switcher, ...
0
votes
5answers
7k views

Debian stucks at formatting 33%

I'm trying to install Debian Squeeze 6.0.5 on a new HP Proliant Microserver N40L with 4 GB RAM and 1.5 GHZ and 2 new Seagate BARRACUDA 2TB HDD (delivered yesterday). The installation stuck at the ...
0
votes
0answers
208 views

ddrescue recovering 0B but drive appears in device manager. Is it failing to connect?

I guess that this is a variant on a previous question "Is this ddrescue command doing anything?" Apologies for going over similar ground. I have a failing 2TB Seagate Barracuda drive which came from ...
0
votes
3answers
2k views

Error installing kernel on Centos (from source)

I am running GNU/Linux (Centos 6) on kernel 2.6.32-431.17.1.el6.x86_64. I am trying to update the kernel to 3.2.61. I performed the following steps inside the 3.2.61 folder structure: make ...
0
votes
0answers
56 views

Adding vmlinuz to EFI boot adds an unbootable japanese caracter to the boot menu

I'm trying to setup a boot on an encrypted partition so I enter this command : efibootmgr -d /dev/nvme0n1 -p 1 -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/nvme0n1p6 rw initrd=/initramfs-linux....
0
votes
1answer
2k views

How to reduce temperature on a Dell XPS (L502X)?

Problem My Laptop is running quite hot (sensors reports ~50-60°C) during normal usage. In my opinion this is too high to work comfortably over long periods. Especially the region where I rest my ...
0
votes
2answers
121 views

To match only innermost environment by Regex

I want to match the innermost environment of begin{question} and its corresponding end{question}. Example data \section{Takayasu arteritis} \begin{question} {You get a patient. What do you notice ...
0
votes
2answers
338 views

How to pass arguments to perl when trying to change a line?

I am using the approach suggested in http://askubuntu.com/questions/434051/how-to-replace-a-string-on-the-5th-line-of-multiple-text-files to modify the first line of an archive. Let's suppose the ...
0
votes
2answers
409 views

Arch linux get network interfaces names

I need to get all intefaces names in Arch linux. If I issue command ifconfig, I get following response: [root@pi ~]# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ...
0
votes
1answer
8k views

Add repositories in Kali Linux 2.0 [closed]

How do I add repositories in Kali Linux 2.0, and what, if any are the repercussions of doing so?
0
votes
3answers
4k views

Why is umask setting a different permission for a directory and file I have created?

Consider: [user@server1 ~]$ umask 0770 [user@server1 ~]$ mkdir TEST2; touch TEST2.txt; [user@server1 ~]$ ls -l d------rwx 2 user group_name 4096 Mar 5 05:16 TEST2 -------rw- 1 user group_name 0 ...
0
votes
1answer
3k views

Want Windows to boot instead of Grub

So when I turn my computer on, Grub rescue boots up. I have finally figured out how to get into Windows, but now I want to skip the step of entering the information into Grub to get into windows. How ...
0
votes
1answer
29k views

install g++ on RHEL 6 [duplicate]

I'm trying to install g++ (with gcc already installed) on my Red Hat Enterprise Linux 6. I've tried the following: $ yum install g++ $ yum install c++ $ yum install gcc-g++ $ yum install gcc-c++ ...
0
votes
1answer
3k views

Kali linux throws ' isolinux.bin missing or corrupt ' error

I downloaded Kali Linux from this link, I have a 32 bit OS, so I guessed ISO 32 Kali Linux is the suitable for me (they did not clarify in the website based on what we choose the type). Then, I ...
0
votes
2answers
86 views

init.d script not working - trying to launch ssh tunnel in background

trying to get a simple file to run at boot. But's not launching. It works if I run it, but, never at launch. This is my init.d script, launch_ssh_daemon.sh: #!/bin/bash ### BEGIN INIT INFO # ...
0
votes
1answer
47 views

How to express variables efficiently for SED?

There are many ways to express arithmetic things: new and old ways. However, I would like to write this line efficiently and well sed -n '$START,$ENDp;$ENDq' < data.tex which output sed: 1: "$...

15 30 50 per page