All Questions

0
votes
0answers
1 views

My system doesn't see HDMI attached tv&receiver until reboot

When my system starts and receiver with tv are disabled during boot, then system will not see them even if later I will replug hdmi cable. To make receiver/tv visible to the system, I must leave them ...
0
votes
1answer
16 views

How to find password, knowing username on broken file system

My external HDD got broken. It was formatted with NTFS. In one of the files I had my login and password stored in plain text. Is there any possibility to find this password by looking for the ...
1
vote
1answer
16 views

How to print total number of file descriptors with index 24

How can I print the total number of file descriptors with index 24 for all the running processes on Linux? I tried $ ls /proc/*/fd 2> errors.txt > stdout.txt | grep "^24" stdout.txt | wc -l ...
0
votes
1answer
16 views

Issues executing program

Ultimately I'm trying to get a program to run at start up and work correctly. I have been successful in getting it to show up in running processes after a reboot, but it doesn't seem like it is ...
1
vote
1answer
14 views

awk - Why does $var give the value of $0?

I have written a very simple awk script that reverses every word of a file-: awk ' { for (i=1;i<=NF;i++) { x="" for(j=length($i);j>0;j--) x=x substr($0,j,1); print x }}' file1 The contents of ...
1
vote
0answers
4 views

Set fixed screen resolution for application in Wine

For example, I've application (game) that has only 640x480 resolution. Now I've 2 options: launch it in window-mode, and will has 640x480 size or enable fullscreen and will fill all screen. What I ...
2
votes
2answers
43 views

How to split an image vertically using the comand line?

So, say I have a large 800x5000 image, how would I split that into 5 separate images with dimensions 800x1000 using the command line?
1
vote
2answers
13 views

USB to VGA on Linux

I've been offered a Macbook Pro mid-2012. Although it wouldn't have been my first choice it's still a great piece of hardware, only problem for me is that it only has a single Thunderbolt port ...
0
votes
0answers
7 views

“Graphic install” or any installation method wont load on dual boot

I have had this huge problem for 6hours now. I've saved a 64bit Kali iso file to my usb and then booted from it. Everything works fine and the Kali menu shows up. However, when I choose any of ...
0
votes
0answers
25 views

awk - how does the for loop work when counting words?

I have got the following awk script from here that counts the frequency of the words in a file-: # Print list of word frequencies { for (i = 1; i <= NF; i++) freq[$i]++ } END { ...
1
vote
0answers
8 views

Escaping output in tcsh completion by program

How do I escape output in the program providing completion? Suppose: tcsh% complete foo 'p/*/`mycomp`/' And mycomp is a Perl program printing this: #!/usr/bin/perl print "one\n"; print "two ...
1
vote
0answers
12 views

Linux mint 17 battery information inconsistent

The battery (time remaining) information shown by Linux Mint 17 on my Asus Zenbook UX32LA is inconsistent. When I unplug it from the AC power (99% charged), it says 4:55h, after 1 min it shows 7:15h, ...
0
votes
0answers
9 views

dropbox on sda2, how to have sda2 mounted at startup?

I have been struggling with mounting my sda2 partition: how should I mount my ext4 partition in fstab When I mount it with fstab, it is not showing up anymore in my file manager and I have to create ...
0
votes
0answers
5 views

Magento store code rewrite with Nginx [on hold]

Since I'm using store codes with Magento (multiple fronts) the blog extension by Aheadworks is also using the store codes in urls. How to remove or rewrite them with Nginx?
2
votes
2answers
59 views

regex - Searching for only character pairs

I have the following data from which I mean to extract only those lines which contain "bb" only. Not "b" or "bbb" or anything else just "bb". abb abbb aabbcc aabab abbbbc Now when I use the ...
0
votes
2answers
12 views

What does this host means ' ::1 '

To secure my mysql server, I checked the list of users : mysql> SELECT User,Host,Password FROM mysql.user; +------------------+-----------+-------------------------------------------+ | User ...
1
vote
0answers
14 views

What's the correct way to share a directory with Windows machines using Samba?

I'm running Debian 7.7, intended to be used as a server. I've got Apache installed and I'd like to share its /var/www directory and access it from Windows machines. I've followed the instructions on ...
1
vote
1answer
16 views

