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

learn more… | top users | synonyms (5)

0
votes
1answer
24 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
1answer
142 views

All files become hidden in Nautilus file manager

When I cd to a directory via Terminal and when I create a file every time via terminal, the file is not shown in Nautilus. But when I put ls command, I can see the files on Terminal. But I cannot ...
2
votes
1answer
37 views

cp Cannot Stat '-r'

Strange issue, for some reason, when I'm running a copy command, it's treating the -r flag as an argument. sudo cp –r usr/* /usr The following is the error: cp: cannot stat ‘–r’: No such file or ...
204
votes
7answers
175k views

How do I determine the total size of a directory (folder) from the command line?

Is there a simple command to display the total aggregate size (disk usage) of all files in a directory (folder)? I have tried these, and they don't do what I want: ls -l, which only displays the ...
16
votes
3answers
1k views

How can I wake a sleeping bash script?

Is it possible to wake a process that is paused using the sleep command? As an example, lets say you have this script: #!/bin/bash echo "I am tired" sleep 8h echo "I am fresh :)" After 30 ...
1
vote
1answer
31 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, ...
2
votes
2answers
20 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 ...
12
votes
5answers
29k views

How to switch the editor in mc (midnight commander) from nano to mcedit?

Using ubuntu 10.10 the editor in mc (midnight commander) is nano. How can i switch to the internal mc editor (mcedit)?
-1
votes
0answers
18 views

apt-get update error(core dumped)

Someone please help here. I get this whenever i try sudo apt-get update/intall . * stack smashing detected *: apt-get terminated Aborted (core dumped) What could be the problem. i am using ubuntu ...
0
votes
2answers
49 views

Find folders of size lesser than x and delete them

I want to find all folders (within a folder) which are less than 100mb large and delete them. I actually don't want to use a bash script. But probably there is some neat one-line-loop possibility to ...
-2
votes
1answer
31 views

How to combine ls and grep to list only files and using ls to count dirs

I have some troubles with combining ls and grep. The thing is that I have to use only ls and grep to list all files in home directory. Ive tried multiple of combinatnions but with no effect. I think i ...
76
votes
3answers
12k views

Why is a virtual terminal “virtual”, and what/why/where is the “real” terminal?

I hope the question is self-explanatory. My understanding is that gnome-terminal and konsole are virtual terminals, and they are basically serving the same purpose, i.e. a command line environment ...
-1
votes
0answers
56 views

The program 'sed' is currently not installed. You can install it by typing [on hold]

I was trying to create my own program in the /usr/local/bin. During the process I messed something up and now anytime I press enter or type anything in the command line, I get this stupid ...
20
votes
2answers
2k views

How to change the number of workspaces from the command line?

I'd like to change org.compiz.profiles.unity.plugins.core -> hsize and -> vsize from command line. I thought I could use gsettings set org.compiz.profiles.unity.plugins.core vsize 4 but then ...
-1
votes
0answers
27 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
26 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
2answers
56 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
27 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
23 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
0answers
18 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 ...
18
votes
4answers
61k views

How do I move all files from one folder to another using the command line?

I would like to know how could I move all files from a folder to another folder with a command line. Let's say I'm in my Downloads folder and there are a 100 files that I would like to move to my ...
0
votes
2answers
27 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 ...
46
votes
12answers
29k views

Running a .desktop file in the terminal

From what I can gather, .desktop files are shortcuts that allow application's settings to be customized. For instance, I have lots of them in my /usr/share/applications/ folder. If I open that ...
0
votes
0answers
8 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
37 views

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

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 ...
1
vote
1answer
1k views

How can I keep Terminal always on top of other windows?

I want to keep gnome-terminal application on top of all the applications, even when it is unfocused. How can I do so?
1
vote
1answer
32 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
2answers
23 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? [closed]

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?
1
vote
3answers
1k views

Gnome shell hot corner not working

I'm using Ubuntu 11.10 in Virtual Box (windows XP host). So far I have: Installed the gnome-shell Purged the gnome-accessibility-themes Installed the gnome-standard-themes used gnome-tweak-tool to ...
5
votes
2answers
4k views

How to unzip .tgz file using the terminal?

I've downloaded mongodb-linux-x86_64-2.6.3.tgz file using windows 7 and kept it on D:\Amra\Software\Developing Soft location. When I right click this .tgz file using Ubuntu and see property it shows ...
0
votes
2answers
116 views

Is their a toggl command line interface

I am looking for an application to handle toggl (https://www.toggl.com/track#) commands. For instance one could write a bash script that starts and/or stops a task in toggl. Searching the web didn't ...
0
votes
0answers
13 views

What's mean of command? [closed]

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
38 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/ ...
0
votes
1answer
64 views

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

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?
10
votes
3answers
16k views

“No such file or directory” when invoking java

I'm trying to re-install Oracle JDK 7 32 bit to 64 bit Ubuntu (previously 64 bit JDK was installed). JDK is currently present at /usr/lib/jvm/jdk1.7.0. I invoke sudo update-alternatives --remove ...
0
votes
3answers
409 views

Cant install Java on Wand Board Quad running Ubuntu 12.04

I picked up the Wand Board and was curios to see on how well it can perform as a Minecraft Server. So i downloaded the JDK 8 from the official site for ARM and extracted it to my OPT folder, after ...
-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 ...
1
vote
4answers
9k views

What is 'sudo tar -xzf'? Why it is used?

I need to know the extensions of xzf and its usage. Is it necessarily to be used in installing a software? sudo tar -xzf utorrent-server-3.0-ubuntu-10.10-27079.tar.gz Why this is used?
1
vote
2answers
13k views

export http_proxy: where does the proxy setting get stored?

Today by mistake I had entered the following command in terminal with incorrect information export http_proxy="http://usrname:passwrd@host:port" and then my internet connection was having trouble. ...
0
votes
1answer
24 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.
0
votes
1answer
48 views

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

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 ...
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
18 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 ...
4
votes
3answers
6k views

Changing behavior of bash prompt when functioning as root

Before you click away, this isn't the typical "how do I make my bash prompt have color" question. I've already customized my bash prompt to look like this: [user @ host]----[$(pwd)] $ where ...
-1
votes
1answer
28 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
4answers
14k views

I can't install flash player

I tried every version of Flash player for Ubuntu 12.10, but it doesn't work. When attempting to install it, I got this error. Reading package lists... Done Building dependency tree Reading ...