-2
votes
0answers
3 views

Installing Debian on Surface pro 4

I would like to purchase a Surface Pro 4 tablet for my wife but will avoid it if I cannot properly install Debian Linux as a secondary operating system. I have not been successful so far in getting an ...
0
votes
1answer
5 views

How to prevent garbled screen display while running scripts on remote hosts?

Current scenario: I am trying to run Unix shell script from a solaris 5.10 box, within the script one of the tasks is to ssh to another Linux host (ssh-key pair already setup) and run a set of ...
-1
votes
3answers
15 views

Using grep to remove comments from a file

I'm trying to use grep to remove the comments from a file, smb.conf to be specific, and bash is giving me an error. I found this question How to remove all comments from a file? that gives the syntax ...
0
votes
0answers
9 views

Need a hint about system's verbiage at bootup

I've got a dual boot W10/Ubuntu 14.04 laptop. I use GRUB2 as a boot loader. In the BIOS I chose "Legacy BIOS" option (the laptop was purchased with EUFI enabled system and W8 OEM). I don't know, maybe ...
0
votes
0answers
6 views

Edit .docx files with Emacs?

I'm starting with Emacs, and testing around I wondered if I could edit my own .docx file from there, just to explore its features and that stuff. But my surprise is huge when, having the text ...
-1
votes
1answer
6 views

How to install VirtualBox in Debian 8?

So, I have been crying for hours over this. I have been trying to install virtual box 5.0 in 64-bit Debian Jessie, and for the life of me can not figure it out. I have tried installing it from .deb, ...
1
vote
1answer
8 views

Create Shortcut to VMware

How would I create a shortcut to VMWare player on CentOS 7 desktop? A lot of people say it's not possible to create shortcuts on Gnome 3, I have seen it working with a special file, but i'm not sure ...
0
votes
0answers
3 views

How To Install and Configure ImageMagick for PHP and Wordpres on Amazon Linux AMI

I've installed a fresh Wordpress site on my Amazon Linux AMI following the setup instructions listed on the EC2 Tutorials section i.e. "Hosting a WordPress Blog with Amazon Linux". I'm also using the ...
0
votes
0answers
3 views

grub2-install: error: cannot open /boot/grub/i386-pc/usbserial_common.mod: No space left on device

I am at the final step in a Gentoo installation, and I have some problems installing grub2. I did an emerge --ask sys-boot/grub and everything went ok. After this I ran (chroot) livecd # grub2-install ...
1
vote
1answer
36 views

How do I kill a process given its “command”?

I have a process called "P1", right now the way I kill the process is: $ ps aux | grep "P1" " Now it returns two processes related to "P1": one is the actual P1 process I want to kill, the other one ...
0
votes
1answer
29 views

Auto login to SSH without keys? [duplicate]

I am looking for a way to ssh to a machine, without using SSH keys. When I try to pass the password echo "password" | ssh user@machine It just gives me an stdin error How do I SSH without ...
0
votes
0answers
9 views

Problem with rendering fonts in Terminal [duplicate]

I have this problem with font rendering in Manjaro 15.12 - it shows question marks in screenfetch too, instead of a logo. Is there a way to solve this? P.S. Font in Terminal is Monospace, if it ...
0
votes
0answers
2 views

802.11 Duration Field Reset to 0 By Wireless Driver

I am trying to send out custom, raw 802.11 frames using an Alfa AWUS036H with USB driver rtl8187. This is possible using tcpreplay, hexinject, or a number of other Linux utilities. A custom PCAP file ...
-1
votes
0answers
17 views

How to execute command with sleep and log its output and service ID [on hold]

I am executing ( sleep 0.1m; sudo send 11111 2 1 ) 2>&1 & command from php this how: $command = '( sleep '.$delay.'m ; sudo send '.$switch->code.' '.$switch->number.' ...
1
vote
0answers
3 views

How to combine conditions with xdotool?

Is it possible to search for both the --class and --name using xdotool? xdotool search --all --onlyvisible --class "some_val" --name "another val" The above returns an error because the first ...
0
votes
1answer
23 views

Read columns from file into separate variables

I need to read the following input into separate columns as variables? input.txt b73_chr10 w22_chr9 w22_chr7 w22_chr10 w22_chr8 w22_chr6 I have written the following command;but I guess it ...
0
votes
0answers
10 views

Is there a way to edit the title of GNU GRUB2 itself (not a title of a menu entry)?

