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

learn more… | top users | synonyms (6)

0
votes
0answers
9 views

how to root Freebox server HDD?

I would like to rootmy freebox server (Freebox Revolution v6), in order to enter /and inspect /etc/and more. A matter of pure curiosity. So 2 questions actually : Launching terminal, browsing FS, ...
0
votes
1answer
48 views

shell script executing on remote host

I want to run testcmd.sh on remote host (Testhost) using the following command: ssh test@Testhost 'bash -s' < /test/testcmd But I get the below error : !!!!!Running MASTERCMD!!!!! bash: line ...
0
votes
1answer
20 views

Upgrade from development branch to alpha release [closed]

I am currently on Xubuntu 15.10. The kernel details are: Linux goelpc 3.19.0-22-generic x86_64 GNU/Linux I want to upgrade to the latest alpha build. How can I do it from the command line? Running ...
0
votes
2answers
70 views

why ls command shows the deleted files?

When I type ls in terminal of ubuntu, it shows the file that are present as well as the files that i have deleted? How to see the current files only? Why ls keeps record of deleted files? The ls ...
1
vote
2answers
71 views

How to paste the text selected from gui mode after switching into cli mode?

I have set up ubuntu-14.10 to boot up in text mode (cli) and I start gui with the command sudo service lightdm start then toggle between gui and cli mode with Alt+ctrl+F1 (to get into cli) and Alt Gr ...
0
votes
1answer
24 views

renaming files script error

