Alias – saját parancsok, sajátos névvel


A rendszeres Linux felhasználók nagyon gyorsan és hatékonyan tudnak „varázsolni” a parancssorral. Ez nem valami emberfeletti képesség, hanem sok gyakorlás és némi varázsszavak ismerete teszi lehetővé. Az egyik ilyen varázsszó az alias.

Mire is jó az alias?
Amikor hosszabb parancsokat használunk többször is, kezd bosszantóvá válni, hogy ugyanazt kel megismételni. Ilyenkor nagyon jó segítség számunkra az alias, ugyanis ezzel a megoldással saját egyedi parancsokat hozhatunk létre, vagy hosszú parancsokat rövidíthetünk meg. Egyik gyakori példa a ls –alF amit Ubuntu alatt az ll paranccsal kapunk.
Nézzük meg milyen alias-ok vannak már beállítva a rendszerünkbe.


Paraméterek nélkül kilistázza a beállított alias-okat

Nálam ez a lista alapból így néz ki:

alias egrep='egrep --color=auto'

alias fgrep='fgrep --color=auto'

alias grep='grep --color=auto'

alias l='ls -CF'

alias la='ls -A'

alias ll='ls -alF'

alias ls='ls --color=auto'

Alias beállításához add ki a következő parancsot:

alias rövidnév=’a hosszú parancsodnak a paraméteresneve’

alias beállítás

alias nano=’nano –c –B’

Beállítottuk, hogy a nano szerkesztő sorszámozással és biztonsági mentéssel induljon.

