0
votes
0answers
13 views

How to go in a directory from an archive using the terminal?

Like I use cd to go in a normal directory, how to cd in a directory from an archive and see its content using the terminal? Is this possible?
0
votes
1answer
11 views

Start scheme with 'scheme' instead of 'mit-scheme-x86-64'

I started using Ubuntu to learn how to use terminal and program and stuff. So I found a way to get scheme on my machine because I'm reading Structure and Interpretation of Computer Programs but I have ...
2
votes
1answer
47 views

What commands show pending/scheduled tasks in Terminal?

What commands can I use in Terminal to see pending or scheduled tasks for today or tomorrow. For example how can I detect pending system shutdown?
11
votes
2answers
307 views

How do I reset the colors of my terminal?

Help! Somehow my terminal looks like this: It's nearly impossible to read the text. How can I fix it without exiting the terminal?
6
votes
2answers
126 views

Is there a way to shorten(not remove) the path displayed in the terminal by an alias

I want something like this: "vivek@grishma:~/xxx/yyy/zzz/src$" to be shown as "vivek@grishma:datasource$" where I would somehow have predefined "datasource" to be an alias for the long path above. ...
5
votes
3answers
315 views

Bash - executing commands in current shell

I was reading the O'Reilly book "Unix in a nutshell", and I saw there that commands can be grouped and executed in the current shell using the following format: { cmd1 ; cmd2 } I didn't understand ...
2
votes
1answer
73 views

couldn't open output file: Read-only file system

I just installed Ubuntu. My problem is I am attempting to write a log file to home. I am using logcat from a python module called adb. When I attempt the terminal command adb logcat -f <path> I ...
8
votes
2answers
336 views

How to display the name of file which I am currently editing with vim on terminal title?

I am editing multiple files located in the same folder, in multiple tabs, on a single terminal. pwd(directory in which I am currently working) is displayed on the top of the heading of the terminal, ...
1
vote
3answers
35 views

Terminating the Terminal process for a particular outcome

for example consider the following situation:: I need to print some numbers randomly one after the other with a time interval of 5 seconds between each, and I need to terminate the terminal process ...
0
votes
2answers
48 views

unable to type commands in terminal

I was install mpi and I have given the path for it in the .bashrc and I closed my terminal and after some time again I opened terminal it's showing following error in the very first line followed by ...
10
votes
2answers
1k views

What does the question mark in terminal command mean?

This question (How can I remove gnome from a kubuntu 12.04 install?) have the commands with question markes: sudo apt-get remove --purge ubuntu-desktop sudo apt-get remove --purge unity? sudo ...
4
votes
1answer
98 views

How do I recursively create a folder inside another unexistent folder?

I want to create this folder: $HOME/a/b/c/d while $HOME/a is not created! Is it possible by one line in Terminal?
3
votes
3answers
205 views

Rename files incrementally in a specific directory?

I have a directory containing bunch of .txt files , I need a command to rename these files by one command , so their name will be : file1.txt , file2.txt, file3.txt , etc . Any Help ?
-1
votes
2answers
50 views

How to make gnome terminal to display all the contents of standard output?

I want to display all the ouput of a command in the gnome terminal(not minimum or less output). For example while i run dpkg --get-selections command, it displays only the partital output on ...
0
votes
2answers
33 views

Read file over HTTP in Shell

I want to know if it is possible to read files over HTTP like: $ cat http://example.com/archive/myhouse.txt Is it possible? And is there any extra or better ways to do it? Thanks!
0
votes
1answer
37 views

rvm how turn it on always when we open terminal in ubuntu 13.10

I am new user of 13.10 ubuntu I am facing one problem when want to install rvm, even though it is already install and using it on virtualt box. Problem is that when i start terminal and put to check ...
0
votes
1answer
96 views

How to change terminal theme / behavior?

Like Excel / .Net / Java can terminal also be a user friendly ? In current scenario it's single colour window single font and working with merely zero GUI, limited people who are aware about commands ...
19
votes
5answers
788 views

How to view multiple files in single terminal?

Sometimes I may need to access multiple log files for troubleshooting , but I don't want to open them in different terminals. What I want is to open them in same terminal. Is there any way I can ...
0
votes
1answer
32 views

Default path changed after uninstalling python and reinstalling ubuntu-desktop

I was trying to uninstall python3 from ubuntu 12.04 with the following command: sudo apt-get remove --purge python3* and it just remove many things from system, including the ubuntu-desktop. After ...
1
vote
1answer
23 views

Need help with an script executed in terminal