I'm interested in knowing if there's a way to edit the GRUB2 boot menu to display a banner at the top. We have several machines that boot from SAN. I'm doing migrations and our SAN team ...
1
vote
0answers
11 views

Use a “Friendly” Label on Drives or Partitions in FreeBSD

Maybe I am missing this and it's really simple, but I cannot figure out how to label a BSD disk. I have looked at tunefs or gpart and even disklabel, however none do what I am looking for - I don't ...
0
votes
0answers
23 views

Monitoring Linux Machines [on hold]

I have a couple Linux machines and VMs at home that I am wanting to monitor. Basically, what I would like to do is setup a web page that display's information such as CPU/RAM usage, Uptime, IP Address ...
2
votes
1answer
14 views

When is the appropriate time to start Redshift using upstart?

I have been trying to get Redshift to start before login so that the bright welcome screen does not blind me, in particular when switching users. Running Redshift as a service does not seem fully ...
-2
votes
1answer
25 views

Read columns from file and substitute values in another file using bash script [on hold]

I have following file : input.txt b73_chr10 w22_chr9 w22_chr7 w22_chr10 w22_chr8 w22_chr8 I have written the following code(given below) to read the first and second column and substitute ...
1
vote
1answer
27 views

How to install Linux (or a similar OS) on smartphone?

I need to install linux on my next mobile, a smartphone, which will be my first one. How do I do that? I mean, it surely won't have a CD drive and I don't see a way for including a USB drive or even ...
1
vote
1answer
15 views

Recover full command that generated core dump

A program I am working on is crashing and generating core dumps. I think that the issue is related to the arguments that it's being called with, some of which are automatically generated by another ...
0
votes
0answers
3 views

SDCC missing header file pic16f887.h [migrated]

Trying to compile a c program for a micro controller through SDCC running: sdcc -mpic14 -p16f887 blink.c gives: blink.c:6:27: error: pic/pic16f887.h: No such file or directory blink.c:12: ...
2
votes
2answers
23 views

Run in background but not discarding the output

I use a Git hosting. So I often run git push. I want to run git push in background, in order that me not to wait when it finishes but do other tasks in my terminal. But I don't want to run git push ...
1
vote
1answer
10 views

Directing old symbolic link to a different location

Example: I created a symbolic link into my /usr/local/bin folder using sudo ln -s ~/Desktop/package/Application/tool1 sudo ln -s ~/Desktop/package/Application/tool2 … I would like to move my ...
2
votes
1answer
25 views

How to remove date format

I have the following content in the file. I would like to remove dates and the underlines from the file using sed. let me know if this would be possible to do with grep either. Can someone assist on ...
5
votes
2answers
170 views

Bash .hushlogin, keep last login time and host

At my company, when I log into some servers, my last login and a huge banner are displayed: me@my-laptop$ ssh the-server Last login: Mon Feb 8 18:54:36 2016 from my-laptop.company.com ...
1
vote
2answers
19 views

How do I create a rule for custom flag replacement with C shell?

I want to have the following behavior with grep: grep --java <rest of the command> Where --java would either dynamically convert to --include=*.java or internally be equivalent to it. Is ...
0
votes
0answers
12 views

Set Default Boot Device in Open Firmware

I have an old Apple XServe G4 that I successfully created a dual boot of Mac OS X and FreeBSD 10.2. In order to boot the machine, you have to go into Open Firmware and issue a boot command... I ...
1
vote
1answer
53 views

Cannot remove file: Read-only file system

I am trying to delete a file on an Ubuntu 12.04 system for which I have root access. However, I am getting this error: root@CRST-Web:/home/real_property/html# rm -r -f results.php rm: cannot remove ...
-1
votes
0answers
11 views

how to install ysoserial in kali linux? [on hold]

i want to install software in my kali linux: https://github.com/frohoff/ysoserial. but when i do, it become like this: enter image description here can you find and fix complete it for me. thank.
1
vote
1answer
32 views

Adding folder name to .zip files inside it

I have file1.zip, file2.zip, etc. in folder called folder1. have similar folders folder2, folder3, etc. I need to add folder name to each .zip file inside these folders. So, files inside folder1 ...
-1
votes
0answers
6 views

Ubuntu Snappy for a development machine [migrated]

So Ubuntu Snappy core is supposed to be super lightweight. I was thinking to put that on a server, ssh to it and use it to write code. Would that work? Does it come with desktop environment? Can I ...
1
vote
2answers
27 views

find a file and truncate it

I'm simply trying to find a single log file and truncate it. Why won't this work? find ${listener}/tracefiles/${listener}.log -exec cp /dev/null '{}'\; This returns an error: find: missing ...
3
votes
1answer
34 views

How to make an iso of my installed system

I'm re-posting this here because it's off topic on Askubuntu. I installed Linux Mint 17.3, customized the theme, removed and added packages, made many changes to the file manager etc. I want to know ...
1
vote
0answers
5 views

How to lock keyboard layout on login screen in Gnome

I use Gnome 3.xx desktop manager on openSUSE 42.xx and two keyboard layouts. I would like to lock the keyboard layout on the Gnome login screen, so it is always US layout. Basically, I want logins and ...
0
votes
0answers
18 views

meaning of !(something) in shell [duplicate]

While searching for a way to move all files in a dir to one of its sub-folders, i came across mv !(something) something which should do the job - but only in bash. However i could not find why. in ...
0
votes
0answers
4 views

Get correct Windows partition back in Grub

Model: HP Compaq Mini 32 bit. Device: Samsung Evo SSD 120 GB. OS: Dual boot --> Linux Mint 17.1 Xfce & Windows 7 Starter. TLDR: Fixed Grub + got Mint back using parted rescue; win7 reboots or ...
0
votes
0answers
8 views

YAST is trashed and wirless networking stopped

Running openSUSE 12.2 Mantis for some time with no problem until now.It will not load up wireless network and YAST appears trashed, with this error message anytime I try to fix it. "terminate called ...
0
votes
0answers
20 views

'iptables -a' just hangs and never returns? [on hold]

I'd like to redirect requests in on port 80 to a service I already have running on port 8443. I swear I've used this command before on other systems and it's worked: sudo iptables -A PREROUTING -t ...
0
votes
1answer
14 views

Linux equivalent of WinRun4J

Does anyone know of a linux equivalent of WinRun4J? Google isn't turning up anything. Specifically (from the WinRun4J aspect), I need the ability to pass additional/extended options to the JVM via an ...
0
votes
0answers
7 views

Finger touch/mouse left click stopped working on LCD Touchscreen 4DCape-70T for BeagleBoneBlack (OS Debian)

we use many BeagleBoneBlack boards (OS Debian, kernel 3.8.13-bone50 (May 13 2014)) with LCD Touchscreen 4DCape-70T. My java application is running after startup of OS Debian 7.5. I use GPIO library ...
1
vote
2answers
9 views

lxde stop auto maximize vertical when moving window to right edge of screen

I am running lxle version 14.04.3. I would like to stop lxde from maximizing my window vertically when I drag a window to the right edge of the screen. Does anyone know how to change this setting?
1
vote
1answer
21 views

How to remove password prompt when executing su <user> command in CentOS 7?

I have two users in my CentOS system User1 and User2. I am logged in as root user and trying to add User1 to sudoer list using visudo. I have entered the following line at the end of the file User1 ...
1
vote
1answer
21 views

Cannot configure wlan0 with static ip?

Debian Wheezy on ARM: wlan0 works with DHCP but doesn't work with static IP. This is my /etc/network/interfaces auto lo wlan0 iface lo inet loopback iface wlan0 inet static wpa-ssid "mySSID" ...
0
votes
2answers
48 views

Which linux distro is more suitable for me [on hold]

I am new in Linux environment. I am currently using the Ubuntu 14.04 LTS but it's not running as i expected, because my PC don't have high configuration. Here's my system configuration Memory : 2.9 ...
-3
votes
2answers
37 views

Convert all text in a file to uppercase using sed and interested to use range operator [duplicate]

I am trying to : Convert all text in a file to uppercase using sed and interested to use range operator. can some one please help me here. content of Sample.text: unix is great os. unix is ...
2
votes
1answer
29 views

Information leaks out of encrypted file system

If I only encrypt the home directory, what are some common ways for information to leak out to the unencrypted part of the file system? Aside from the obvious problems like swap space files in /tmp ...
1
vote
0answers
32 views

patch: “bad file descriptor” in combination with pipe and LD_PRELOAD/ libtrash

Very short summary: cat "$file" | patch produces a Bad file descriptor-error, but patch < "$file" works, when libtrash is preloaded with LD_PRELOAD, and only on bigger projects. Description: For ...

15 30 50 per page