Listázd ki az alias-okat és ott fogod látni az általad beírt sort is.
Próbáld ki. Hát nem csodálatos?!
Igen, de figyelem! Ahogy kiléptél a Shellből ez a sor eltűnik. :-(
Aggodalomra nincs ok! Most megmutatom, hogy tedd ezt véglegessé.
A rendszerben beállított, alias-ok a .bashrc fájlba vannak beégetve. Ebből a fájlból kettőt is találunk. Egy a /home/felhasználó könyvtárunkba és egy a /etc/ könyvtárba van. Ha megnézzük annak a fájlnak a tartalmát, ami a saját könyvtárunkba van, megtaláljuk az úgymond rendszerbe égetett alias-okat. Az új alias-okat akár elkezdheted ide is beírogatni. De ha figyelmesen átolvastad a fájlt, akkor látni fogod, hogy fel van készítve arra, hogy a saját alias gyűjteményedet beolvassa. Keresd meg a következő sorokat:

if [ -f ~/.bash_aliases ]; then

    . ~/.bash_aliases


Ha nem találod a fenti sorokat, akkor írd be.
Most hozzuk létre a .bash_aliases fájlt

nano  ~/.bash_aliases

Írjunk is be egy pár rövidítést:

alias cls=’clear’

A Windowsból megszokott képernyőtörlés.

Ezek után lépjünk ki, majd megint lépjünk vissza és ellenőrizzük, hogy milyen szépen hallgat a Linux a varázsszavakra.


It's in point of fact a nice and useful piece of info.
I'm satisfied that you simply shared this helpful information with us.

Please stay us informed like this. Thanks for sharing.

Feel free to surf to my page - best CBD oil for pain

As the admin of this web site is working, no hesitation very soon it will be famous, due to
its quality contents.

My homepage ... CBD oil for depression

If some one desires expert view concerning blogging afterward i advise him/her to visit this
website, Keep up the nice work.

Take a look at my webpage CBD oil for arthritis

Wonderful beat ! I would like to apprentice
at the same time as you amend your site, how
could i subscribe for a blog website? The account helped
me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright transparent idea

Feel free to visit my website :: Anal

Hi there it's me, I am also visitting this site on a regular basis, this website is really pleasant and the visitors are in fact sharing nice thoughts.

Here is my page :: Antalya vip transfers

Hi there colleagues, good paragraph and pleasant arguments commented here, I am truly enjoying by these.

my web page ... taller than you mamamoo live

Magnificent goods from you, man. I've understand your stuff previous to and you are just extremely great.

I really like what you have acquired here, really like what you are stating and the way in which

you say it. You make it enjoyable and you still care for to keep it smart.

I cant wait to read much more from you. This

is actually a great web site.

Look into my weblog - talleres

Hi there, its good paragraph concerning media print, we all understand media is a impressive source of data.

my website minecraft

First of all I want to say fantastic blog! I had a quick question that I'd like
to ask if you do not mind. I was curious to find out how you center yourself and clear your head prior to writing.

I've had a tough time clearing my mind in getting my thoughts out.
I do enjoy writing but it just seems like the first 10 to 15 minutes tend to be lost just trying to figure out
how to begin. Any ideas or tips? Kudos!

Here is my blog post CBD oil for arthritis

Hi friends, how is all, and what you would like to say

about this post, in my view its genuinely remarkable

designed for me.

Here is my website :: content hosting

Sexy2call Quick search and get the modern results

Get a massage escort girl, discrete apartment or any perfect and indulgent recreation. Trying

to find escort girls? Discrete apartments? Generate a quick search by


Wow that was odd. I just wrote an incredibly long comment but after I clicked submit my comment didn't show
up. Grrrr... well I'm not writing all that over again.
Anyhow, just wanted to say great blog!

Here is my web page: Webdesign blesdijke

May I just say what a comfort to uncover somebody that genuinely understands what they're talking about on the internet.

You certainly realize how to bring a problem to light and make it

important. More and more people ought to look at this and understand this side Tale of Ragnar Lodbrok your story.

It's surprising you aren't more popular because you certainly have the


Hey There. I discovered your blog the usage of

msn. This is an extremely smartly written article. I'll make

sure to bookmark it and return to read extra of your useful information. Thanks for the Shorter You Get post.

I will certainly comeback.

I'm gone to say to my little brother, that he should also visit
this web site on regular basis to take updated from latest information.

Have a look at my blog ... Funny Picture

Sexy2call - Quick search and

have the most up-to-date results Find a massage escort girl, discrete apartment

or any perfect and indulgent recreation. Interested in escort girls?

Discrete apartments? Produce a quick search by region

Hi there! This is my first visit to your blog! We are a group of volunteers
and starting a new initiative in a community in the same niche.
Your blog provided us beneficial information to work on.
You have done a marvellous job!

My webpage: Resurge review

Thank you for the auspicious writeup. It if truth be told was once a leisure account it.

Glance complicated to far delivered agreeable from you!

By the way, how can we keep in touch?

my site: Tallery Mountain

I delight in, lead to I discovered exactly what I was having a look for.

You've ended my 4 day lengthy hunt! God Bless you man. Have a great day.


My webpage ... Talluri Rameshwari

It's perfect time to make some plans heel lifts for sandals the future and it's time to be

happy. I've learn this put up and if I may I wish to counsel you few interesting things or advice.

Maybe you can write next articles relating to this article.

I wish to read even more things about it!

You can definitely see your expertise in the work you write.
The world hopes for even more passionate writers like you who are not afraid to mention how they believe.

At all times go after your heart.

Also visit my web-site; best CBD oil

It is not my first time to go to see this web page, i am browsing this website dailly and
take fastidious data from here everyday.

my blog :: best CBD oil

Howdy! Do you use Twitter? I'd like to follow you if that would be ok.

I'm definitely enjoying your blog and look forward to new updates.

Also visit my blog ... heel lifts zombies run

For most up-to-date news you have to visit the web and on world-wide-web I found this web
site as a best web site for latest updates.

My blog post :: best CBD gummies

Have you ever thought about adding a little bit more than just your articles?

I mean, what you say is fundamental and everything.

But think about if you added some great pictures or videos to

give your posts more, "pop"! Your content is excellent but with

pics and videos, this blog could certainly be one of the greatest

in its niche. Awesome blog!

my web site :: taller automotriz

WOW just what I was looking for. Came here by searching for Tatler (1709 journal)

Have a look at my page ... Talleres de Perico

Howdy would you mind letting me know which webhost you're using?

I've loaded your blog in 3 completely different web browsers and I must say this

blog loads a lot faster then most. Can you suggest a good web hosting

provider at a reasonable price? Thank you, I appreciate it!

Look into my web page Talleres (Monterrey Metro)

Thank you, I've recently been searching for information about this subject for a long time and yours is the greatest I have found out

till now. However, what concerning the conclusion? Are you

positive in regards to the source?

Also visit my weblog ... taller de afilar cabimas

Thank you for every other magnificent post. Where else could anybody get that type of information in such an ideal way of writing?

I've a presentation next week, and I am at The Tallest Man on Earth search for such info.

Howdy! Do you use Twitter? I'd like to follow

you if that would be okay. I'm undoubtedly enjoying your blog and look forward to new updates.

Check out my homepage - taller shoes

This is really interesting, You're a very skilled blogger.

I have joined your feed and look forward to seeking more of your fantastic post.

Also, I've shared your web site in my social networks!

Feel free to surf to my web site ... Tallest building on Earth

I am really inspired with your writing talents

and also with the structure in your weblog. Is this a paid topic or did you modify it yourself?

Anyway keep up the nice quality writing, it is uncommon to look a great weblog

like this one these days..

My website: shoe lifts for men

You really make it appear so easy along with your presentation however I find this matter to
be actually something that I think I might by no means understand.

It sort of feels too complex and extremely wide for me.
I am taking a look ahead in your next publish, I will attempt
to get the cling of it!

my blog post ... CBD oil for anxiety

Why users still make use of to read news papers when in this technological globe all is

presented on net?

Here is my blog ... shoe lifts for men 1 inch

Fantastic goods from you, man. I've understand your stuff previous

to and you are just extremely excellent. I actually like what you have acquired here, really like what you're stating and

the way in which you say it. You shoes that make you taller it entertaining and you still care for to

keep it smart. I can not wait to read far more from you.

This is actually a tremendous web site.

Sexy2call Quick search to get

the modern results Locate a massage escort girl, discrete apartment

or any perfect and indulgent recreation. Trying to find escort girls?

Discrete apartments? Make a quick search by region

high paying work from home jobs for beginners

ways to promote herbal supplements online

PharmEmpire affiliate registration fee

affiliate programs for pet health products

My page online pharmacy affiliate programs

I'd like to find out more? I'd love to find out some additional information.

my webpage: Free Online Dating

hello there and thank you for your information – I've definitely picked
up something new from right here. I did however expertise some technical points using
this site, since I experienced to reload the website many times previous to I could
get it to load correctly. I had been wondering if your hosting is OK?
Not that I'm complaining, but slow loading instances times will sometimes affect your placement in google and could
damage your quality score if ads and marketing with
Adwords. Anyway I'm adding this RSS to my email and could look out for a lot more of your respective exciting content.
Make sure you update this again very soon.

Here is my web blog; dr auto sales scottsdale arizona

Heya i am for the first time here. I found this board and I find
It truly useful & it helped me out a lot. I hope to give something back and help others like you aided me.

my site ... best CBD oil

My family every time say that I am wasting my time here at web, but I know I

am getting experience daily by reading thes nice posts.

Check out my weblog ... Tallegalla State School

I have been exploring for a little for any high-quality articles or weblog posts on this sort of house
. Exploring in Yahoo I ultimately stumbled upon this
web site. Reading this info So i am happy to express that I have an incredibly just right uncanny feeling I found
out just what I needed. I such a lot for sure will
make certain to don?t overlook this web site and give it a look regularly.

Look at my homepage: Juicy Pussy Lips

health blog product reviews

healthcare social media jobs from home

how to become a successful health blogger

virtual jobs

my web-site affiliate program reviews

Hi to every body, it's my first visit of this weblog; this webpage includes awesome and

really excellent material in favor of readers.

my page Taller de Gráfica Popular

I think this is among the most significant info for me.

And i'm glad reading your article. But wanna remark on some general things, The web site style is great, the articles is really

excellent : D. Good job, cheers

Also visit my web-site :: get taller

Hello, all is going perfectly here and ofcourse every one is
sharing facts, that's really good, keep up writing.

My blog post ::

Hi there! This is my first comment here so I just wanted to give a quick shout out
and tell you I really enjoy reading your blog posts.
Can you recommend any other blogs/websites/forums that
cover the same subjects? Thanks a ton!

Feel free to surf to my site - radio codes

Attractive component of content. I simply stumbled upon your site and in accession capital to assert that I get actually loved account your blog posts.

Anyway I will be subscribing for your augment or even I achievement you get right of entry to persistently quickly.

Check out my weblog; Apotek Online (Johnson)

Excellent post. I was checking constantly this blog and I am impressed!

Very helpful info particularly the last part :) I

care for such info much. I was seeking this particular information for a

long time. Thank you and good luck.

Take a look at my homepage chocolate

It's great that you are getting thoughts from this post as well as from our

dialogue made at this place.

My blog post; slimmer


Új hozzászólás

Filtered HTML

  • A webcímek és email címek automatikusan kattintható hivatkozásokká alakulnak.
  • Engedélyezett HTML jelölők: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.

Plain text

  • A HTML jelölők használata nem megengedett.
  • A webcímek és email címek automatikusan kattintható hivatkozásokká alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
Ezt a mezöt ember.fia nem.tölti ki.
Ez a művelet azért szükséges, mert nem szeretnék kéretlen bejegyzéseket az oldalra.
Írd be a képen látható karaktereket. Köszönöm.