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

learn more… | top users | synonyms (5)

0
votes
1answer
8 views

Error when sudo apt-get upgrade

I run Ubuntu 14.04 LTS. When I type sudo apt-get upgrade into the terminal I get this error message. The following packages have unmet dependencies. cups : Depends: libc-bin (>= 2.13) E: Unmet ...
2
votes
4answers
35 views

Replace string with multiline file content

I need to replace string SALT in a file with content of another file. Problem is that the input file has multilines. I tried something like this in my bash script: SALT=`cat salt.txt`; sed ...
0
votes
0answers
10 views

Are there any simple app to sync a folder with google drive?

I have a folder where i save my scripts, netbeans projects i write etc. Im tired of uploading it after every new project or every edits i make. I saw some clients but i dont want to use them. Is ...
1
vote
4answers
40 views

Find and replacement of the numerical part of a particular string with increased value using terminal command

The inputfile is, test00.dat test07.dat test03.dat aram22.dat test09.dat aram09.dat test13.dat I need the output file as test01.dat test08.dat test04.dat aram22.dat test10.dat aram09.dat ...
6
votes
5answers
334 views

Launch nautilus in location navigated to in Terminal

I find it rather hard to travel through my system using nautilus and much prefer using the cd etc commands in Terminal to get around my system, but I find that sometimes I do need to look at a list of ...
31
votes
5answers
44k views

How do I get long command lines to wrap to the next line?

Something I have noticed in Ubuntu for a long time that has been frustrating to me is when I am typing a command at the command line that gets longer (wider) than the terminal width, instead of ...
0
votes
1answer
33 views

Navigate the web with the terminal

I'm trying to learn how to use the terminal, and I want to try sending and receiving data from a common website like Amazon or Google. I want the terminal to enter a string into a website's search ...
0
votes
3answers
41 views

Batch rename, add extra “.” character at position 3 in filename, recursively

I've been struggling to make this work but I am not very good with regex. This is what I tried to do and it didn't work (after 50 minutes, still going on with no visible change): while IFS= read -r ...
-3
votes
1answer
24 views

Move files using shell expansion characters

Working on a review for an upcoming exam in my Linux class. I keep getting this answer wrong and shell expressions are my worst so far in this class. Please weigh in. Here is the problem: Move all ...
0
votes
2answers
33 views

Problem mounting my external hard disk

I'm unable to access any data from my external hard disk, because I can't mount it. namrata@fighter:~$ lsusb Bus 001 Device 003: ID 125f:a31a A-DATA Technology Co., Ltd. Bus 001 Device 001: ID ...
42
votes
6answers
85k views

Browsing the internet from the command line

How can I browse the internet from the command line in Maverick?
2
votes
1answer
18 views

xfce compose key not working in xfce4-terminal

I configured my compose key in /etc/default/keyboard: ~ $ cat /etc/default/keyboard # Check /usr/share/doc/keyboard-configuration/README.Debian for # documentation on what to do after having ...
0
votes
0answers
34 views

Use terminal to run programs scripts a short way [duplicate]

in window I know make this withe the cmd but in ubuntu it's not good I have a question about the Terminal. I want to ask how to call a program in the terminal $ ...
0
votes
0answers
10 views

How would I go about sending a command to a headless Linux device through ssh, closing the connection, and still have the command run? [duplicate]

I have sent a command to my headless Linux device though ssh but I would like to close the ssh connection, and still have the command run. Example: Running this command though ssh "aria2c -i ...
4
votes
1answer
69 views

Display 'cd' accessible path to mtp device in Nemo

Nemo displays path to mtp device like that: mtp://[usb:001,007]/ I want to be able to copy path from Nemo to terminal and cd there. Maybe it's possible even with this path while escaping some ...
0
votes
0answers
8 views

how to open my second HD in terminal? [duplicate]

Would like to move files into my second harddisk, did gparted, please help (/dev/sda) Partition File System Mount Point Size used /dev/sda1 ext4 /hdd ...
1
vote
2answers
84 views

Ubuntu 14.04 : Cannot access internet via terminal

