Questions about using the command-line interface (CLI).

learn more… | top users | synonyms (5)

0
votes
0answers
14 views

Opening a scoket in Kali linux using bash scripts trouble [on hold]

I know who to open a TCP or UDP socket in Ubuntu, by the following command : exec 3<>/dev/tcp/google.com/80 (for example) we can open a TCP socket on port of 80, but in Kali Linux there's no ...
0
votes
0answers
7 views

Stuck at GRUB menu

I feel really dumb saying this... Thanks to the help I received on this forum, I finally fixed my Wine/Pipelight issue and could finally upgrade from 'Trusty' to 'Utopic'. To clean up extra files, ...
2
votes
2answers
13 views

Command to cycle displays in Xfce

One can change displays in Xfce from GUI by choosing between Laptop Mirror Displays Extend to the Right Monitor Is there a command to cycle between these options? - so that I associate it to a ...
0
votes
0answers
14 views

how do i achieve executing a python script ON TERMINAL via a shell script in nautilus folder by the right-click>Script way?

Using nautilus i am writing a script which will run the python script which invoked it. So to run a python script i just need to right-click on it>goto scripts>select appropriate script and it will ...
0
votes
0answers
20 views

Did not use SHIFT-DELETE nor rm but files on Desktop are deleted

I have not used shift-delete nor rm but files on Desktop are deleted in ubuntu 14.04 LTS. My ~/.bash_history file also has no log of using rm command. However I have used sudo modprobe hfsplus. Is ...
1
vote
1answer
17 views

PATH is not getting exported by default in Ubuntu 12.04

When i run su on command line and enter root password, I am getting error as mentioned below: Command 'lesspipe' is available in the following places /bin/lesspipe /usr/bin/lesspipe ...
0
votes
2answers
50 views

A strange problem about terminal or command environment

Two weeks ago I was learning Python and Flask. I followed step-by-step the steps in The Flask Mega-Tutorial, Part I: Hello, World!. While I was following the tutorial, I had problem in "virtualenv", ...
0
votes
0answers
12 views

Save and restore tabs with name of terminal

I have a Terminal window with a dozen named tabs open *(gnome-terminal) I would like to save the current configuration and have it restored with names and directories. Is there a way to do this? I've ...
0
votes
2answers
21 views

bash script dollar sign operator $ question - is it incompatible to ~ operand?

