Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1. is there a way to prohibit a program from writing data on the hdd?
2. can i have different icons on each gnome workspace and how?
3. how to untar to current directory?
"tar -xvvf blablah.tar.gz" does not work
"tar -xvvf blabla.tar.gz -C ./" does not work
in both cases, the files go into some strange random locations.
4. how can i change the way colors are displayed for different content in the xfce terminal? I used to have red for archives, blue for dirs etc. in kde, but lost all that after changing to gnome.
1. is there a way to prohibit a program from writing data on the hdd?
2. can i have different icons on each gnome workspace and how?
3. how to untar to current directory?
"tar -xvvf blablah.tar.gz" does not work
"tar -xvvf blabla.tar.gz -C ./" does not work
in both cases, the files go into some strange random locations.
4. how can i change the way colors are displayed for different content in the xfce terminal? I used to have red for archives, blue for dirs etc. in kde, but lost all that after changing to gnome.
You really should put unrelated questions in their own threads (with descriptive titles).
Regarding 1., you could mount the relevant partition read-only, but presumably that would cause some problems. Can you explain why you need to do this?
Terminal text colors are program dependent. For the ls command, you use ls --color.
actually, I'm using the exact same program as I used before only now it has no colors. With --color I get some colors, but not the same set I used before. Is there any place where I can edit how the colors are displayed?
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Aliases
Quote:
Originally Posted by gujedan
actually, I'm using the exact same program as I used before only now it has no colors. With --color I get some colors, but not the same set I used before. Is there any place where I can edit how the colors are displayed?
Linux distros and desktops always use some aliases. You can look at the man page for alias which is a command to create aliases. Then, when you run a command it will use the alias instead.
Example: make ls and alias for ls --color. Now, when you type ls it will execute the alias, ls --color. The terminal itself does not know file types, much less does it know how to make certain types one color and other types another color.
alias is a bash builtin so has no man page. help alias gives the bash builtin equivalent of a man page but does not give as much as the bash man page which includes the great sentence "The rules concerning the definition and use of aliases are somewhat confusing".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.