[SOLVED] What do the various colors in the results of a bash ls signify?
location: linuxquestions.com - date: January 12, 2011
I am at the moment using Ubuntu 10.10 with the default color scheme. If I open a bash terminal and type ls -l / I get the results with most information in white on the standard purple background, most directory names in blue on the normal background, tmp in blue on a green background, a file name in white on the normal background and links in teal on the normal background.
So in this situation I am wanting to figure out what the green background behind tmp signifies. I have searched for information about bash color codes and I find hundreds of links regarding how the CHANGE the colors. I have yet to find one which explains what the colors mean.
Can anyone help?
Ubuntu bash screwed up
- date: May 28, 2013
I'm fiddling with securing an ssh account and I think I might have screwed up my bash settings on my administrator account. I'm using 'user1' (my admin account) to jail 'user2' my ssh sharing account (for ftp sharing within my family).
I followed this tutorial to restrict my user2 account but now when I log in to my user1 account I get this:
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
0 packages can be updated.
0 updates are security updates.
New release 'precise' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Tue May 28 13:40:31 2013 from ~snip~
-bash: getent: command not found
-bash: cut: command not found
-bash: expr: command not found
I am compleltley locked out from running
or any other sudo access.
The error I get is:
-bash: /usr/bin/python: Permission d
bash ls color alias?
location: linuxquestions.com - date: January 15, 2005
It works in root but not as normal user. Have tried to change every bashrc file locate could find, I even tried copying /root/.bashrc to /home/tripmix/.bashrc. Anyone know what I'm doing wrong?
bash: ls: command not found
location: linuxquestions.com - date: October 22, 2004
This is the first time to post my question here.
In Fedora core 2, I got following error when I only logged in as "root".
"-bash: ls: command not found"
I think all bash commands are having problems.
However, the other user ids seem fine for the commands.
How can I fix this problem?
Please help me out!!
I really appreciate it.
Bash, LS, For loops, and whitespaces in directories
location: linuxquestions.com - date: December 16, 2003
Hi everyone. I have a problem that I have been unable to solve. I need to write a bash script that will recurse through a directory structure and write whatever directories names it finds to a file. Below is an example of how I am doing it. I have an embedded for loop structure that recurses to a depth that I need. This example is just a simple version of what I wrote.
What I know:
I know that "for" uses whitespaces as a delimeter and automatically splits up directories that have spaces in them. This is bad. I also know that spaces in directories is bad, but I can't change that. They are apart of an imap mail spool and spaces in the directory names was deemed "necessary" by my boss. I have been told that I should be able to accomplish what I need with a well constructed use of the "find" command and a while statement, but I have been unable to find/create a working model.
The code below works for directories that do not have a whitesp
ubuntu bash error "word too long"
location: ubuntuforums.com - date: February 26, 2009
I got the error message "word too long" in make Make file.
A line "src = ...." have 4000 characters and caused the problem. I searched the internet for this error, but no good suggestion about this issue.
The shell is bash. It looks like it only takes the 3000 characters in one line.
The same script works well on scali-cluster. But ubuntu (8.10) gives the error.
Any solutions for this problem?
Ubuntu bash command equivalent to cygwin "curl"?
location: ubuntuforums.com - date: May 27, 2010
I have a Cygwin script that connects to a web site with the bash command "curl". Phasing out Windows, I need to port everything to Linux. Ubuntu bash doesn't recognize "curl". There has got to be an equivalent. What would it be? Beneath the dashed line the top of the cygwin man page.
And while on the topic of the bash commands available on Ubuntu, where could I find an exhaustive list?
curl(1) Curl Manual curl(1)
curl - transfer a URL
curl [options] [URL...]
curl is a client to get documents/files from or send documents to a
server, using any of the supported protocols (HTTP, HTTPS, FTP, GOPHER,
DICT, TELNET, LDAP or FILE). The command is designed to work without
buggy ls colors
location: linuxquestions.com - date: December 2, 2013
the "ls --color" command does not revert to the default text color after highlighting special files (blue dirs, etc.) - it reverts to white color, which is annoying (i don't use pure white for my terminal)
Here is what I am talking about:
The default "color" becomes white after the first colored word.
Any ideas how to fix it?
PS. just some info for the machine:
Ubuntu 12.04 with Gnome 3. Bash version is 4.2.25(1)-release (x86_64-pc-linux-gnu).
Screenshot is taken from the default gnome terminal.
Debian bash vs. ubuntu bash
location: ubuntuforums.com - date: January 22, 2009
I ran across this issue when I inherited a number of machines from a previous system administrator, and thought I would share what I have learned.
It appears that if one (either manually or through some misconfiguration of apt) installes the debian version of BASH then one might start running into strange issues. bash-completion conflicts with the latest couple of versions of bash from debian repositories, and for some strange (at least to me it is strange) reason .profile has been used as the local environment configuration rather than the common and popular (and default) .bashrc.
So, here is how one detects the cause of these strange shell issues, and deals with them.
First, check your installed version of BASH. Doing what I suggest in this posting will certainly cause no harm, but it is relatively pointless unless one has the debian bash binary instead of the Ubuntu version. (also, when I say version I say it lightly because, as I have already said, I am new to Ubuntu and as s
Kanji in Ubuntu bash 10.04 x86 Minimal
location: ubuntuforums.com - date: October 5, 2011
I need to see kanji on my terminal command, I have now installed this
apt-get install ttf-takao-mincho
apt-get install ttf-takao
apt-get install ttf-dejima-mincho ttf-hanazono ttf-kochi-mincho ttf-vlgothic ttf-mikachan
Added to /etc/apt/sources.list
deb http://archive.ubuntulinux.jp/ubuntu-ja hardy/
apt-get install ubuntu-ja-keyring
rm msmincho.zip -y
fc-cache -f -v
-bash: fc-cache: command not found
came up here, then do not know how to follow?
Page: 1 2 3 4 5 6 7 8 9 10