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

learn more… | top users | synonyms (5)

0
votes
2answers
9 views

Can i make the commad execute in background without giving any output?

Is there away or an option to make the a command line run in the background without the need to wait for it to end to get the prompt back (just like mplayer command to play a music file in the ...
0
votes
1answer
5 views

Why output redirection is not working with the mplayer command?

The mplayer command is used to play a media file in terminal or a shell script and i gives some controls over it like move forward, backward in the file, etc. Sometimes i find it annoying so i want it ...
1
vote
2answers
21 views

Can i edit a bash shell command?

I just wants to modify a bash shell command like exit so when i write exit in the terminal it clears the screen, and echo some text, wait 2 seconds, then execute the exit function. So is there any way ...
0
votes
0answers
6 views

Open in Terminal context menu only opens terminal in home directory

Been testing out Ubuntu 15.04 on my laptop. I noticed that right click menu (when right clicked on desktop or in the file manager) has open in terminal. But when I choose, not matter what directory I ...
0
votes
0answers
3 views

Nautilus “Open in remote terminal” over sftp assumes wrong username in Ubuntu 14.04

I use the “nautilus-open-terminal” to open the terminal in the current folder in nautilus. This worked great in Ubuntu 12.04. However, after upgrading to 13.04, I am unable to open the terminal over ...
0
votes
0answers
7 views

localhost cannot access new folders

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

How to find out if Laptop is HDMI-CEC capable?

Is there a command line utility that displays all the capabilities in the graphic card and shows information about CEC functionality in my laptop?
1
vote
2answers
16 views

How do I find the path to the 32bit version of java on 64bit Linux?

I've installed a 32 bit version of java on my 64bit system to get Juniper VPN to work. What command line command will allow me to find the path to the 32 bit version of java?
0
votes
0answers
11 views

can't uninstall unotelly - dns problem

Hi I have installed unotelly using these suggested procedure: Terminal Method 1 - Easy Way using our Preconfigured File: Open Terminal Enter wget www.unotelly.com/downloads/resolv.conf.ubuntu Enter ...
0
votes
1answer
16 views

python 2.7 is still default though alias python=python3.4 is set

I have set alias python=python3.4. but still when I write python in terminal it executes as version 2.7. python3.4 only works in the terminal window where alias python=python3.4 is set. Please ...
0
votes
1answer
15 views

Can't use npm installed packages from command line

I installed node.js and npm recently and was trying to install the learnyounode npm package using sudo npm install -g learnyounode, but after installing I am not able to access it from command line. ...
1
vote
1answer
18 views

How to filter out links from html using grep or sed?

I am trying to filter the links related to the src attribute from the html of a web page. I used curl to get the html and below sed command to filter the url links. curl -s http://www.example.com/ ...
0
votes
2answers
25 views

Create a dir on scratch with same name as in pwd directory

HI I try to simplify my problem, I'm trying to write a bash script, which can take the actual directory name (just like you get by statement "basename" ) and create a same directory on scratch. ...
0
votes
1answer
22 views

Can't install program using terminal

I got this problem when I trying to install java and netbeans package and internet download manager softwares. I download these files from their websites And try to use command chmod +x ...
1
vote
2answers
30 views

adjust brightness without reboot and in console?

When I switch to a console by Ctrl-Alt-F1, the screen becomes darker than in Ctrl-Alt-F7. So I wonder how to adjust brightness in command line without reboot? My Ubuntu is 14.04 on Thinkpad T400 ...
0
votes
0answers
10 views

Steam Terminal Packages Not Loading

I'm loving that Steam now has 700+ games on Linux, and downloaded Ubuntu 14.04 and am now really trying to switch to this as much as I can, away from Windows (except for a few games like League, Elite ...
2
votes
3answers
56 views

How to auto-complete commands by typing first letter?

In the terminal, how can I show history while typing? Is this possible? what is the library that I have to install? I think this will boost my productivity while using the terminal, currently I ...
1
vote
3answers
34 views

How to add executable bash script on ubuntu startup

I have created a executable bash script (using chmod +x) for monitoring my system and it works perfectly with out any error. Now i want to add this script on my start up in order to executing the ...
5
votes
3answers
123 views

Use Terminal after opening process [duplicate]

I am new to Linux and using Terminal. If I open an application within terminal, I noticed that it renders my terminal session to be unusable and I can't enter any more commands.The Terminal session is ...
1
vote
2answers
31 views

.sh ffmpeg works manually, not with CRON

I make a movie from jpeg pictures with the script: #create movie ffmpeg -i /home/philippe/Dropbox/Public/Cheiron/day/%d.jpg -r 25 -q:a 5 -pix_fmt yuv420p ...
0
votes
3answers
43 views

append .mp3 at end of every file in a folder [duplicate]

I have a folder with multiple files in it, and I want to append .mp3 extension at end of each file. is there any way to rename all these files with one command.?
2
votes
2answers
55 views

How to delete all lines before and after the specific strings in the file?

I have played with Powergrep and regular expressions but I don't know how to do that: I have the text file (source code of webpage) and I want to delete all text (a lot of lines) before the specific ...
0
votes
0answers
21 views

sed error Bash script

So here's the deal I'm trying to do some auto editing of a file with sed in a bash script. Here's my code: systemdate=$(date) sudo mkdir "/tmp/autoupdate" sudo echo "$systemdate" > ...
0
votes
1answer
19 views

How to execute a script from trusted shell

I am new to Linux. I have copied the bash program from bin to a thumb drive. I have renamed it to "ebash". Now I connect this thumb drive to other Linux machine. I have mounted this drive and ...
0
votes
1answer
24 views

Change name in terminal to something shorter

So on every line in terminal, it leads with something like this: bs7280@bs7280-Lenovo-IdeaPad-U530-Touch:~/path/to/dir$ is there a way to make this shorter, without all of the useless text out ...
0
votes
1answer
34 views

How to monitor battery condition and pop-up notification?

Essentially, I would like this comment into a working answer. I know how to extract the battery percentage from How to check battery status using terminal?: upower -i $(upower -e | grep BAT) | ...
0
votes
0answers
10 views

PC doesn't go into sleep mode

laptop doesn't goes into sleep into as it is pretty irritating to make it shutdown and power-on situation for let the PC be on power saving mode for sometime can anybody help. samsung-NP300E5X-S02IN ...
2
votes
1answer
28 views

Join two files keeping the element order of one of them

I have two files File1 03873 03872 03871 03870 ...... File2 00001 0.867 00002 0.855 00003 0.864 00004 0.855 ... 03870 0.825 03871 0.852 03872 0.326 03873 0.852 I want to ...
1
vote
0answers
41 views

Achieve manager like view of compressed files in Terminal [duplicate]

If I can, I will avoid using the GUI to get around my system, and recently what I have found very annoying is that I seem unable to view the contents and open the contents of a compressed file without ...
1
vote
1answer
58 views

Error with sudo apt-get -f install (ldconfig not found)

I am using 14.04 LTS. When I type sudo apt-get -f install into the terminal I get this error: Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. Use of ...
0
votes
3answers
35 views

Need clarity on output of ls -l command

Need help to understand the output of ls -l command. I created one file testa in my home directory. When I run the ls -l command it shows up with two similar names. What does the symbol (~) mean with ...
1
vote
1answer
24 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
1answer
48 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 ...
3
votes
4answers
48 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 ...
3
votes
4answers
61 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 ...
0
votes
2answers
54 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 ...
-3
votes
0answers
26 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
3answers
50 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 ...
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 ...
9
votes
5answers
464 views

Launch nautilus in location navigated to in Terminal [duplicate]

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 ...
0
votes
0answers
51 views

Use terminal to run programs scripts a short and practice 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
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
votes
0answers
29 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 ...
1
vote
2answers
92 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 ...
0
votes
0answers
11 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
0answers
42 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
16 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 ...
0
votes
3answers
34 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 ...
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?