I am able to connect to both wired and wireless networks and able to browse via a browser. So I don't think there's any network issue. However I cannot run any internet based command from my terminal ...
-1
votes
0answers
28 views

How to use the Terminal while X Desktop is running

so... got to Linux Ubuntu 14.10 last Friday (the first time ever using Linux) und now having a very dumb question, I'm afraid of. So... That was a Minimal-Installation which called himself "Standard ...
0
votes
1answer
15 views

Bootable partition

I usually create a bootable live image of a CD on USB devices with this command: sudo dd if=image.iso of=/dev/sdx The problem is that after using this command, I cannot copy additional files on the ...
2
votes
1answer
7k views

Is there a way to force format write protected pendrive

My USB is a Sandisk Cruzer 8 GB drive with USB 2.0. It says it's write protected when I try to format it. Is there a way to force format it ? I try'd some of this ways : varun@varun-pc ~ $ sudo ...
0
votes
0answers
8 views

cannot enable Asterisk Manager Interface (AMI)

How do I enable the AMI for Asterisk? thufir@tleilax:~$ thufir@tleilax:~$ sudo cat /etc/asterisk/manager.conf [sudo] password for thufir: ; ; Asterisk Call Management support ; ; By default ...
0
votes
3answers
33 views

Can't Access Terminal, Menus or Sidebar

I posted a while ago with this problem: 14.10 Upgrade: No access to menus or sidebar, which I cannot find a workaround, especially as I can't access the Terminal via Ctrl Alt T, and none of the ...
1
vote
5answers
327 views

Where is the terminal in Ubuntu Phone?

Just got the BQ and things are good. I just can't find the terminal. Does anyone know how to start it?
0
votes
0answers
24 views

Arduino 1.6.1 installation

I unpacked the Arduino archive. I have jdk, jre installed properly. When I am trying to launch Arduino 1.6.1 IDE I get the following error and I have no idea where to start from to solve it. Any ...
0
votes
1answer
33 views

Packaging bash script with dh-make

