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

learn more… | top users | synonyms (5)

1
vote
0answers
23 views

Ctrl-Alt-t opens root terminal instead of normal terminal

I installed Terminator and made it my default terminal with this solution, but now Ctrl-Alt-t opens Terminator as a root terminal. How do I get it to open Terminator as a normal terminal?
0
votes
0answers
20 views

Unity Tweak Tool: set workspaces with command line [duplicate]

quick question: I want to include a command in a bash script to set the number of vertical workspaces to 1 and horizontal to 8, for Unity Teak Tool. Could you help? Thank you! Please read the ...
10
votes
5answers
40k views

What is the equivalent for switching drives in terminal on Linux?

In DOS, I switch between different drives by typing c:, d:, e: and so forth. But it doesn't work that way in Linux. Could anyone please tell me how to switch between different drives?
106
votes
5answers
453k views

How to delete a non-empty directory in Terminal?

How do I delete the following directory? I typed: rmdir lampp This error comes up: rmdir: failed to remove `lampp': Directory not empty Is there a command to delete all the files in the ...
12
votes
4answers
761 views

ln -s vs mount --bind

I am trying to understand difference between using ln -s and mount --bind. In basic scenario I can use both to access one directory from somewhere else. In what scenarios those two will behave ...
12
votes
3answers
34k views

How do I enable the “Universe” repository from the command line?

How do you use terminal to enable Universe source? Or any those 4 from Software Sources: Main, Universe, Restricted, Multiverse Main is on by default and Restricted is on if durring Ubuntu ...
20
votes
4answers
3k views

Why wouldn't `which` command work for `cd`? Can't find the executable `cd` too!

I tried which cd and it didn't give a path but instead returned the exit code 1 (checked with echo $?). The coreutil cd itself is working, so the executable should be there right? I also ran a find ...
0
votes
0answers
24 views

How can I download a file without using wget? [duplicate]

I have to download an object file in /tmp and rename it in world.o https://github.com/systems-cs-pub-ro/uso/raw/master/tema1/help/hello.o How can I do this thing without using wget?
1
vote
2answers
52 views

How to display disk usage by file type?

Basically I'm wondering where all my disk space is being eaten up on my drive and I would like to be able to analyze by file type For example, I'd like to use the Terminal to see how much space is ...
19
votes
2answers
37k views

How do I change mirrors in Ubuntu Server from regional to main?

I have a Lucid Server (10.04) set up and I would like to change the mirror from US (or any other country) to the Main Ubuntu Mirror. For example my two first entries in sources.list are: deb ...
0
votes
1answer
23 views

screen command “No space left on device”

I got "Cannot make directory '/var/run/screen/S-test': No space left on device" error when creating screen session. As the message saying, there is no space left. My question is: is there a parameter ...
0
votes
0answers
14 views

strange behavior when removing software

This problem started about three weeks ago, after I installed Quagga, a routing software. I configured quagga according to this website's instructions: ...
1
vote
1answer
27 views

Silence GUI Program's Terminal Output

I am running a zsh function to open a .tex file in vim, while opening its related .pdf file in evince. I am currently using xdotool to open a new tab in the current gnome-terminal window, and then ...
0
votes
1answer
25 views

How to effectively find all PDF's on disk and copy to one folder?

I have a removable disk via usb connected to my laptop with Ubuntu. I want to find all PDF's on that additional disk and copy them all to a folder in my home directory. Is there a quick and easy way ...
2
votes
3answers
14k views

Desktop directory not opening

I am completely new to Ubuntu or any distribution of linux altogether. While using the terminal, when i am in the /home/username directory the ls command shows Desktop and Download directories but the ...
14
votes
2answers
3k views

How to enable Arabic support in GNOME terminal?

I'm trying to write Arabic in the terminal app but it does not recognize right-to-left text and does not bind the Arabic letters together as it should. I tried this solution ...
0
votes
0answers
14 views

how to increse the size of partitions on ubuntu via command line [duplicate]

We have a FOG server running on Ubuntu Linux but unfortunately we realized that we need to increase the size of every partition(root, home, boot ...) on this system due to need to more space for FOG ...
1
vote
1answer
32 views

Slap Editor Installation problem, (sudo: npm: command not found) [duplicate]

I'm installing Slap Editor on Ubuntu 14.04 and when I type sudo npm install -g slap its giving me the error sudo: npm: command not found . the node version on my system is 0.10.33 and the npm version ...
1
vote
3answers
131 views

VLC instalation problem (Installing through Terminal)

I am completely new to Ubuntu, wanted to install VLC it wasn't working, updated system, than upgraded it, but still it isn't working. I used both the Ubuntu Software center and the Terminal for that. ...
0
votes
0answers
19 views

Listing japanese directories in command line ftp [closed]

I cannot see Japanese named folders probably when I use "ls" command in terminal, What should I do?
0
votes
3answers
48 views

Is it possible to show the output on terminal while writing the output of a command to a file? [duplicate]

I am running a command say nmap www.somesite.com>file.txt so that i can get the output to file.txt. But if I do so, I am not able to see the output of that command on terminal. Is it possible to ...
4
votes
1answer
96 views

gedit top menu invisible when started from terminal and using x11-Forwarding

Given: I'm using export $(dbus-launch) in my /etc/bash.bashrc file as I'm normally running under a non-admin user and need to su - admin to do anything dangerous. Normal behaviour: Go to dash, open ...
0
votes
1answer
21 views

How to delete backup files using a bash script? [duplicate]

I want to automatically delete the backup files(those ending with ~) from everywhere on my computer. I tried to write a simple script usinglocate command, but I'm stuck at deleting file having space ...
0
votes
1answer
20 views

Playing videos from terminal

I am trying to play videos from terminal using this command vlc my_video.avi The error that I am giving when i try to run this command-- VLC media player 2.1.4 Rincewind (revision ...
3
votes
1answer
7k views

Proxy authentication with terminal Ubuntu 14.04

I would like to access the internet to update files etc. from the terminal on a secured proxy network. I've already tried the following: Adding to /etc/apt/apt.conf, /etc/apt/apt.conf.d/01proxy, ...
-3
votes
0answers
24 views

how to remove element from array on ubonto script [closed]

List Updated: 1. copy /user/sam/Desktop/HWs/. ../backups/ 3s 2. remove /user/sam/Desktop/temp/. 10s 3. check /user/sam/Desktop/contents 1m 4. copy /user/sam/Desktop/hw1.sh ...
3
votes
1answer
119 views

Why does arp take so long to execute?

I'am on a wireless network. On windows, arp -a doesn't take long to complete, but on Ubuntu it takes a very long time?
2
votes
0answers
24 views

Generate thumbnails for text?

I need to generate thumbnails for some text files. Obviously the system somehow has the ability to do exactly this (see the screen shot). Is there any way I can access these images and just copy them ...
0
votes
2answers
41 views

how to using dropbox-cli?

There is a command-line-interface (cli) to run dropbox from the console. Is there any tutorial or guide on how to use it?
139
votes
4answers
26k views

Why did the command “:(){ :|: & };:” make my system lag so badly I had to reboot?

DANGER! Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system. I was in my Virtualbox running 12.04 trying to compile an app, and while ...
1
vote
0answers
21 views

How to change preview image for file from command line? [duplicate]

If I open the properties window for some random file. If I click on the file icon in that window I can select a new preview image (thumbnail) for the file. This preview will be displayed in the file ...
1
vote
1answer
23 views

g++ not working… need to change PATH variable

am working on Ubuntu machine. I have been trying to run make try to compile try.cpp. I am not able to make it work. I have tried all the solutions online. apt-get is what I am using. I have tried ...
0
votes
0answers
17 views

Apache does nothing. No output from: service apache2 status

I reinstalled Apache 2.4.7 on Ubuntu 14, and it not only does not serve web pages, it does nothing at all. My browser says: Firefox can't establish a connection to the server at localhost.tmc.com ...
48
votes
6answers
23k views

What is the terminal command to take a screenshot?

What command(s) can I use in the terminal that's equivalent to the PrtSc (Print Screen) button? I am running Ubuntu gnome.
0
votes
1answer
33 views

how do I resume the terminal, pressed d for details?

I am upgrading my ubuntu 12.10, a question came something like do you want to keep your current version? press n for default, d for details. I pressed d and now I have a screen as follows- --- ...
1
vote
1answer
33 views

Listed folder cannot be deleted

I have a server with an app on it which uses themes (mollify) however after looking at the website this morning no CSS was being displayed so I had a look at the themes as my first port of call. What ...
1
vote
2answers
47 views

Ubuntu Terminal, what is its executable name? [duplicate]

I would like to launch the ubuntu terminal from inside fluxbox (I don't use Unity). However I can't manage to find the command name to launch this application ? What's its name ?
0
votes
0answers
16 views

Movgrab with Ubuntu 14.10?

Is there something that can be used in the command line in terminal to download videos from websites like Movgrab did? Can't downlaod it or install movgrab with Ubuntu 14.10.
0
votes
1answer
32 views

How to access my NAS via the command line using rsync

I have always been accessing my NAS (dlink-343) via the gui in Caja or Nautilus. The connection says smb://dlink-15gtac. How can I access my NAS via the command line if I want to copy files to there, ...
59
votes
6answers
158k views

How can I create a zip archive of a whole directory via terminal without hidden files?

I have a project with lots of hidden folders / files in it. I want to create a zip-archive of it, but in the archive shouldn't be any hidden folders / files. If files in a hidden folder are not ...
2
votes
3answers
60 views

How to install the Jason plugin for jEdit?

I am a newbie in Ubuntu (14.04) so I am very appreciative if you can guide me how to install Jason as a plugin of jEdit. Jason installation homepage. jEdit plugin installation instructions. The ...
61
votes
1answer
36k views

Differences between /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin [duplicate]

I'm running an Ubuntu Server 13.04, but I see the same on a 12.04: I have six directories with command files. These are: /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin What are the ...
1
vote
1answer
27 views

Apache 2 virtual host pointing to index.html

I tried to create a virtual host whitecrm.local by the following procedure: First I created host using sudo vim /etc/hosts 127.0.0.1 localhost 127.0.0.1 whitecrm.local Created a file ...
0
votes
0answers
24 views

After starting Metacity, Unity crashes

I used metacity --display=:0 --replace in the CTRL+ALT+F1 terminal window to try to speed up the incredibly slow Unity, but instead, Unity crashed. Then I tried unity after launching Terminator (by ...
0
votes
0answers
18 views

terminal automatically wrap the output text how can i change setting wrap on to wrap off? [duplicate]

basically at the time of fetching the data from tables that time in the table around 25 column and around 2400 rows available so at the time of show all data some of text are wrap it so not properly ...
0
votes
0answers
40 views

how to authenticate any command outside terminal

I tried to run a php script to monitor my http access ... <?php $handle = popen("tail -f /var/log/apache2/access.log 2>&1", "r"); while(!feof($handle)) { $buffer = fgets($handle); ...
14
votes
5answers
58k views

How to create a bootable Ubuntu USB flash drive from terminal?

Is there any way to create a bootable Ubuntu USB flash drive from the terminal without using any third-party applications like YUMI,Unetbootin, etc. I tried to create a bootable Ubuntu flash drive ...
0
votes
0answers
16 views

Subsetting a font from the command line and turning it into a webfont

I have a few web projects that link into various icon fonts (like FontAwesome and Glyphicons). These are great fonts but they include a lot of glyphs that I never use. ~65KB is a relatively big ...
0
votes
2answers
27 views

Burning a DVD for standalone player in linux

I would like to burn DVD+R for standalone player in Linux from command line Please some one help me in this.
1
vote
2answers
34 views

difference between mkisofs and genisoimage

Is There any changes in mkisofs, Previously for creating iso I have used mkisofs, but now it is taking gensioimage ? With mkisofs my work going good, but genisoimage I am facing problems with ...