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

learn more… | top users | synonyms (4)

3
votes
1answer
929 views

There is no on button showing in gnome shell extension

How to enable gnome shell extension?. When i click on gnome shell extension there is no ON button showing advanced settings --> shell extensions. In a youtube video I saw there is one ON button to ...
4
votes
4answers
754 views

Terminal Emulator with different background color per instance

I often have to keep multiple ssh sessions open in different terminal windows at the same time and I'd like to have a differen background color to help me visualize to which host I'm connected to: ...
2
votes
3answers
754 views

how I can install a package. deb without internet connection in the terminal?

I have no internet connection and I can install the packages. Deb that I downloaded from internet that are older versions but I can not install anything and not as the terminal
0
votes
1answer
292 views

What's the difference between cat /etc/group and cat /etc/group- [duplicate]

Possible Duplicate: What's the difference between the “group” and “group-” file? I just changed a group name and noticed that cat /etc/group Includes the ...
4
votes
2answers
14k views

I want to copy a directory from one place to another via the command line

I want to copy a directory from one place to another folder. sudo cp is the command, but after that what should I type? The destination or source first?
3
votes
2answers
233 views

How to specifiy prompt location in terminal?

I am using GNOME 3.2 and my problem is that while working on terminal my prompt is usually at the bottom of screen. As GNOME notifications keep popping up on new mail, chat or song change, it becomes ...
0
votes
1answer
179 views

Administrator user session only shows a terminal

Weird problem: After upgrading to 11.10 (and I am sure that I worked with it for couple of days). We had a power failure, and now, when open the computer, what I get is a screen, with a scrollable ...
2
votes
1answer
942 views

How can I run emacs in gnome terminal without popup interface?

Just like using emacs on putty. I just transfered to Ubuntu from windows. I also got error message when I tried to open a matlab .m file using emacs. Code: emacs job.m 701 $ emacs job.m Warning: ...
3
votes
1answer
301 views

Ubuntu server terminal?

I installed ubuntu server on my windows 7 computer and can't reboot windows 7. I want know if I accidently formatted my hard drive or if I accidently replaced my OS. How do I download ubuntu from the ...
0
votes
2answers
445 views

x server startx error?

root@thewhitewox:~# startx X.Org X Server 1.7.6 Release Date: 2010-03-17 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.24-29-server i686 Ubuntu Current Operating System: Linux ...
16
votes
7answers
32k views

How to install Chrome browser properly via command line?

Setting up and managing an Ubuntu server all by myself, in coming months, is a part of my current plans. Hence, I am planning a swtich from Windows to Linux - - Ubuntu. I now need to get some grip on ...
1
vote
1answer
113 views

Is there any ncurses archiver interface available?

I am looking for a way to create archives on the commandline with some minimal ASCII interface. Could be for tar, zip or rar files, but should provide miniml ncurses (or other) "fake" graphical ...
8
votes
3answers
59k views

How to restart samba server?

Sorry this is a little embarassing but I'm trying to set up my own server for the first time. I found great tutorial online. http://www.intac.net/build-your-own-server/ I'm stuck at the 2nd to last ...
2
votes
2answers
551 views

How do you find the directory of a command? [duplicate]

Possible Duplicate: Location of file folders of installed programs For example the following are the same # /usr/bin/php updateDatabase.php # php updateDatabase.php But how would I ...
3
votes
2answers
7k views

What is the equivalent terminal command to ipconfig /all?

In windows I can use ipconfig /all and this displays all the info about my connection. In terminal using ifconfig does not and only supplies limited info. I can use network manager, but it would be ...
10
votes
2answers
6k views

How can I hibernate/suspend from the command line and do so at a specific time and a relative time?

Ok,I managed to find out how to suspend/hibernate the system from the command line by reading How can I suspend/hibernate from command line?. However, I would like to know how to use the command line ...
-1
votes
2answers
4k views

I can't run .sh files [closed]

I'd like to play SuperTuxKart 0.7.3 RC 1 and I have to choose the file run_game.sh to do this. But I've got this screen each time : Translation : "Would you like to run "run_game.sh" or show its ...
2
votes
2answers
5k views

What provides curses headers named curses.h?

I need a few header file namely curses.h for text based programming Please tell me how to install these header files.
-1
votes
2answers
407 views

How to replace line with 3 lines / add 2 before found / add 2 before 1 from end [closed]

File is: #Welcome to the file #this is a file and it ends on "exit 0" #Here are unknown number of lines exit 0 Needs to have these lines one after each other: echo deadline > ...
2
votes
2answers
1k views

How to set CLI flags for Google Chrome?

Where can I set CLI flags for Google Chrome on Unity?
6
votes
2answers
5k 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 ...
2
votes
2answers
1k views

How to make terminal transparent while still having its own background image?

Is there a way to give terminal specific background image and make it 50% transparent at the same time?
9
votes
3answers
3k views

How to know my GTK version?

I want to know my GTK version (i am working on Ubuntu 11.10) using a command line or any thing
3
votes
3answers
806 views

Is it possible to check when a folder or a file is created?

I am looking for a way to check when a specific folder and also a specific file were created. Is it possible? My system uses the ext3 file system. Thanks a lot!
0
votes
2answers
1k views

Transparent see-through terminal and windows key

I just upgraded to Ubuntu 11.10 and I'm having a couple of issues that I didn't have with #10. First of all, when the terminal is transparent, it shows the desktop rather than the window behind it. ...
3
votes
3answers
118 views

Why do bad requests take so long?