“403 Forbidden - You don't have permission to access / on this server” - apache2 localhost on Linux Mint 17

Desired Behaviour To be able to access localhost in browser without getting 403 Forbidden message. Current Behaviour Navigating to localhost in browser returns: Forbidden You don't have permission ...
0
votes
0answers
7 views

How to use ESC sequences to make terminal region scrollable

I have a stm32f1 controlled device that uses USART/USB port to implement a user control interface. Using a standard terminal software (putty/minicom) a user has an ability to enter simple command in ...
3
votes
2answers
50 views

single quote within double quotes and the bash reference manual

In section 3.1.2.3 titled Double Quotes, the bash manual says: Enclosing characters in double quotes (‘"’) preserves the literal value of all characters within the quotes, with the exception ...
1
vote
2answers
9 views

configure second monitor

I have a new Debian machine and I'm trying to attach a second monitor to it. When I plug it in in my HDMI port, the second monitor duplicates the firts monitor, while I wuold like to extend it. My ...
0
votes
0answers
2 views

Uvcvideo trying to load a camera twice

I've got a problem with uvcvideo, where I get this error at startup: uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 1: -32 (exp. 1). which also shows up in dmesg if you unload and load ...
2
votes
1answer
25 views

cpio VS tar - what the best archive solution in order to compress hundred of directories to one file

I have hundreds of directories under /var/Recording, and each directory there will have subdirectories, including files, hard links and soft links. I want to compress all directories under ...
1
vote
0answers
9 views

tcsh completion questions

I come from bash and am looking into tcsh's tab completion feature. 1) Is it correct that tcsh cannot delegate completion to a shell function (the way bash does with 'complete -F _func cmd')? 2) ...
1
vote
1answer
11 views

arch linux recognizes the partitions and hard disks wrongly

My arch Linux system does not recognize neither the partition nor the hard disk in which it is installed. it is installed on /dev/sdb1 but it recognizes that as /dev/sdc1 and the initialization goes ...
1
vote
0answers
7 views

basic serial communication

I've inserted a serial USB to TTL device to serially talk to my microcontroller when I inserted the device I got a file in dev directory named /dev/ttyUSB0. So now I want to communicate through it by ...
2
votes
2answers
18 views

(In)significance of [… ] and tty root processes

A colleague of mine assigned me to perform a root-cause analysis of an enterprise security server sometime ago. We knew the problem resided in one of the processes run by root but did not know which ...
1
vote
1answer
9 views

Mouse cursor stuck but its movement is still registering

When I first turn on the computer the mouse works as usual, but shortly after that the mouse cursor will stop moving and will stay stuck in one spot on the screen. This is hard to describe but ...
1
vote
0answers
4 views

Zorin os 9 Installation hang at Install Zorin alongside Microsoft Windows XP Home Edition

I want to install Zorin alongside Windows XP But installation hang at this step. I also try "nomodeset"command but in vain. Please help.
8
votes
2answers
187 views

How can variables use “~” for cd'ing?

How can I use a variable - $BASE in my cd. I tried the following but I get an error $ cd ~/z/repo_1_ruby_193/ 23:23:57 durrantm Castle2012 /home/durrantm/z/repo_1_ruby_193 $ BASE="~/z" 23:24:03 ...
0
votes
0answers
25 views

Bash Graphical uninstaller using a tool to make graphical my script [on hold]

I have a problem with logic on this part of my script, I can't see my fault. . Basically the script must be do the follow: 1 - Ask if you wanna uninstall 2 - Check if the "$PATH_TO_SOFTWARE" ...
0
votes
1answer
13 views

Edited /etc/cron.d/anacron, changes are immediately in effect?

After editing /etc/cron.d/anacron and saving the file, are the changes immediately acknowledged by cron? Or do I need to run a command to tell cron to reload /etc/cron.d/anacron?
0
votes
0answers
7 views

Can't Create Win 7 VM with RHEL 6.5 VMM

I have a server running RHEL 6.5 that I primarily run VMs on it. The VMs I run on it are all Linux, with the exception of one that runs Server 2008 R2. Yesterday, I attempted to install Windows 7 as ...
0
votes
0answers
17 views

Desktop Fork designed around usability [on hold]

I am trying to get a project started to fork a Linux distro and design it around usability. This will probably have to be a team project as it would be very difficult to achieve all of the ideas I ...
0
votes
2answers
22 views

Can't boot Windows on UEFI after installing Linux Mint

Okay, so I just put a second hard drive into my computer and installed Linux Mint onto it. Now trying to boot back into Windows I can't, I've tried both the drives from the boot menu and haven't done ...
0
votes
0answers
4 views

Bind: Setting up DLV: named thinks zone records records are out of zone

forward zone file: $TTL 3600; @ IN SOA ns1.sub.db.archives.net. hostmaster.sub.db.archives.net. (2014112100,4h,1h,7d,1h) $ORIGIN dlv.isc.org. dlv.isc.org. IN DNSKEY 257 3 5 ...
1
vote
2answers
16 views

Applying mouse settings on startup

linux learner here. (Running on a Debian-derived distro) My mouse sensitivity was too high so I was able to change it, but can't seem to get it to apply on startup. I made /etc/init.d/mouse When I ...
0
votes
0answers
15 views

Bypassing the security message in Debian 7 when creating a bash script? [duplicate]

I've created a bash script which involves the installation / update of wget. As a result there is also a message from Debian showing the following: wget (1.13.4-3+deb7u2) stable-security; ...
3
votes
1answer
89 views

Sorting lists when there are no leading zeros

I would like to sort this numerically and the sort command keys off the first character. CPL_V11.01.00_1 CPL_V11.01.00_10 CPL_V11.01.00_2 CPL_V11.01.00_3 CPL_V11.01.00_35 CPL_V11.01.00_36 ...
1
vote
1answer
6 views

urxvt add padding (distance between text and border)

Is it possible to increase the space between text and border in urxvt, and if so, how? I can't find any resources on it online.
2
votes
2answers
108 views

How can I test for a file having a value?

I am using source ~/.rvm/scripts/rvm repos="repo_1_ruby_193 repo_2_ruby_211 repo_3_ruby_191" > rvm_check.txt for repo in $repos do cd ~/zipcar/$repo 2>rvm_check.txt cd .. echo $repo if ...
0
votes
0answers
32 views

How do I install Steam on Debian [on hold]

I have tons of games I want to play, that I know are Linux compatible, but I have no idea how to get Steam to work. I have tried the installer from Steams web site and I could not get it to run. I ...
0
votes
0answers
9 views

How to exclude LAN traffic with iptraf-ng?

I'd like to use iptraf-ng to see how much data my machine is sending/receiving from the Internet, but I want to exclude traffic on my LAN as I am only interested in data going off-site. I have ...
0
votes
1answer
30 views

Using a command's output to determine the name of the file to redirect output to

I want to run smartctl -a, and use the device serial number from that output as the name of the file to store the output in. I know this can be done by invoking smartctl twice, and slicing up the ...
0
votes
0answers
4 views

Permission denied on aio-max-nr file

I would like to edit the file aio-max-nr: root@node:~# echo 65536 > /proc/sys/fs/aio-max-nr -su: /proc/sys/fs/aio-max-nr: Permission denied Knowing that : root@node:~# ls -lrth ...
2
votes
1answer
20 views

Get ID and Mounted location of an USB

I need to find a way of retrieving the ID and Mounted Location for USB devices. I've found two commands that gives me what i want, but i haven't find how to associate them.. rsm@matrice:~$ lsusb Bus ...
0
votes
0answers
9 views

wget mirror site with images stored on other different domains [duplicate]

I'm trying to wget mirror of site atompunk: # wget -l 2 -c -m "http://atompunk.tumblr.com" For me, it take only index. I'm interesting in pictures which is stored on the other domains... How? ...
0
votes
1answer
21 views

How to disable my touch screen

My screen is cracked, and the touchscreen makes the courser spasm every once and a while. Is there any way i can fully disable it? As requested: Module Size Used by ctr ...
-1
votes
0answers
31 views

Command line commands that every one needs to know! [on hold]

Well I'm new to Linux, and I have really never used a Command line before... So I have no idea of its potential. I know some of the basic commands like: apt-get xrandr aptitude clear startx ls cd ...
0
votes
0answers
8 views

problem with U-boot while flashing Linux in sd-card

Please help as it is immense necessary for a project which is to be evaluated coming week. Also, I am very new to this and unable to find help from existing contents available on the Internet. While ...

15 30 50 per page