I wrote code to change the name of bulk of file it should replace spaces with underscores and lowercase all the file name .. this is the code for file in *; do mv "$file" `echo $file | sed -e 's/ ...
1
vote
5answers
61 views

Terminal asks for password but does not let me enter anything (15.04)

Whenever I try to open steam or some other programs, it opens the terminal and asks for my password, but when I try to enter it, it does not type anything and pressing enter just says sorry, try ...
0
votes
1answer
26 views

Changing themes and environment variables :: 14.04 lts

Hey i'm having problems trying to find an editor for the theme color options, particularly pertaining to the field color and text color for general windows. I downloaded the new version of the ...
2
votes
2answers
75 views

Why is my repetition condition with grep range not working?

Searched for a solution on SO, Ask and Unix/Linux but I am lost trying to figure out how to write a conditional with a grep range: Go through: 1-20_something 100-200_something 2-100_something ...
0
votes
1answer
39 views

Confused about how to compile modsecurity module for apache in Ubuntu 14

After I followed the instructions in Building Custom ModSecurity Modules section in modsecurity dev guide in order to compile mod_tfn_reverse.c using the command apxs -ca mod_tfn_reverse.c, I'm still ...
0
votes
1answer
13 views

Continuous logging of a filtered TCP stream

I am trying to log messages from a program "adsbox" that sends text lines on TCP port 30003. These lines are ADS-B messages received from passing airplanes. The rate is a couple of lines per second. ...
0
votes
0answers
19 views

Matlab Installation in Ubuntu 12.04 via terminal

Whenever I try to install Matlab 2014a in my ubuntu 12.04 via termianl then it shows the following error: fixme:heap:HeapSetInformation 0x2c4000 0 0x23fce0 4 fixme:win:RegisterDeviceNotificationA ...
0
votes
0answers
33 views

ElementaryOS Freya Installing RVM and ruby problems [closed]

Hi i have problem installing RVM and Ruby itself with ElementaryOS freya. I have installed RVM but when i try to install ruby running. rvm install 2.2 i get this. Searching for binary rubies, this ...
2
votes
5answers
855 views

Is there any command in Linux which does not make a system call? [on hold]

I was reading about system calls and I got a doubt whether any command runs without making even a single system call. If not then what is the command with minimum number of system calls? I used strace ...
0
votes
0answers
23 views

Make terminal look the same for all users

I know that probably his might be a really dumb question, but I don't know exactly what should I google to make this work the way I want. I have a server with Ubuntu 14.04. The idea is that the only ...
1
vote
1answer
49 views

Script to open terminal in particular directory, in particular workspace, then VIM to a particular file

Bonus: vsplit to another file. ;) I have 9 workspaces, and often have multiple terminals running VIM on different files. The setup is pretty standard for a project—but I have to go about opening ...
0
votes
2answers
23 views

How can I force terminal to always open in a specific desktop, regardless of which one I'm in when I press the shortcut

Basically the title. Using Lubuntu 14.04. Use case: I have two desktops, I'm in #1, I press Ctl Alt T , it opens in Desktop 2. I'm in #2, press Ctl Alt T it opens in Desktop 2.
4
votes
2answers
437 views

What's the difference between + and = when using chmod?

I read everything about chmod, but I don't get something. If I write chmod u=rwx file this "affects" me for all rights on the file, and if I write chmod u+rwx file this "adds" me all the rights on the ...
1
vote
0answers
24 views

DD command to copy broken drive HELP! [closed]

I want to copy the data of a broken hard drive to an other. Arrive to the conclusion: dd if=/dev/disk2 of=/dev/disk3 bs=4k conv=notrunc, noerror but here is the answer: dd: unknown conversion ...
2
votes
1answer
24 views

How to check the default handler for a specific file type in Terminal?

I often come across file types which I am not sure of, but yet need to open, but as I don't know what the default file handler on my system is for that specific file type (and sometimes the file ...
0
votes
0answers
15 views

blinking mouse cursor [on hold]

weeks ago I installed Ubuntu on my brother's computer, the following days he told me than his mouse cursor was blinking and he couldn't use it. I have an idea, there was this unknow screen in the ...
0
votes
4answers
77 views

How to uninstall app from sudo command in the terminal [closed]

Keepass2 has been installing for 6 hours. Im not able to remove app.
0
votes
0answers
19 views

Xilinx ISE in Ubuntu

I recently installed Xilinx ISE 14.7, which works so far, but everytime I bring up a terminal window, now, I get the following lines in the terminal window before my cursor prompt. . ...
0
votes
2answers
34 views

How to install PgAdmin3 version 1.20.0 in Ubuntu 14.04

I try to install using PPA First, I add a link to a file repository source.list directory the /etc/apt/sources.list $ Sudo nano /etc/apt/sources.list deb ...
1
vote
1answer
43 views

How do I run this script with sudo from the command-line? [duplicate]

I have the following script in my user's bin directory; let's pretend the filename is 'myScript': #!/bin/bash python3 /myPath/myProgram.py "$@" From the commandline, if I type myScript, it ...
0
votes
0answers
22 views

rc.local commands execution

The general idea is: I have developed a script.sh (in java) that take a value from a .txt where a python code is saving data from a sensor, (with a specific range of time). This value is up to the ...
2
votes
1answer
220 views

Where's my phone mounted to browse it from shell? [duplicate]

I have connected a smartphone and would like to copy some file onto it using midnight commander. I've found out that the mount point is mtp://[usb:002,004]/Card/ however when I try to run cd ...
0
votes
0answers
33 views

Different terminal color for local and ssh (ALL ssh connections) [duplicate]

I want to use different colors for gnome terminal when I (1) work local on my computer (for example, green font) and (2) remote by ssh (using ssh keys) (for example, red font). I found many answers, ...
0
votes
1answer
24 views

how to export folder specific environment variables?

I have two projects on my computer that require JAVA_HOME to point to jdk7 and 8 respectively. Right now I'm working around this by having 2 files in my home folder that i source to set JAVA_HOME ...
0
votes
1answer
32 views

12 Hour Time Instead Of 24 in linux [duplicate]

I want to set my linux machine box 12 hours format,how to set it ,please advise I am able to display with #date +%r,but wanted to set it permanently
2
votes
2answers
65 views

How to embed a terminal into the desktop on Ubuntu?

I'm pretty new on Linux, so sorry if it's dumb, but is there a way to embed the terminal into my desktop? And btw, if the anwser is yes, can I embed another terminal on the side who only shows my ...
0
votes
1answer
32 views

How to change file text content only with Shell Script commands?

In a file, there is: sd5_crypt UUID=1337 none luks,discard I'd like to change it to: sd5_crypt UUID=1337 /dev/disk/by-label/MON_LABEL_ICI:/keyfile luks,keyscript=/lib/cryptsetup/scripts/passdev ...
0
votes
1answer
35 views

How to write a shell script to start gedit and not showing the terminal window? [closed]

How to write a shell script to start gedit and not showing the terminal window? That means: when I click the file runme.sh, only gedit window shows, no terminal window shows. Just like I click the ...
0
votes
2answers
34 views

Problem extracting tar file

I have tried the command : tar -xjvf FileZilla_3.7.1.1_*-linux-gnu.tar.bz2 After Giving this command getting these errors : tar (child): FileZilla_3.7.1.1_*-linux-gnu.tar.bz2: Cannot open: No ...
0
votes
0answers
14 views

How to convert h5 file to image?? h5topng not working?

i tried h5topng to convert h5 file to png in meep but the command is giving error. how to correct this and is there any other command to convert h5 to image? meep> h5topng -S3 eps-000000.00.h5 ...
0
votes
1answer
18 views

How to add more Languages\Voices to `Espeak`?

I've installed Espeak and tried this & this. But still I need more ! How to get Indian Languages\Voices as well as other languages like French, German,UK-English,etc.,? I tried to change the ...
0
votes
1answer
38 views

Is it possible to have a unique theme for Vim in Ubuntu Server

I recently started managing my own Ubuntu Server and I'm constantly using Vim to edit my files and I was wondering if it was possible to install a them to use overtime I login to my server? The ...
1
vote
2answers
25 views

Unable to exit TUIs due to F10 opening the File pull-down menu instead of quitting the program as meant to

I use applications such as Midnight Commander, and htop, however I have a problem when quitting, I am forced to either terminate the process, or to click on the quit button myself, if there is one, ...
0
votes
0answers
15 views

Command to move something to the wastebasket but not delete immediately [duplicate]

I know I can use the rm command in Terminal to delete something, but is there a more mild command which would move a file properly to the wastebasket as right-clicking on the file in a File Manager ...
1
vote
2answers
74 views

The foreground color changes after `ls` command

I change shell's foreground color with echo -ne '\e[1;31m' command but when I execute ls command the foreground color reverts back to the original previous color. This weird behavior doesn't occur ...
0
votes
3answers
37 views

Issue with folder permission [closed]

I created a bunch of files using the terminal. The file was assigned to the root and I am not able to edit them. Help! What am I missing? New to Ubuntu.
1
vote
1answer
21 views

Unity / gnome-terminal passing control keys

I'm trying to get a setup with GNU screen in gnome terminal that I'm happy with (emacs user). I really like having Ctrl+^ as my GNU screen command key (as it doesn't interfere with any emacs key ...
0
votes
1answer
33 views

Problems with unzipping openfire_3_10_2.tar.gz

While installing openfire got an error with unzipping the downloaded file that gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now When checking ...
0
votes
1answer
45 views

how to configure terminal in a text boot?

I use tmux in xterm and gnome-terminal.Configuring gnome-terminal's background and foreground is not an issue as it can be easily done through gui itself.Few things to mention: I can configure ...
0
votes
1answer
30 views

Cannot open gnome-terminal preferences window

After upgrading to Ubuntu 15.04, I can no longer access gnome-terminal preferences from edit > profile preferences. Things I have tried to no avail: Switching to another profile using terminal ...
3
votes
2answers
40 views

Why is my default shell from /etc/passwd not started by terminals in a Unity session?

I'm trying to set fish as my default shell. It's installed on the system through apt-get and is listed in /etc/shells: > which fish /usr/bin/fish > grep fish /etc/shells /usr/bin/fish I used ...
1
vote
0answers
43 views

Why is my shell slow after a while when I use git aware prompt and run git commands?

I am using git-aware-prompt in my .bash_profile on Ubuntu 15.4 like this: export GITAWAREPROMPT=~/.bash/git-aware-prompt source $GITAWAREPROMPT/main.sh When I am in one of my main repository ...
1
vote
1answer
43 views

Schedule shell script to display output in terminal

I have added a shell backup script to crontab, and it seems to run every night, but I currently need to check the target to see that it's worked. What would be much more helpful would be for the task ...
1
vote
0answers
18 views

Testing post-install scripts

I love to experiment with my Ubuntu GNOME 14.04, so there are many mistakes to be made and things to learn. Often I want a clean install, so I made post-install script. Question is: what is the best ...
8
votes
2answers
708 views

Why can I see the output of background processes?

For example, when I type ping 8.8.8.8 &, why can we see ping process working? And when I type find / -name '*test*' & , it's also seen on monitor. Why is that? Is it not really in background? ...