Questions tagged [terminal]
A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, also referred to as a "system console".
4,914
questions
1
vote
1
answer
7k
views
How to reset Mate-Terminal default-profile-settings?
While setting up an old laptop with Mint for a friend, I(being a bit cheeky and smart) ticked the "Run a custom command instead of my shell", The custom command being; echo and some rather rude text. ...
1
vote
0
answers
24
views
System stops running
I'm using Debian (3.2.63-2+deb7u2 x86_64) as a base to run extremely time consuming calculations. My problem is that, after some time of working (several weeks), and even using a small load of ...
2
votes
1
answer
4k
views
Explain permission symbols, from “ls -alt”
I'm just looking at the permissions on some of my folders through the terminal, and I don't quite know what they mean.
iMac:~ me$ ls -alt
total 40
drwx------ 4 me staff 136 10 Oct 06:17 .Trash
...
14
votes
2
answers
18k
views
Linux date command not working
I can't seem to get the terminal command 'date' working. Here is an example of the commands I gave in terminal:
$ date
Wed Oct 7 17:17:38 EDT 2015
$ sudo date --set="20151007 18:17:00"
Wed Oct 7 18:...
12
votes
3
answers
6k
views
OS-X terminal behaves oddly after running Python interactively
After running a python repl (2.7.10) in the os-x terminal and exiting, the terminal no longer echos typed input and some other strange things happen. If I run python again and exit(), then the ...
1
vote
1
answer
203
views
Tmux not working in Xterm on Debian Stable
I'm trying to use tmux on my computer and it runs perfectly as root, but I'd rather run it under my own account. When I run it with my account, I get a variety of error messages that include "Cannot ...
4
votes
1
answer
3k
views
In iTerm2 how can I automatically connect to an existing tmux session using -CC?
I've found using iTerm2 and tmux -CC to be quite helpful tying the existing iTerm UI with tmux windows & panes.
I'm trying to figure out how to automatically attach to an existing session at ...
5
votes
1
answer
7k
views
How to prevent "iptools ss" from soft-wrapping long lines on stdout?
I'm far used to the output of netstat -taulpen, and although I don't know what all the flags do specifically, it gives a nice readable table of networking programs, and when run as sudo can show all ...
1
vote
1
answer
859
views
Prevent custom command to run at terminal startup
I am on Debian Jessie with Mate (v1.8.1) desktop environment.
I have installed byobu and wanted to launch it every time I open a terminal so I went into the profile preferences, checked Run a custom ...
3
votes
2
answers
1k
views
Permission denied message everytime I start the Terminal
Everytime I start my Terminal I get this error message:
-bash: /Users/myusername/.profile: Permission denied
I still can use the Terminal as usual though.
It probably came after I installed ...
21
votes
3
answers
154k
views
How can I write space in Terminal on OS X?
I have a folder name with a space between words. I tried to use cd to move into that folder but it didn't work. How can I write space in Terminal on OS X? I tried following
MacBook-Pro:TestDrop ...
-3
votes
1
answer
2k
views
Couldn't remove a directory, already tried rmdir -rf
I kept on trying to remove a folder in the server, but I kept on getting a same error. Please help me. I used this post as a reference
https://askubuntu.com/questions/217893/how-to-delete-a-non-...
0
votes
1
answer
779
views
Is Homebrew's 'install' warning an error?
When using the brew install foo command with foo already installed returns
Warning: foo-3.5.2 already installed
Is this technically an error, like stderr, or is this message simply stdout? It is not ...
1
vote
1
answer
312
views
How can I change the color of only the command I type, and not the output following it?
export PS1='\[\033[1;31m\]\u\[\033[0m\]:\[\033[4;31m\]\W\[\033[0m\] \[\033[0;33m\]\$'
This is what my prompt looks like at the moment. However, this paints everything after the $ in yellow too. I ...
0
votes
1
answer
833
views
bash tab completion not working in graphical shells
I have a fresh install of xubuntu 14.04 with xrdp installed.
tab completion works when logged in via ssh
tab completion doesn't work when using any graphical shell (terminal, xterm, ...)
/usr/share/...
4
votes
1
answer
3k
views
Silence Evince's warnings in Ubuntu
I'm getting loads of Evince warnings when running it from the terminal. E.g.
(evince:4599): GVFS-WARNING **: can't init metadata tree /home/nivaca/.local/share/gvfs-metadata/home: open: Permission ...
2
votes
1
answer
219
views
Are changes to El Capitan's SIP configuration file persistent?
If you toggle System Integrity Protection off to tweak some things, unload daemons, delete apps, etc., will those changes survive toggling SIP back on and re-launching the machine, or will the changes ...
4
votes
2
answers
633
views
Sync Desktop with Dropbox - Symlink
I tend to work almost entirely off of my desktop, and I'm attempting to simplify my workflow. I want to sync my Desktop between my Work iMac and my Mac Mini at home.
I've sucessfully synced my Home ...
-1
votes
1
answer
247
views
how can i clear the previous dependency check in debian terminal
i was trying to install few tools under my debian-linux but whenever i tried to install new one with dependency it remembers the old one
Background :
Yesterday i tried to install master pdf editor ...
1
vote
2
answers
2k
views
Does it matter how many spaces exist in terminal commands?
For those of us humans trying to learn terminal languages and codes, does it matter how many spaces are or are not included in the commands and scripts of various languages? For instance, is there any ...
-1
votes
1
answer
120
views
Workflow using Run Command Shell
I am trying run an rysnc command to syncronise some files and folder through workflow but i can not run this command if i am logged in as a non-admin user. Can someone please advise a command which ...
1
vote
1
answer
147
views
Changing terminal colors
I log into my server remotely, and use VIM to edit files. Using the noctu colorscheme, VIM uses the available default 8 system colors and their light/bold variants, 16 colors total.
For whatever ...
25
votes
5
answers
42k
views
Strange output from terminal `exit` command is this a virus?
I don't think that I have seen this before, but whenever I run exit in terminal I get a very strange output.
This is what it looks like:
logout
Saving session...
...copying shared history...
......
106
votes
3
answers
27k
views
Previous commands wrapped with square brackets in OS X Terminal
Yesterday my terminal started surrounding commands that had been run with square brackets. I'm not sure how I've turned this on, but would like to turn it off.
Example:
So far, I've done:
Checked ...
0
votes
0
answers
42
views
dir, clear, amongst other commands close terminal and ssh connection
I'm connected to my server using ssh. I was trying some things and copy pasted exactly http://127.0.0.1/folder/script.php to the terminal. After pressing enter, it closed the ssh. After logging in ...
1
vote
1
answer
28k
views
Uninstall git on linux, fedora
I installed git using
sudo yum install git
I believe git is corrupted in some manner, when I try to clone a repository from github it asks for my bitbucket password and the clone isn't a clone. I ...
1
vote
1
answer
55
views
Pruning the Find command
I have the following command I run to grab all users in /Users minus any admin account, guest, shared or beginning with a "."
find /Users -type d -maxdepth 1 -mindepth 1 ! -name admin ! -name Shared ...
2
votes
1
answer
1k
views
How to access internet on my firefox through ssh remote?
Alright, I'm completely blank into this weird world.
Let's say, I can access a ssh remote server(A server which has no GUI and no monitor but have internet connection) using terminal in ubuntu(Which ...
1
vote
1
answer
1k
views
Using `top` to output only the running processes, PIDs and users?
I'd like to run top -n 1 so that it only outputs a list of running processes, their PIDs and the user that has run them (the "COMMAND", "PID" and "USER" columns).
I don't need any of the other ...
2
votes
1
answer
245
views
How to quit reverse-i-search without moving the cursor?
In Bash, I often encounter below situation when doing reverse-i-search (using emacs keybinding in Bash):
(reverse-i-search:ccc) aaa bbb |ccc ddd
I am in the middle of reverse-i-search for 'ccc', and ...
5
votes
3
answers
2k
views
show man pages in terminal without a pager
man defaults to using a pager. For short pages, I want to just echo them to the terminal without paging. I'm on OS X. Things I've tried:
man -t man #produces PostScript output
man ...
0
votes
1
answer
316
views
Using “tr” command hides the working directory
When I run the tr command in terminal as
tr -d text
My cursor performs a carriage return but the working directory line disappears. I cannot run commands afterwards unless I ctrl+c. What is ...
2
votes
2
answers
11k
views
Remove carriage returns in text file via the Terminal in Mac OS X 10.10 (Yosemite)
I’m trying to replace all carriage returns with a comma in a text file but I must be using the sed command improperly.
Since I can echo -e "\x0D"and yield the carriage return I tried sed -e 's/open/'$...
1
vote
1
answer
1k
views
Mac OS X Terminal and iTerm2 cannot type '.' or '/'
As the title says, I'm unable to type the characters . and / in terminal. Shift+. results in > and Shift+/results in ?, which means the keys actually work.
How can I fix this?
0
votes
1
answer
498
views
Mac OS X Terminal is not sourcing the resource file until the Terminal is closed and restarted?
Can somebody explain how the terminal is sourced in Mac OS X please. I have been having to turn it off and on all day for changes to take effect when editing shell files.
Yes this is also a problem ...
2
votes
3
answers
10k
views
How can I get back to last used directory in a Linux shell?
How can I get back to the last directory used on a Linux shell?
For example: I open a new shell (or a log in a different console shell) and I write :
root@vignesh : cd /root/Desktop
This will ...
2
votes
1
answer
2k
views
How to get the Default browser name in mac osX using a bash script
I am trying to write a script that finds If the default browser is chrome.
In which file can I find store this information?
0
votes
1
answer
2k
views
Running command on Android from host
In order to optimize my work, I want to run commands from my host machine terminal. For example:
adb shell sh /data/local/tmp/check_freq.sh
The above command runs fine, but some of the commands need ...
2
votes
1
answer
591
views
Tmux: How to join 4 sessions into 4 horizontally panes
If I have four sessions called PP1, PP2, PP3, and PP4, how would I join them so that they would look something like this:
-----------------
| | | | |
|PP1|PP2|PP3|PP4|
| | | | |
------...
1
vote
1
answer
5k
views
How to reset the terminal emulator from tmux?
I want to "clear" the tmux pane completely. When I do something like
bind-key C send-keys "clear && tmux clear-history" \; send-keys "Enter"
suggested in https://stackoverflow.com/...
0
votes
1
answer
636
views
OS X writing on NTFS filesystem: files disappeared after ls -l@
I have an NTFS hard drive that I have written files to after following the instructions here to allow for writing to NTFS. I noticed that if I write files to NTFS, after disconnecting the drive and ...
6
votes
1
answer
7k
views
How to check IP conflicts in Linux terminal
Is it there any way to check whether my IP gets conflicted with any other IP at my network?
I'm using Debian system. What are the effective ways or any command to test the network?
1
vote
0
answers
139
views
unxutils zsh on wide terminal
I'm usually working on linux, but am now forced to use windows (xp). In search of a usable shell, I installed unxutils. They provide a zsh and when used with the default setup it works nicely.
But ...
1
vote
1
answer
444
views
How open URL in first time without log in on the Terminal
I want to open a URL (for examplewww.google.com) from the terminal (SSH with PuTTY) on Raspbian on my Raspberry Pi.
I must first log into Kerio control webpage (https://168.19...../) then access the ...
11
votes
3
answers
5k
views
Jumping to previous prompt in terminal
In a terminal, are there any shortcuts to jump to a previous/next prompt? Scrolling up and trying to find the start of a log slows down my workflow.
I'm using iTerm on OSX, but this should be ...
7
votes
2
answers
8k
views
Can't use python in interactive mode on new msys-git terminal?
I recently upgraded my laptop, which ran a 32-bit Win7, and my new laptop runs a 64-bit Win7 installation.
I am installing git 2.5.1 from git-scm.com, and the latest python versions (both 3.4.3 and 2....
1
vote
3
answers
4k
views
How to list only files of a certain type in terminal?
How I can list all files of a certain type in a directory?
For example, if I want to see all MP3 files in the current folder, what do I do?
0
votes
1
answer
2k
views
Mouse pointer disappears when moving over the Virtualbox guest terminal? Why?
When I move the mouse pointer over the windows it disappears from that windows? What if I need to copy dome text from the guest terminal?
Also, I cannot Use the menu key in the guest terminal in order ...
1
vote
0
answers
692
views
How can I import my Ubuntu terminal's color scheme for a different computers?
I did a reinstall on my computer presently, and I want to restore my previous terminal settings. While exporting my settings, I ran the command
gconftool-2 --dump '/apps/gnome-terminal' > gnome-...
1
vote
1
answer
690
views
256color terminal flickering in Konsole
I'm trying to setup 256 color mode at work for my Vim setup and it just refuses to work correctly. I'm using Konsole as my terminal emulator and my shell type is tcsh. I found a perl script named ...