Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • GenoMax
    replied
    That means things are not working right on your Mac for both (perhaps all accounts).

    At this point you could check a couple more locations from this thread (last post in the thread): https://discussions.apple.com/thread...art=0&tstart=0 Those are /etc/profile and /etc/bashrc.

    Note: I am still not sure how you managed to get your system into this state.

    I do need to warn you that we are approaching areas of the system that may lead to irreparable damage, if you did something wrong. Perhaps it is time to call upon a friend/colleague who may be more knowledgeable about the command line and show them the problem and this thread.

    Leave a comment:


  • zillur
    replied
    Thank you very much for your kind reply. Here is the line with new user. But...

    Mds-MacBook-Pro:desktop nemesisnemesis$ $ sudo cp -R /Users/ZILLURRAHMAN/Desktop/Bioinformatics /Users/nemesisnemesis/Desktop
    -bash: $: command not found
    Mds-MacBook-Pro:desktop nemesisnemesis$ cd
    Mds-MacBook-Pro:~ nemesisnemesis$ $ sudo cp -R /Users/ZILLURRAHMAN/Desktop/Bioinformatics /Users/nemesisnemesis/Desktop
    -bash: $: command not found

    Leave a comment:


  • GenoMax
    replied
    Originally posted by zillur View Post

    I added a new account and in this account everything is going fine. But I can't find any file from my previous account. I want to send all my files and folders from previous account to new account. Can you suggest me how can I do it?

    Regards
    Zillur
    In the new account do the following (hopefully you have enough storage available to duplicate the data temporarily). This is only copying the "Bioinformatics" folder from /Users/ZILLURRAHMAN/Desktop/, repeat for anything else you need:

    Code:
    $ sudo cp -R /Users/ZILLURRAHMAN/Desktop/Bioinformatics /Users/Current_Acct_Name/Desktop
    That hopefully should copy everything over to the desktop of the new account. You will need to adjust PATH etc to account for the new account, when you run the programs.

    If you are not using "time machine" to keep a backup of your computer do yourself a favor and set this up first thing tomorrow. Get an external drive and get time machine backups going. That way you can roll back a mistake easily.

    Leave a comment:


  • zillur
    replied
    Thank you very much to you all for your helping hand.
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ source ~/.bash_profile
    -bash: $: command not found

    I added a new account and in this account everything is going fine. But I can't find any file from my previous account. I want to send all my files and folders from previous account to new account. Can you suggest me how can I do it?

    Regards
    Zillur

    Leave a comment:


  • GenoMax
    replied
    @Zillur: Reboot your Mac before doing anything (e.g. adding an account). With a mac you may just be used to closing the lid and resuming your work. Opening a new terminal window (apple + t) may be enough as blancha mentions but just to be sure reboot (if you have indeed fixed your PATH variable).

    Leave a comment:


  • blancha
    replied
    I don't think you know that you need to open a new Terminal window, or type
    source ~/.bash_profile
    for the changes to the .bash_profile file to take effect.

    You simply edited the .bash_profile file.

    As far as I can see, you didn't open a new Terminal window or source the .bash_profile file.

    Once you do open a new Terminal window or source the .bash_profile file, the changes will take effect, and your PATH environment variable will be updated.

    Leave a comment:


  • GenoMax
    replied
    Originally posted by zillur View Post
    Thank you very much. I don't know how to create a new user account. Can give me instructions to create a new user account.

    Leave a comment:


  • zillur
    replied
    Thank you very much. I don't know how to create a new user account. Can give me instructions to create a new user account.

    Leave a comment:


  • GenoMax
    replied
    Can you create a new user account with administrative privileges and see if you are able to get around the problems you are facing with this account? That would also verify that you don't have some other fundamental problem with your OS.

    If the new account works properly then we can copy the programs/data over to the new account.

    Leave a comment:


  • zillur
    replied
    Thank you very much. Now I can open the vi editor with /usr/bin/vi a window open containing : ~
    ~ VIM - Vi IMproved
    ~
    ~ version 7.3
    ~ by Bram Moolenaar et al.
    ~ Vim is open source and freely distributable
    ~
    ~ Help poor children in Uganda!
    ~ type :help iccf<Enter> for information
    ~
    ~ type :q<Enter> to exit
    ~ type :help<Enter> or <F1> for on-line help
    ~ type :help version7<Enter> for version info
    ~
    Then I was setting path :
    export PATH=“/Users/ZILLURRAHMAN/Desktop/Bioinformatics/Bow-tie/bowtie2-2.2.3/:$PATH” and this was my previously setted path. But still it is not working. I think somehow I replaced this path by
    “users/ZILLURRAHMAN/desktop/bioinformatics/bow-tie/bowtie2-2.2.3/BT2_HOME:??
    As I am very new in command line I am making mistakes. Sorry guys I am giving you too much pain.

    I can't use http://www.tech-recipes.com/rx/2618/...with_textedit/ this link cause my open command also not working.

    [6]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ /usr/bin/vim

    [7]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ ls
    -bash: ls: command not found
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ /usr/bin/vim

    [8]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ open .profile
    -bash: open: command not found
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ open -a TextEdit .profile
    -bash: open: command not found
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ cd
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ /usr/bin/vim

    [9]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ /usr/bin/vim

    [10]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ echo $PATH
    “users/ZILLURRAHMAN/desktop/bioinformatics/bow-tie/bowtie2-2.2.3/BT2_HOME:??

    May be I am missing something very fundamental line...........

    Leave a comment:


  • GenoMax
    replied
    Originally posted by zillur View Post
    Thank you very much. But how I open the vi editor to reset the path? as my my vi/vim command also not working.
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ vi
    -bash: vi: command not found
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ vim
    -bash: vim: command not found
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ -vi
    -bash: -vi: command not found
    Mds-MacBook-Pro:~ ZILLURRAHMAN$
    Use blancha's advice above or use a visual editor to make/edit the file (textedit). See: http://www.tech-recipes.com/rx/2618/...with_textedit/

    Leave a comment:


  • blancha
    replied
    Just type the full path to vi or vim.
    It should be:
    /usr/bin/vi
    or
    /usr/bin/vim

    Leave a comment:


  • zillur
    replied
    Thank you very much. But how I open the vi editor to reset the path? as my my vi/vim command also not working.
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ vi
    -bash: vi: command not found
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ vim
    -bash: vim: command not found
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ -vi
    -bash: -vi: command not found
    Mds-MacBook-Pro:~ ZILLURRAHMAN$

    Leave a comment:


  • GenoMax
    replied
    See if you are able to fix it with this: http://superuser.com/questions/60570...und-on-mac-osx Adjust additional values for PATH as needed.

    Leave a comment:


  • zillur
    replied
    Hi,
    Thank you very much. Here I got an unusual problem. In my terminal basic commands are not found like:

    mds-macbook-pro:~ ZILLURRAHMAN$ ls
    -bash: ls: command not found
    mds-macbook-pro:~ ZILLURRAHMAN$ env
    -bash: env: command not found
    mds-macbook-pro:~ ZILLURRAHMAN$ edit
    -bash: edit: command not found
    mds-macbook-pro:~ ZILLURRAHMAN$ open
    -bash: open: command not found
    mds-macbook-pro:~ ZILLURRAHMAN$ vi
    -bash: vi: command not found
    mds-macbook-pro:~ ZILLURRAHMAN$ tail
    -bash: tail: command not found
    mds-macbook-pro:~ ZILLURRAHMAN$ ls
    -bash: ls: command not found
    But echo is working. Like: mds-macbook-pro:~ ZILLURRAHMAN$ echo $PATH
    “users/ZILLURRAHMAN/desktop/bioinformatics/bow-tie/bowtie2-2.2.3/BT2_HOME:??

    I can call up programs like pico using their full path like /usr/bin/pico.
    Then a new window open
    The header:GNU nano 2.0.6 New Buffer

    The footer: ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
    ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell

    But these ^G/^O/^R/^Y.... anything is not working.

    I guess the issue is that my PATH is messed up. How can I get back my path?

    Leave a comment:

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
27 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
34 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-13-2026, 09:56 AM
0 responses
31 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-09-2026, 11:14 AM
0 responses
28 views
0 reactions
Last Post SEQadmin2  
Working...