I noticed this is other OSes as well, but most visibly in Ubuntu Linux. Whenever a good request is made, it is computed practically instantly. However, whenever a bad request is made (a bad password, ...
3
votes
2answers
830 views

How to config hotkeys for switching between consoles in ubuntu

By default switching between consoles is evaluated by keys CTRL+ALT+Fx (1-6) How to change these hotkeys? Is there any config file for doing this?
1
vote
3answers
6k views

How to run a script? [duplicate]

Possible Duplicate: How do I run .sh files in Terminal? I need to install a special patch for vmware. To do this, I downloaded the file and it was the file "linux", a text editor, it looks ...
1
vote
1answer
300 views

My terminal prompt PS1 mixed up

By the way I'm on a Mac OS X but I'm connected to an Ubuntu Server. Yesterday I installed a module for node.js(after a hour I deleted it) which asked me to add something to the .bashrc file and now ...
1
vote
1answer
748 views

How can I access network from terminal? [closed]

So I'm trying to recover from a hugely failed upgrade from 11.04 to 11.10. I can get my system to boot to console but not to desktop. So from the console I'm trying to fix broken packages. But I ...
10
votes
1answer
1k 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 ...
1
vote
3answers
4k views

Command to unmute and maximize volume?

I need to mute/unmute from the command line. I found out that I can do it with: amixer sset Master mute amixer sset Master unmute the problem is that the command for unmute is not working (as ...
2
votes
1answer
539 views

How to load mouse driver/support in text tty terminals (Ctrl+Alt+F[1-6])?

I launch some text mode program (which accepts mouse input, like MC...) in text terminal and want to be able to use my mouse. Is there some command I should enter to enable mouse support in this ...
1
vote
5answers
1k views

How to programatically remove empty new lines from a file?

I need to remove empty new lines from text file in terminal. Example file 123 123 123 123 123 123 I've searched in google a bit but only solution found was sed '/^$/d' myFile > tt and it ...
3
votes
3answers
1k views

How to find text and replace that line if exists with terminal otherwise just append line to end

I want to put in sudo gedit /etc/sysctl.conf the one line vm.swappiness=10 which I sometimes change. By default this line doesnt exist so I use echo "vm.swappiness=10" | sudo tee -a /etc/sysctl.conf. ...
3
votes
1answer
5k views

Modify xfce startup applications

Normally I like it when a terminal window pops up immediately after startup, since I'm a heavy CLI user in linux. However, my preference is to have the terminal maximized, particularly on my laptop, ...
2
votes
2answers
318 views

How to find small non-empty folders?

I would like to find (later delete) all music folders that are nearly empty (Banshee deletes only the music files but not the other files in there). I tried with: find -type d -size -500k \; But ...
2
votes
2answers
4k views

Call a shell script from PHP, run as root

I'm running ubuntu 11.10. I want to be able to call a shell script from php and run that script as root. When my php attempts to call the shell script as root --like this: $output = shell_exec('sudo ...
3
votes
5answers
3k views

Is there a text editor for the command line that uses the same keys as Notepad on Windows?

I'm used to work in Windows environment and are used to the commands in Notepad e.g. CtrlS for save, CtrlC for copy and so on. On Ubuntu it's handy to work directly in the command line, e.g. as with ...
4
votes
0answers
2k views

How to interact with Ubuntu through voice command (mic)? [duplicate]

Possible Duplicate: Voice control over desktop enviornment i want to know how to deal with Ubuntu using voice command (e.g. open home to open my home folder & minimize & maximize), ...
2
votes
1answer
756 views

Resizing partitions on a RAID 0 Array by command line

Oh boy this is a qustion and a half. Simply put when i set up the server it wasn't intended to be used for what it is now, and root (/) has run out of diskspace, while /home has tonnes of the stuff ...
0
votes
2answers
343 views

Execute without ./ prefix

At my school's Linux cluster, its possible to run executables without the ./ prefix. However, on my home machines, I have to do this. I tried adding the code folder to the PATH via export ...
3
votes
3answers
1k views

How to Open terminal and Embed Terminal To Nautilus File Browser?

Never thought I might have to ask THIS, but this is my first linux installation, and I can't find the Terminal. How do I open it? And is there any way to open the bash from the file explorer, ...
1
vote
1answer
244 views

Executing script with terminal via command option

I implemented the answer to this question and now the title bar is gone from the terminal. I found that the python script decorator.py had to execute twice to have the effect applied. Rather than ...
0
votes
1answer
179 views

Why is the cache size half of what it should be as reported by /proc/cpuinfo?

/proc/cpuinfo shows the cache size to be 4MB but the specs on the intel site show the cache to be 8MB. Any ideas as to why? I'm using 32-bit ubuntu 10.04. $ cat /proc/cpuinfo | grep -iE ...
0
votes
1answer
682 views

How do I start Firefox with debug output at the command line?

Firefox is freezing now and again, and I want to know why. I thought I could get some debug output by starting Firefox with the -g option, but it just comes to some kind of prompt and then stops. ...
1
vote
0answers
116 views

How do I “execute” a *.desktop file from a terminal? [duplicate]

Possible Duplicate: Running a .desktop file in the terminal Is this even possible? I fully know I can just copy it to my desktop and double-click it.
3
votes
1answer
140 views

How do I look up man page references with square brackets?

Sometimes man pages contain references to other information pages, for example Everyday Git[1] and gittutorial(7) are referred to in the man page for git. Those with round bracketed numbers refer to ...
0
votes
1answer
865 views

Why doesn't 'w' or 'who' command show all logged in users?

I have Ubuntu 11.10 installed on a laptop shared by multiple members of our family. When I execute the 'w' or 'who' command from a command line, I only see my account even though there are three users ...
0
votes
1answer
239 views

Redirection Doesn't Work

I want to put my program's output into a file. I keyed in the following : ./prog > log 2>&1 But there is nothing in the file "log". I am using the Ubuntu 11.10 and the default shell is ...

1 43 44 45 46 47 65