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.

alias

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

fi

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.
 

Hozzászólások

We're having coffee at Nylon Coffee Roasters on Everton Park in Singapore.

I'm having black coffee, he's which has a cappuccino.

They're handsome. Brown hair slicked back, glasses that suited his face, hazel

eyes and the most amazing lips I've seen. He is well-built, with incredible arms

including a chest that stands out with this sweater.

We're standing in front of each other speaking about people,

what we want money for hard times, what we're seeking on another person. He starts saying that he's been rejected plenty of times.

‘Why Andrew? You're so handsome. I'd never reject

you ', I only say He smiles at me, biting his lip.

‘Oh, I do not know. Everything happens for grounds right.

But inform me, would you reject me, might you Ana?' He said.

‘No, how could I?' , I replied

"So, would you mind if I kissed you currently?' he was quoted saying as I recieve more detailed him and kiss him.

‘The next time don't ask, function it.' I reply.

‘I like how you think.' , he said.

For now, I start scrubbing my high heel in the leg, massaging it slowly. ‘What exactly do you want in females? And, Andrew, don't spare me the details.' I ask.

‘I really like determined women. Someone discussion what you want. Someone who won't say yes simply because I said yes. Someone who's not scared of attempting a new challenge,' he says. ‘I'm never afraid of attempting new things, especially when it comes to making interesting things in the sack ', I intimate ‘And I enjoy women that are direct, who cut through the chase, like you merely did. For being

honest, that is a huge turn on.

Also visit my blog :: דירות דיסקרטיות - https://5escortgirls.com/%D7%93%D7%99%D7%A8%D7%95%D7%AA-%D7%93%D7%99%D7%...

obviously like your website but you need to check

the spelling on quite a few of your posts. A number of

them are rife with spelling problems and I find it very troublesome to tell the reality however I will surely come back again.

Feel free to surf to my blog post: Rubber

Why viewers still make use of to read news papers when in this

technological globe all is available on web?

Have a look at my webpage :: tom cruise shoe lifts

We're having coffee at Nylon Coffee Roasters on Everton Park in Singapore.

I'm having black coffee, he's which has a cappuccino. He is

handsome. Brown hair slicked back, glasses that are great for his face,

hazel eyes and the most wonderful lips I've seen. They're well built,

with incredible arms and a chest that stands apart with this sweater.

We're standing in front of one another speaking about how we live,

what we want into the future, what we're trying to find on another person. He

starts telling me that he's been rejected a great deal of times.

‘Why Andrew? You're so handsome. I'd never reject

you ', I have faith that He smiles at me, biting

his lip.

‘Oh, I can't know. Everything happens for an excuse right.

But figure out, can you reject me, can you Ana?' He said.

‘No, how could I?' , I replied

"So, utilize mind if I kissed you today?' he said as I purchase more detailed him and kiss him.

‘Next occasion don't ask, do it.' I reply.

‘I favor how we think.' , he said.

For the time being, I start scrubbing my high heel as part of his leg, massaging it slowly. ‘So what can you enjoy in ladies? And, Andrew, don't spare me the details.' I ask.

‘Everyone loves determined women. Someone you never know what you want. Someone who won't say yes even if I said yes. Someone who's not scared of attempting new things,' he says. ‘I'm never afraid of attempting a new challenge, especially on the subject of making interesting things in the bed room ', I intimate ‘And I enjoy women that are direct, who cut with the chase, like you may did. To generally be

honest, what a huge turn on.

my page :: דירה דיסקרטיות

This is my first time pay a visit at here and i am actually pleassant to read all at alone place.

Feel free to surf to my homepage :: taller shoes men

I enjoy what you guys are usually up too. This sort of

clever work and coverage! Keep up the very good works guys I've

incorporated you guys to my personal blogroll.

Also visit my website :: Tatler

It is really a great and helpful piece of info. I am glad

that you just shared this helpful information with us.

Please keep us up to date like this. Thanks for sharing.

Here is my homepage shoe lifts target

What's up Dear, are you really visiting this web site on a regular basis, if so after that

you will absolutely get pleasant know-how.

Also visit my weblog :: shoe lifts inserts

Nice post. I was checking continuously this blog and

I'm impressed! Extremely useful info specially the last part :

) I care for such information a lot. I was seeking this certain info for a very long time.

Thank you and best of luck.

Also visit my blog; gw heel lifts

Hey there! I just wanted to ask if you ever have any trouble with hackers?

My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no back up.

Do you have any methods to prevent hackers?

Also visit my web site: taller shoes men

Do you know what the most popular Halloween costumes are for 2018?

Check out http://destyy.com/wZ21KY and see what they are.
You’re really going to be surprised by number nine.
It’s definitely one you’re not going to forget any time soon.

I couldn't refrain from commenting. Well written!

My page :: profile

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

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

gift.

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 - https://sexy2call.com/escortsgirls/%D7%A0%D7%A2%D7%A8%D7%95%D7%AA-%D7%9C... 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

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.

Bye

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!

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

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

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

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

my webpage: Free Online Dating

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

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

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

Pretty section of content. I just stumbled upon your web site and in accession capital to assert

that I get taller in english fact enjoyed account your blog posts.

Anyway I'll be subscribing to your augment and even I achievement you

access consistently quickly.

This design is incredible! You definitely know how to

keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well,

almost...HaHa!) Fantastic job. I really enjoyed what you had to say, and more than that, how you presented it.

Too cool!

Feel free to surf to my page :: Shoplifts

It's awesome for me to have a website, which is beneficial heel lifts in boots favor

of my know-how. thanks admin

of course like your website however you need younger 21 days to a foam roller physique

check the spelling on several of your posts.

A number of them are rife with spelling issues and I in finding it very bothersome to inform the truth

however I will surely come back again.

I'm really enjoying the design and layout of your site. It's a very easy

on the eyes which makes it much more pleasant

for me to come here and visit more often. Did you hire out a developer to create your theme?

Excellent work!

My site Zarrin Dasht

Greetings! Very helpful advice within this post!

It's the little changes that produce the greatest changes.

Many thanks for sharing!

Have a look at my web site - heel lifts walmart

I visit everyday some web pages and sites to read posts, except this website provides quality based

content.

Feel free to visit my blog ... Tallensi

Thanks in favor of sharing such a fastidious idea, piece of writing is good, thats why i

have read it completely

my web blog - Tally stick

Oldalak

Ú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.
CAPTCHA
Ez a művelet azért szükséges, mert nem szeretnék kéretlen bejegyzéseket az oldalra.
Kép CAPTCHA
Írd be a képen látható karaktereket. Köszönöm.