I have installed dh-make by installing other packages as recommended by this page which depend on it (I am listing all packages which could have installed it as well because I am not certain which one ...
1
vote
0answers
10 views

Trying to scroll in terminal produces : 64;65;15M65;65;15M65 output instead

When I am trying to scroll up and down in my ubuntu 14.04, my shell outputs this instead of scrolling: 64;38;17M64;38;17M64;38;17M64;38;17M64;38;17M What is going on? How do I fix this?
0
votes
3answers
109 views

How to use 'cut' command for finding temperature using tlp?

I have installed tlp in my system to prevent laptop over heating and i used this code to retrieve currtent cpu temperature. tlp-stat -t the output for above command is something like this: --- ...
14
votes
4answers
35k views

Opening the file browser from terminal

What's the command to open the file browser? I want it so that I can assign a keyboard shortcut to open a specific folder.
0
votes
0answers
23 views

localhost cannot access my newly created folder [duplicate]

I'm using Ubuntu 14.04. I use to copy projects like wordpress and codeigniter and work in them. At the beginning after installing Ubuntu 14.04 I granted all privileges to access the /var/www folder. ...
4
votes
4answers
8k views

No Terminal Library Found when Compiling Vim

I am running Ubuntu 12.04. I'm trying to a get a particular plugin for vim working and it requires that vim has ruby support enabled (the plugin is command-t). People tell me that I must go into my ...
1
vote
0answers
23 views

Ctrl+L on terminal doesn't work anymore

Usually on the command line you could write Ctrl+L and this would clean the command line, but now it doesn't. The command does nothing at all. How can I restore it to the way it was? I'm using Ubuntu ...
-1
votes
0answers
12 views

ubuntu machine had postgresql folder blown away manually

i have a machine where a user deleted their postgresql folder from the command line in an attempt to uninstall postgres. when they go into the Ubuntu Software Center, they are continuously prompted ...
10
votes
5answers
15k views

How to avoid prompt password for sudo?

I know I can go root (super user) via the su command but I have to authorize it after firing the commands. Is there a way I can go root and authorize (with password) in one line
0
votes
2answers
52 views

check status of services and daemons

I installed some services such as ntpdate and reportbug. How I can check their status and start/stop them? These don't work with service commands.
0
votes
2answers
124 views

Open a file at a certain position and read one byte in bash

Since two persons already voted to close this post, I'll try to make the question as clear as possible. A file on a physical device is represented as a binary sequence. That being said, what I need to ...
3
votes
1answer
3k views

How to automate execution of commands in separate terminals?

I am new to LINUX operating system. I am using ROS (Robotic Operating System) where I type few commands in separate terminal windows for doing the setup. ie Before I run my program, I have to do ...
4
votes
2answers
3k views

How do I navigate to folders with spaces in their names? I get “no such file or directory” when I try

I'm completely new and lost in Ubuntu 12.04, I'm having trouble navigating to my Sublime folder which I know is in my /opt folder. Yet I've tried to no avail to navigate into it via Terminal window. ...
0
votes
2answers
2k views

How can I change the wireless pasword from the terminal?

Hello I've recently installed Ubuntu 10.04 and entered a wrong password for my apartment's wireless network. Upon entering the network options to edit the password it will allow me to delete it and ...
2
votes
3answers
133 views

Multiple File Extension Rename with single command

I received some important files via mail. There are about 150 files like these. The extensions of the files are named as zip1,zip2,zip3, zip_ etc. I just want to change the extension of these files ...
0
votes
1answer
116 views

shutdown 5:30pm every day

for a five thirty pm shutdown, should I change this: 30 02 * * * /sbin/shutdown -h now to: 30 17 * * * /sbin/shutdown -h now see also: Crontab Shut down command didn't work
-1
votes
0answers
21 views

Schedule shell script including sqlplus

How to schedule script with sqlplus. When i m running shell script it is working good. But while scheduling it is not working. Nd when creating cronjob for norml folder creation it is working. But ...
0
votes
1answer
24 views

Error when i do ''make'' in cado-nfs map

When I’m in terminal and in the map cado-nfs. Then I do make. It will run for a second or two and then I gives a stops and gives this error: CMake Error at config/python.cmake:32 (message): Did ...
50
votes
13answers
32k 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 ...
3
votes
1answer
15k views

How to make terminal autocomplete when there are several files/directory?

If I have several directories, like: afoo abar sometimes my terminal will refuse autocomplete when I press tab (e.g. "cd a" then tab), and print the list of directories instead. Sometimes it even ...
0
votes
1answer
27 views

How to search ASCII text with Ubuntu Terminal

I have a file in which when I use the file myFile I get returned myFile: ASCII text, with very long lines I then proceeded to open it up as a .txt file and it opens up in notepad as a lot of ip ...
2
votes
3answers
3k views

Gedit embeded terminal showing both background and foreground in white color

I am using Ubuntu 12.04.I am using Gedit with one of the plugin called Embeded Terminal which is used to place the terminal attached at the bottom part of the Gedit.Now my problem is in that embeded ...
1
vote
3answers
179 views

How to see users in alphabetical order?

I want to know how to see the users by alphabetical order when using this command: cut -d: -f1 /etc/passwd I get a list with a lot of names including mine but it's very long. I want to order it ...
0
votes
0answers
15 views

Ubuntu 14.04 desktop disappears suddenly

After I boot my Ubuntu 14.04, it shows desktop successfully. Then I browse internet and open terminal, all work fine. But suddenly, when I try to scroll up or down the browser the desktop blinks and ...
0
votes
0answers
10 views

cheese burst weird errors

When taking pictures in 'burst' mode with cheese I get errors such as these: (cheese:7899): GLib-CRITICAL **: Source ID 348 was not found when attempting to remove it (cheese:7899): GLib-CRITICAL ...
0
votes
1answer
6k views

install virtualbox guest addition terminal

I would like to install Virtualbox guest addition using the terminal. Because that is most easy to reproduce and to document. On the server I have Ubuntu 12.04.2. LTS I have Virtualbox 4.3.16 I have ...