how can I get my terminal to display MSU-[current date]-[current time]> using the bashrc? I want it to display my name the current date and the current time in the terminal. I have added a new PS1 line with that code in the gedit ~/.bashrc file but it isn't working. This is in the VMWARE workstation pro using ubuntu
editing .bashrc file to display name current date and time
748 views Asked by Anass E At
1
There are 1 answers
Related Questions in BASH
- When does Bash read heredocs?
- Why `set -o pipefail` gives different output even though the pipe is not failing
- Run an external command within jq to manipulate each values of a particular key
- API key 401 error in .env.development file
- How to "Enable mobile data" on a Huawei E3372 4G USB dongle using a bash script in Windows
- ImageMagick / Bash : pipe ignored(?) when filename format variable used
- MacOS Bash-Script: while read p and echo
- Parse command line arguments and write useful usage message without additional code
- JQ JSON - Values to Array
- why variable substitution is so different?
- postbank_pdf2csv: how to setup with Cygwin in Windows?
- Custom Bash functions & custom statements - Need some advice
- unexpected operator == in square brackets when trying to use gum lib
- How to disable a bash builtin inside a docker container
- Use sed or rename find series of alphabet then replace with with the same alphabet and a dash -
Related Questions in UBUNTU
- Error: local variable 'bramka' referenced before assignment
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Can't connect to local postgresql server from my docker container
- How to install libfuse2 on Ubuntu 22.04
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Can anyoone help me with this problem while trying to install hadoop on ubuntu?
- Ubuntu wsl2 in windows, my /etc/fonts/fonts.conf keeps reloading
- psutil.sensors.temperatures() only delivers {}
- Issue with [proxy_fcgi:error] [pid 1539011] (70007)The timeout specified has expired
- Viber is not working on Ubuntu 22.04 Jammy
- why is ubuntu 18.4 still showing as a linux subsystem when i have uninstalled it?
- Why when I want to open a folder from Visual Studio Code does the screen go crazy?
- What is this error when trying to update Ubuntu?
- Angular on IONOS(?) throws an error with npm
- Tensorflow can't find TensoRT
Related Questions in TERMINAL
- How to fix npm errors without writing sudo in macOS?
- using whisper in the terminal gives an error
- Ubuntu terminal unable to take in input and read directories
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Use `ffprobe` to display subtitle content like the `cat` command
- I am using the bash terminal in VS Code, I am new to coding, and the terminal displays very differently, how do I get them to match?
- Reading & Writing to the same file from terminal
- In VS Code, when sending Python lines to terminal, why do I have to re-send lines that set a variable to an edited value before the lines that use it?
- I tried installing Bagisto on a Pi, and I decided to uninstall it. Now, my PHPmyadmin doesn't work
- Create react app not working, file already exists with EEXIST error
- c++ python ctypes dependency issues
- Auto-activation of the conda environment in the terminal (ps, cmd, bash) in VS Code on Windows 11 does not work. How to solve this problem?
- Command Prompt/PowerShell Closing Automatically with Error -532462766/-1 in Visual Studio Code
- Output from sys.exit sometimes appears on terminal before output from print
- minikube not starting the service
Related Questions in DISPLAY
- I want to use NRF24L01 transceiver with raspberry pi but some GPIO pins are already occupied by 3.5 inch display how do i connect transceiver
- AR Image Display Issue
- I can't make the last line spread across in my display
- Bootstrap 5 display property on mobile devices
- Access Table ,setting in design ,column 'Catagory' as Combobox in lookup with list "Action";"War";"Drama". in vb.net DGV and Detail how to multiselct
- Delayed Display of an Updated Element
- Is windows OS in raspberry pi 5 can be controlled by using android mobile as display?
- How do I make a Hamburger menu cover the whole viewport when open
- Why the "[email protected]" goes to the next line? Even though i only display:block the span?
- CSS: Display block, first item is not aligned correctly
- Is there a way to unhide or edit the footer in Squarespace when the "hide footer" code was (accidentally) put into the footer?
- Databricks not displaying correct output
- Linux. Is it possible to work with the library Xorg in a service application?
- Vietnamese font
- How to vertically display two divs in a row in a 'display: table' container?
Related Questions in VMWARE-WORKSTATION
- VMWare bridged VM to 2 different physical networks
- Freezing the time and date of a Virtual Machine in VMware Workstation
- open-vm-tools copy/paste - vmtoolsd vmusr not running
- I need to recover my files in ubuntu virtual machine after the SSD crash. Only recent vmdk files available. How to recover VM?
- How to control VMWare's virtual machines' audio in c#?
- Even though I have disabled the Hyper -V key the VMWare is still crashing
- connecting with python to a mysql database that is on an ubuntu server (located on a virtual machine on the same computer)
- Can I run android emulator smoothly on my virtual machine with nested virtualization turned on?
- Direct path to migrate VMWare Workstation Pro VM to Azure?
- VMWare Error "Cannot change network to bridged" after update to 17.0.2
- Vscode issues in VMware
- Create VM Using Libvirt & KVM
- VMware Workstation and Hyper-V are not compatible, but I don’t have Hyper-V
- Unable to open "...\file.vmdk". The system cannot find the file specified
- docker compose does not create network and return : "ERROR no vni provided"
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You can use e.g. bashrcgenerator to generate PS1 with your wish elements, e.g. name, date, current folder etc.
Then paste it in to your
.bashrcand source it:E.g.: