-1
votes
0answers
14 views

How to install cognitive radio patch in ns2.31? [on hold]

how to create a patch file for cognitive radio network in Ns2
3
votes
1answer
25 views

Trying to read USB Audio Device, but /dev/hidraw0 is unavailable for reading

I'm trying to write a simple driver for my USB Sound Card (just for fun) on Xubuntu 14.04 -- for example, I want to have an opportunity to control volume on my laptop via this device. The problem is ...
0
votes
1answer
44 views

Delete labelled partition non interactively with one command

I know about fdisk and parted, but I was not able to figure out an non interactive way to delete a labelled partition. I imagine something like <command> <action> /dev/disk/by-label/LABEL ...
-1
votes
0answers
16 views

How to install SUMO on Ubuntu 12.04 [on hold]

Please any one help me how to install SUMO 0.22.0 in ubuntu 12.04
0
votes
0answers
9 views

Directly start an application in a new screen/tmux session [duplicate]

Is there a way to start a new screen or tmux session, which directly executes a given command/application then detaches again? In pseudo-code something like tmux new -s ft_session --execute python ...
1
vote
1answer
17 views

How to force FreeBSD to assign default router when acquiring IP in DHCP mode?

How to force FreeBSD to assign default router when acquiring IP in DHCP mode? My machines are FreeBSD 8.2-PRERELEASE or RELEASE The NIC (respectively em0 or re0) is set to get a dynamic IP address. ...
2
votes
1answer
24 views

Vim emulation in IDEs vs gVim as IDE

I am currently using gVim as editor and cannot think about going back to mode-less editing. I code in Java for Android and in Python for another project. While trying to set up gVim as my primary ...
-1
votes
1answer
49 views

Scripting multi-volume (GNU) `tar` with pre-defined number of volumes

I've wrote me a little script to test (or extract) a very big multi-volume tar archive (note: created with GNU tar), each of which 00x.tar chunk will fit onto a standard DVD: #!/bin/bash d=$(dirname ...
0
votes
0answers
24 views

Variables in makefiles [on hold]

I have been provided with a makefile which i can't make work: #Set this to @ to keep the makefile quiet SILENCE = @ #---- Outputs ----# COMPONENT_NAME = BookCode_Unity #--- Inputs ----# UNITY_HOME ...
1
vote
0answers
12 views

Creating Self signed certificate for tomcat 6

I am trying to configure self signed certificate for our tomcat server. For that initially I created the keystore certificate file using keytool . The command I tried for this is keytool -genkey ...
-1
votes
1answer
34 views

Lotto numbers dump to database [on hold]

I am trying to dump once a day, results from a website and keep them in the database. I need to find best approach for this. The website is available to the public at the address: ...
2
votes
2answers
240 views

How to create an alias for a sequence of commands? [duplicate]

I know it for one command but how to work with a sequence?
0
votes
1answer
40 views

What is the difference between MAC OS X “Virtual Memory” and Linux/Unix Swap? [duplicate]

I would like to understand the difference of MAC OS X "Virtual Memory" and Linux/Unix Swap. I ask this because I observed that MAC OS X "Virtual Memory" seems to work way more efficient (in desktop ...
1
vote
1answer
37 views

A Sublime editor feature for vim… File pre-view?

I was wondering if there was a vim plug-in for the Sublime editor feature showing a smaller version of the file currently being edited, generally in the right hand side of the window -- see picture ...
0
votes
1answer
23 views

Software installation trouble with Homebrew

I have previously custom installed Python and Homebrew on my OS X 10.9.5 system. I am now trying to install CMake and I am running into various errors such as: cd: /usr/local/src: No such file or ...
0
votes
1answer
16 views

mail command successful, but mail was not received by recipient

I used mail, its exit status is zero but the recepient is not receiving any mail. What could be the problem? I used this code: mylinsystem:/etc/mail # mail -v -s "test" ...
1
vote
0answers
8 views

Changing pulseaudio default per-user output device

Is there a way to change or set the default per-user pulseaudio output device without having write access to the system configuration (but of course having write access to the user configuration in ...
0
votes
2answers
25 views

File mapping reference from another file

File1.txt age name city 23 ABC delhi 25 xyz mumbai 12 xxx pune 21 YYY delhi File2.txt city pincode delhi 001 mumabi 002 pune 003 I need to replace city column in file1 with pincode ...
1
vote
2answers
37 views

how to extract path from file location using shell [duplicate]

how to extract path location from below given string. /opt/oracle/app/oracle/product/12.1.0/bin/tnslsnr expected output. /opt/oracle/app/oracle/product/12.1.0/bin (or) ...
0
votes
0answers
20 views

Wifi configuration failed while using shell script

I am trying to configure wireless network in a Linux machine using a shell script. In this shell script, first I am scanning for all nearby available wifi networks with respective details. After that ...
-4
votes
0answers
16 views

Connecting Laptop to TV with no VGA [on hold]

Here's a real teaser ! I have a laptop (which I use to store / play karaoke tracks), a TV, a wireless microphone unit and a Denon amplifier. My original TV had a VGA input and therefore I was able to ...
0
votes
1answer
35 views

Issue finding lines using grep in UNIX [on hold]

I am trying to use a .txt file with around 5000 patterns (spaced with a line) to search through another file of 18000 lines for any matches. So far I've tried every form of grep and awk I can find on ...
1
vote
4answers
111 views

How to delete the files in one folder which are more than 60 days old in UNIX?

I know how to delete the files which are more than 60 days old by modification time, but I want to delete files based on a timestamp in the file name. For example, I have the below files for each day ...
1
vote
5answers
70 views

find the max value of column 1 and print respective record from column 2 from file

How to find the max value from the column 1 and echo the respective path location from a file which contains n number of records. $ cat version.log 112030 /opt/oracle/app/oracle/product/11.2.0 ...
0
votes
1answer
24 views

Cant revert back to ubuntu from lubuntu

So this was my first time doing a dual boot in my computer and i successfully did install ubuntu. However, in ubuntu i curiously downloaded lubuntu (since someone said that it was faster since lubuntu ...
0
votes
1answer
25 views

Is there a standalone tool which will write reports from CSV data files

I download CSV files (e.g. my bank account transactions) and would like to build reports (to print) from the data. I have searched and found several report writer libraries, but all would force me to ...
0
votes
0answers
13 views

Exfat - Manjaro Linux - will not mount - [on hold]

I know this might be a big pain but heres the description of the problem i am having... Manjaro linux .0.8.10 linux kernel 3.17.0-1 64Gb microsd formatted to exfat by LG-G3 Android Using a 2.5" ...
3
votes
1answer
43 views

How to find out the biggest number in many documents that contains different numbers

For example, there are some temperature data at those folders in different time. temps.txt contains the temperature number. So how can I use bash script to find out the maximum temperature? (the ...
0
votes
0answers
12 views

Problem installing Linux mint in VirtualBox [on hold]

I am trying to install Linux Mint 17 in my virtual box and windows xp as host but it only says "Automatic boot in 10 seconds" then after that it keeps on showing "Linux Mint (from freedom to ...
1
vote
1answer
37 views

change a bash script while it is running [duplicate]

I have a script test #! /bin/bash sleep 60 echo hello I ran it by setting it executable and ./test, and while it was running the sleep command, I changed it to #! /bin/bash sleep 60 echo ...
0
votes
1answer
31 views

script - recursively iterate over newline delimited list using a given depth range [on hold]

Years ago I encrypted a disk back-up image with an extremely long passphrase which I can no longer recall. However the passphrase is comprised of a number of smaller phrases which I do recall. ...
0
votes
0answers
8 views

Archlinux effect of downgrading package

I'm using v8 version 3.26.x, but somehow to compile another package, it requires older version 3.19.x. I'm done downgrading the v8 and done compiling that package: v8 3.19.18.4-1 What is the effect ...
6
votes
4answers
279 views

what's the difference between using 'single quotes' or not in find command

find ~/ -name *test.txt find ~/ -name '*test.txt' Can anyone help me to construct an example where the first form fails but the second still works. And tell me the difference between them.Thanks!
0
votes
1answer
16 views

Does an SFTP login get accounted for with `last`?

The title says it all. At first glance it dodoesn't show, but I also just learned about the existence of last as well.
0
votes
1answer
13 views

toggling between output and command prompt in CentOS terminal

When I open the terminal in CentOS linux and use su - to work as the root user, I type in commands like journalctl that result in a lot of output. The problem is, when I am done scrolling through the ...
2
votes
3answers
32 views

How to parse env variable in a quoted string?

I'm having a hard time getting the value of an environment variable ($GHREPO) in a quoted string. Here is the command I'm running. I'm trying to make a directory with the value of ...
0
votes
0answers
4 views

How can I prevent XRandr from causing visual glitches when using the set-underscan paramater on Fedora 20?

I've been a Linux user for a while now and often find myself jumping around distros - and my latest landing spot is Fedora 20. Now, I use HDMI out of my graphics card for my monitor. Something about ...
1
vote
0answers
7 views

How can schroot works with aufs

I'm using schroot with aufs. Currently, my conf file under \etc\schroot\chroot.d looks like [trusty_chrome] description=Ubuntu 14.04 Trusty running Chrome and Adobe Flash ...
3
votes
1answer
18 views

Bash scripts ran from from gnome/nautilus don't have enviroment variables

In my ~/.bashrc and ~/.profile I have some variables set to some filepaths: export MY_VAR1="/path/to/somewhere" In my ~/bin/ (which is added to my PATH) I have a few scripts that rely on those ...
10
votes
3answers
1k views

How can I shutdown a RHEL server at 06:45 tomorrow morning?

I just received notification that our site has a power outage tomorrow morning. I am a Windows admin but I have to cover for our Linux admin who's not around until tomorrow evening. I need to ...
-1
votes
2answers
41 views

is there any command to execute apt-get update and upgrade?

I've ever wonder why there isn't a command in linux (debian and related distros) that instead of having to create an alias for a command like: sudo apt-get update; sudo apt-get upgrade why not ...
2
votes
2answers
27 views

Securely making an SSH connection from a public computer

Today, I had to remotely connect to my debian computer at home to fix an issue with a VPN server. I was using my iPhone with an SSH client to fix the issue, but I had a hard time due to the small ...
-3
votes
0answers
55 views

Does anyone know how to make a text based game in Unix [on hold]

please help me I don't know what I'm doing send a link from a video or code I only know Unix code
1
vote
0answers
48 views

Copy directory with SCP

I'm trying to copy directory from local drive to remote server with -r parameter, however I'm getting: scp: System error: 1633648 (Failed to retrieve error string (err:317)) This is the syntax I ...
2
votes
2answers
20 views

Convert video to exactly the same format as another video

Suppose I have two video files A and B. Now I want to convert A to the same format (i.e. same container, same audio and video codec), same bitrate, size etc. as B. Is there a way to do this ...
0
votes
0answers
30 views

Using s command to subsitute variables [migrated]

I need to replace a incorrect Illumina fasta header for formatting in QIIME, and this script doesn't quite work like I want. I need to able to put in variables and use the unix "s" command. Any ideas? ...
1
vote
0answers
9 views

expanding the priorities table in runqueue in Linux kernel

I have a hw assignment that I'm having really hard time with, probably since I'm new to the whole Linux kernel thing. we're supposed to add a new scheduling policy to the existing scheduling ...
0
votes
1answer
28 views

Merge and export OCRed text into and from a pdf file

Given a pdf file, and a html file in hocr format for the OCRed text, can we merge the OCRed text into the pdf file, so that the new pdf file can be searchable for text? For example, I have a pdf by ...
1
vote
0answers
17 views

Is it safe to symlink to /usr/include/x86_64-linux-gnu/sys from /usr/include/sys?

I'm missing the /usr/include/sys dir and all of its headers. I have build-essentials and supposedly every other -dev package I require for this make. From reading around I understand that it's safe ...
1
vote
3answers
69 views

How to hide a content of a file? [on hold]

Is there any way to hide the content of a file? Suppose I have the file bind which contains the following line: This is a test. After saving the file, it should not display its content. Is there ...

15 30 50 per page