Can anybody tell me what is wrong in this script? `for i in {1..7}; do for j in {1..5}; $a =$ix630; $y =$jx900; do mogrify -crop $ax$y+675+900 +repage ...
2
votes
1answer
80 views

Drag text from terminal?

Is there anyway I can drag the text out from terminal and release in some other terminal or text file? I am asking for a laptop, where a touchpad is used.
0
votes
1answer
45 views

Do some action when some command is executed!

I want to write a script which can capture every command entered by the user in terminal and then do some things depending upon the command entered: For example: If user enters $> firefox I ...
0
votes
1answer
32 views

Terminal does not return when typing

I know this is weird but out of the blue, today I copied a long command into the terminal and instead of word wrapping as its supposed to, it started overwriting the same line. The command executed ...
0
votes
1answer
39 views

What is the Name of System Settings for terminal [duplicate]

What can I type to launch system settings from the terminal
3
votes
3answers
244 views

How to execute several commands after each other with one request to the terminal (without using a file)?

I could (1) prepare a file with typed commands seperated by end-line, (2) make it executable, (3) run it from a file-system manager or the terminal. But this is ridiculous for not repeatable and ...
0
votes
1answer
252 views

hdiutil: command not found

I want to convert a .iso file to a .img file. So I write: hdiutil convert -format UDRW -o ~/home/antu/target.img ~/home/antu/ubuntu.iso in a terminal window. It shows that: hdiutil: command not ...
0
votes
1answer
27 views

How to activate support for ANSI escape in terminal?

The ri tool of Ruby for the documentation offers the possibility to output ANSI escape sequences, but the terminal has to support it. How is it possible to activate support for ANSI escape sequences ...
2
votes
2answers
240 views

Show recent modified/created files using Terminal

Is there any command to display the recently modified/created files? Which one...?
2
votes
1answer
43 views

Terminal is blank on second user account

This is a weird problem: after moving /home to a new disk, my gnome terminal does not execute any command. It is just blank: It does not contain the usual name@computer:~# I can enter text in it ...
1
vote
2answers
265 views

How to create a new user without home directory and with specific UID

How can I add a new user "Kids" with UID = 500 and without home directory with adduser command in terminal? I'm trying this: sudo adduser --no-create-home --uid ID 500 Kids and after correctly ...
0
votes
0answers
53 views

What is the meaning of output in terminal when I run mysql-workbench

I am running Ubuntu 12.04.3 LTS with mysql workbench version 5.2.38. I am trying to fix this problem mysql-workbench only shows splash screen when being launched When I run $ mysql-workbench I ...
0
votes
1answer
99 views

how to copy and paste a file

i want copy and paste a file name of the file is mkoctfile.m and is currently in this path /usr/share/octave/3.2.4/m/miscellaneous/mkoctfile.m i want to paste it in the following path ...
3
votes
2answers
85 views

Terminal closes after entering a non-existing command

This seems to be a bug, but i'm not sure which package to report it on. Try this: Open gnome-terminal shift-ctrl-t (open a new tab) type: foo foo & The tab is closed Correct behavior would be ...
0
votes
3answers
85 views

How can I change my command line (bash) prompt?

i'm new to ubuntu .presently i'm using ubuntu 12.04 version.I want to know how to change terminal's displaying text. currently my terminal displaying the text.. narasimha@narasimha:~$ how can i ...
0
votes
1answer
107 views

How to open a new Terminal with shell prompt and running multiple commands in Command Line?

I want to Open a new Terminal in from within terminal. It should have Shell prompt as well as already run few commands. How to do it ?
0
votes
1answer
71 views

Trying to issue a command through a Launcher

So I am attempting to get a one click minecraft server. I have all the code, and all the programs, but cannot for the life of me work out why this won't work. So I have a launcher with this as the ...
1
vote
1answer
104 views

Monaco is pixelated in web pages

I installed Monaco font and it looks great in terminal: but it looks ugly in the browsers: How can I fix such a behavior? I would like to see the correct font in web pages too.
0
votes
3answers
316 views

Linux equivalents of Windows / DOS terms [duplicate]

I am trying to adjust to Linux terms after many years of DOS and Windows. I have been wanting to switch from Windows to Linux for years now, but couldn't decide on a flavor. Today I got fed up with ...
4
votes
3answers
2k views

Mac OS X Terminal clone for Ubuntu

I would like to set the Max OS X Terminal theme for Ubuntu Terminal. I really like the fonts and the colors. This is how the Mac Terminal does look: Image source There are few things that I ...
2
votes
2answers
463 views

Remove last three characters from all files in a directory

I have a directory with about 10 files and I want to remove the last three characters from the names of all of these files. Anyone know a terminal command that can do this? And separately, how would ...
2
votes
2answers
2k views

Command to open new tab in the current terminal

Is it possible to open a new tab in the current terminal with some commands?
6
votes
2answers
350 views

Does the terminal store data?

This is something that I have wanted to know for a really long time, but never came around to actually posing a question. I know that in the terminal that is provided in Linux distros, the entire ...
0
votes
1answer
72 views

real-time search in terminal output stream; after running a command

sometimes i want to search specific string in terminal after running a command. for example, i run apt-get upgrade and i see outputs in terminal line by line: Unpacking replacement procps ... ...
0
votes
2answers
142 views

command prompt stuck on same line

Sometimes (rarely) it happens that when I hit enter on a terminal, the command prompt doesn't go to the next line, but it gets printed again on the same line. My work around is to simply close the ...
0
votes
3answers
129 views

Easy way to know all programs and utilities real names from terminal? [duplicate]

Every time I try to get a program from terminal I don't find it because it doesn't match the real name. Example: Disks name in terminal is gnome-disks. So what the easiest way to know all programs ...
1
vote
1answer
63 views

How to change wireless password from text mode?

I searched for other answers and came up with this, How can I change the wireless pasword from the terminal? It uses gksudo, but I want to do it in text mode of Ubuntu. i.e no graphics. I am using ...
0
votes
1answer
284 views

reset or completely remove an installation/htop

I usually use htop in tty when I need to kill a program... or whatever hangs or slows down my pc,now I screwed it up. I tried making changes in htop from the 'setup' option which is accessed by ...
1
vote
1answer
710 views

Error when I open the terminal: `bash: /opt/ros/hydro/setup.bash: No such file or directory`

I've uninstalled ROS with: sudo apt-get purge ros-* Then when I open terminal I get this message. I have no idea how to solve it. P.S. Because of the error I can't install ROS again.
1
vote
2answers
419 views

How to configure up arrow to search the history? [duplicate]

How can I configure the ↑ key to get commands from history? Example: If I type p and press ↑ then it should only show commands in the history starting with "p" like python, php, perl, etc. ...
11
votes
1answer
482 views

Opening a file from terminal only by typing its name

I know that xdg-open will open from terminal a file in the user's preferred application like this: xdg-open filename But I wonder how can I open a file from the current directory in its default ...