I am new to the Linux environment. After a quick search I could not find a helpful question about the $ operator used in bash scripting. I do not know if this question relates more to the Ubuntu (or ...
0
votes
0answers
7 views

monitor network connectivity faults?

I am suffering poor connectivity when i work at home. Frequently I see write failed broken pipe and other errors indicating that Ive lost connection. I would like to complain to my service provider, ...
-1
votes
0answers
32 views

Linux Red hat vs Ubuntu , Which is best OS? [on hold]

No offence but just asking . Which OS is better in terms of UI Security Linux Commands Popularity 3rd party Softwares available for OS Used by large companies
0
votes
0answers
30 views

Bash puts ':' after each command

I updated my bash_aliases from another system I own, and now, I have found the following problem: If I use a command, bash put : after each command and alias. Why? What can cause this problem? In ...
0
votes
1answer
14 views

parted mktable error. but gparted “create partition table” works?

I am trying to automate formatting of USB drives. What I do is: Unmount USB drive terminal: sudo parted /dev/sdb1 mktable msdos This is when I get the following error: Error: Partition(s) 1, 2, ...
0
votes
2answers
19 views

The difference between lshw and lspci commands

I think it's a little confused issue but what's the difference the lshw and lspci commands ?
0
votes
0answers
16 views

How to use -d option in ubuntu just like java? [on hold]

how to use -d option in ubuntu? In java we use -d to separate the .java and .class in different folder.Is there any way to do this in ubuntu?
0
votes
0answers
12 views

What's mean of command? [on hold]

I have .bat file to start game server, in the code of them has a command but i dont know is this DOS's command or java or shell command ?. On startgame.bat echo ------------------------- java ...
0
votes
0answers
22 views

Issue launching phpstorm, seems like a java problem

I just got my ubuntu enviroment setup 2 days ago. And im trying to install phpstorm, and adding it into the enviroment path. I downloaded the tar.gz file, unzipped it to /home/documents/IDE/phpstorm/ ...
1
vote
1answer
29 views

Deleting input forward to the next space

This is my question: When in terminal I can use Ctrl+w to delete a whole word or IP (. is separator for each octet) when going leftward of prompt. However, if I try Alt+d to go rightward of prompt, ...
0
votes
1answer
23 views

short summary about video files (resolution, size, duration, codec)

I use mediainfo at the moment. It's too detailed $ mediainfo vine.mp4 | wc -l 66 I wish a command with only short summary. 6 lines of output.
0
votes
1answer
16 views

JAVA path error in hadoop

I installed hadoop watching a youtube video. while I try to run this in terminal it gives me this error srimanth@srimanth-Inspiron-N5110:~$ /usr/local/hadoop-2.6.0/bin/hadoop version ...
0
votes
0answers
31 views

Error message while using Sudo [duplicate]

I've got error message at my terminal. Whenever i am using sudo command, my terminal is showing: no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
-1
votes
0answers
33 views

Please help me to install tar.gz packages with terminal [duplicate]

I’m trying to install tar.gz packages with terminal and I’m completely lose. Please help me to install them.
-1
votes
0answers
34 views

unzip cannot find or open the tgz file [duplicate]

When I run ~$ unzip android-sdk_r24.0.2-linux.tgz I get the error message unzip: cannot find or open android-sdk_r24.0.2-linux.tgz, android-sdk_r24.0.2-linux.tgz.zip or ...
0
votes
0answers
120 views

ALERT! /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx does not exist. Dropping to a shell! [duplicate]

I'm fairly new to Ubuntu. I previously had Ubuntu 14.04 LTS installed to the same drive as Windows 7, but then decided to install it to my separate 1TB drive instead. Now, on boot, it boots to the ...
0
votes
2answers
16 views

saving characters typed on keyboard

Is there any way I can save the characters are typed on my keyboard???? I want to know if it is possible in any way to save the characters that are typed on my keyboard by making changes in any file ...
0
votes
1answer
46 views

How to keep record of every action and command executed? [on hold]

I there a way to see the terminal code for every action taken? Something like a listener to know what goes on behind the scenes for every action I take. Example: "selected this element, clicked on ...
-1
votes
1answer
27 views

RGB Color equivalent in ubuntu terminal prefences menu [duplicate]

What is the equivallent of RGB color in the Ubuntu terminal preferences menu? The code is something like #F3532525 and i have a RGB color code that i want to set as my default color in my terminal. ...
1
vote
1answer
24 views

Unable to launch Android SDK Manager in Terminal

I am trying to open my Android SDK Manager which I installed and used before, and the instructions on the official website for it here: http://developer.android.com/sdk/installing/adding-packages.html ...
0
votes
2answers
31 views

Unable to download wine with software center or terminal

I'm trying to download wine 1.7 with the software center and terminal, 3 MB remained of download progress , but when i want to continue the download , it gives me a 404 error. i rebooted the system ...
0
votes
2answers
26 views

CHKCONFIG NOT working on UBUNTU 12.04.4

I am trying to install chkconfig in Ubuntu 12.04.4 but it is not installing. I have tried most of the solutions available like apt-get install sysv-rc-conf update-rc.d All of the above is giving ...
1
vote
1answer
36 views

Editing my Bash prompt

I'd like to put something into my bash prompt, but I'm not quite sure how to do it. I use the Cloud Foundry Command Line Tool to push code up to my servers. The cf tool can be set to a specific ORG ...
0
votes
0answers
19 views

ImageMagick convert problem, command killed or silently exits

Im having peculiar problem with the "convert" command on Precise hosted on Linode. I am trying to convert a pdf to a memory persistent cache file *.mpc using the following command: $ convert -density ...
0
votes
0answers
10 views

Resizing a terminal session changes font size, not just the session window

I am making a TELNET connection to a server which resizes the terminal window from 80 to 132 wide then back and forth. Currently I just leave the font small enough so that when it resizes to 132 it ...
1
vote
0answers
16 views

What causes the deviation in the wmctrl window move command

About wmctrl With wmctrl (not installed by default), we can get information on windows, their id, their geometry, the pid they belong to etc. We can also move or resize windows with several commands. ...
1
vote
1answer
27 views

Unknown switch error encountered when opening Terminal

Every time that I open a new Terminal window I get this error: ERROR: Unknown switch ''. Accepted values: ia32, intel64 Why is this happening and how can I fix it?
0
votes
0answers
22 views

the command argument is not passed to /bin/sh in popen

Here is a scenario where I use popen as FILE* stream = popen("Root", "r"); As per my understanding the Root argument will be passed to /bin/sh and interpretation is done. In my case, Root should be ...
2
votes
1answer
31 views

How do I reboot login screen?

After locking Ubuntu 14.04 and invoking login screen sometimes I get the page with disabled password field. How can I restart login screen in command line without restarting whole X server?
0
votes
2answers
27 views

Removing required password to used Terminator terminal package

Every time I open a Terminator terminal window it prompts me for a password to perform administrative tasks. Is there a config file I can edit to prevent it from doing this? I know from having used ...
0
votes
1answer
29 views

Autostart a Python script in an LX terminal

I have a python script which extracts continuous data from an incoming serial string and inserts the fields into an Sql database. The python script can be run manually from an LX terminal and works ...
1
vote
1answer
24 views

Disable Keyboard Repeat from command line?

Is it possible to disable the keyboard repeat functionality, as is needed by various Flash games, through the command line? Normally it can be disabled by going to settings -> keyboard and hitting ...
0
votes
1answer
42 views

apt-get update malformed line [duplicate]

when i typed sudo apt-get update in terminal, it gave me this error: E: Malformed line 1 in source list /etc/apt/sources.list.d/gazebo-latest.list (dist) E: The list of sources could not be read. I ...
1
vote
0answers
39 views

How to get my webcam working on Skype?

My HP webcam doesn't work on Skype. I have Ubuntu version 14.01 and I don't really want to buy an external webcam. Can anybody please help?
0
votes
1answer
19 views

Dvd md5 same as iso, sha1 and sha256 not

So here's my dilemma: i ran these 3 commands in terminal, one at a time, to check the hashes of a burnt dvd: dd if=/dev/cdrom bs=1 count='size' | md5sum dd if=/dev/cdrom bs=1 count='size' | ...
0
votes
3answers
49 views

Copy sub-directory from 1 directory to another

I need to make a copy of the content of one directory to another. I need to copy only 1 sub-folder. For example; if I have a folder called "from" and want to copy one of it's sub-folders (with all ...
0
votes
0answers
17 views

Command hangs when directed at a shared network drive [duplicate]

In an effort to become more familiar with ubuntu/linux, I have recently installed a VM with Ubuntu 14.04 on it. I mounted a shared network drive to my home directory, which is named ostenso. ...
0
votes
0answers
57 views

SSH using Terminal / Terminator is “very” Slow (at the connecting time) Compared to putty

i searched in all stackexchange website, the same question is asked few time and I did all that mentioned in those threads...but still when doing a SSH to a remote server using terminal during the ...
0
votes
2answers
30 views

dpkg lock cannot be resolved [duplicate]

I get the following error: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another ...
1
vote
0answers
16 views

problem executing c program on codeblocks [duplicate]

i installed code blocks on ubuntu but when i run a program the problem shows that is: [sh: 1: /media/mysticboy/Parsonal/pgrms on ubuntu/test/bin/Debug/test: Permission denied Process returned 126 ...
0
votes
1answer
58 views

How to start gnome-terminal from a windows cmd on wine? [on hold]

I'm quite new to Ubuntu & Linux! I would like to to run Linux game server in garena, and my last chance is run gnome-terminal from the wine cmd.exe. How should I proceed?
0
votes
1answer
43 views

About sort Command

I'm learning to LPI certification , and I did not understand what the sort command exactly does .. anyone can explain it to me ? The sort command can be used to rearrange the lines of files or ...