Score:0

How to add a line into .bashrc? I'm new to Ubuntu system

How do the following instructions follow in Ubuntu system? Add following line into ~/.bashrc or ~/.cshrc or ~/.tcshrc.

 ulimit -s unlimited
Score:5
us flag

Open file manager and press ctrl + h to show hidden files.

Then, double click the .bashrc file to open it (by default, Ubuntu uses bash, and you would not find ~/.cshrc or ~/.tcshrc). Alternatively, right click on it to open it with the text editor.

Now add the line you need to add, and save the file. Close this terminal and open a new terminal for the changes to take effect (alternatively, enter the command source .bashrc, if you don't want to open a new terminal).

Pshtiwan Gharib Ali Abdalrahma avatar
Thanks in advance
vanadium avatar
cn flag
It is enough to close any terminals and reopen one. Logging out then back in would already be overkill, leave alone restarting the computer.
us flag
@vanadium I did not know that. Thanks
vanadium avatar
cn flag
@ArchismanPanigrahi I suggest that, accordingly, you edit your answer and remove the line "Restart the computer". The "Warning" is not specific to this question - I suggest you remove that too.
us flag
@vanadium I have edited as you suggested
vanadium avatar
cn flag
Perfect! Already upvoted yesterday.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.